Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001212/0.001212, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001151/0.002364, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008163/0.0008163, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001349/0.002165, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.022/1.022, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1006/1.123, allocations: 53.66 MB / 243.4 MB, free: 15.52 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 244.7 MB, free: 14.25 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.711e-05/2.86e-05, allocations: 5.688 kB / 244.7 MB, free: 14.25 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.003352/0.00338, allocations: 1.552 MB / 246.2 MB, free: 12.68 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002257/0.003606, allocations: 108.3 kB / 246.3 MB, free: 12.57 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.997e-05/0.003686, allocations: 4 kB / 246.4 MB, free: 12.57 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.773e-05/0.003724, allocations: 3.938 kB / 246.4 MB, free: 12.56 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 3.945e-05/0.003763, allocations: 3.938 kB / 246.4 MB, free: 12.56 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000206/0.003969, allocations: 27.84 kB / 246.4 MB, free: 12.53 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001167/0.004086, allocations: 23.92 kB / 246.4 MB, free: 12.51 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.636e-05/0.004182, allocations: 4 kB / 246.4 MB, free: 12.5 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.036e-05/0.004263, allocations: 23.92 kB / 246.4 MB, free: 12.48 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.303e-05/0.004316, allocations: 11.98 kB / 246.5 MB, free: 12.47 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.663e-05/0.004342, allocations: 0 / 246.5 MB, free: 12.47 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.312e-05/0.004355, allocations: 4 kB / 246.5 MB, free: 12.46 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.138e-05/0.004387, allocations: 7.938 kB / 246.5 MB, free: 12.46 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.218e-05/0.004409, allocations: 4 kB / 246.5 MB, free: 12.45 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000104/0.004513, allocations: 19.91 kB / 246.5 MB, free: 12.43 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.17e-05/0.004525, allocations: 0 / 246.5 MB, free: 12.43 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.004526, allocations: 0 / 246.5 MB, free: 12.43 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.005e-05/0.004546, allocations: 0 / 246.5 MB, free: 12.43 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004054/0.004951, allocations: 252.6 kB / 246.7 MB, free: 12.16 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.004995, allocations: 12.03 kB / 246.7 MB, free: 12.15 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.573e-05/0.005031, allocations: 4.922 kB / 246.7 MB, free: 12.14 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001932/0.005224, allocations: 125.6 kB / 246.9 MB, free: 12 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.856e-06/0.005233, allocations: 4.375 kB / 246.9 MB, free: 11.99 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.153e-05/0.005244, allocations: 384 / 246.9 MB, free: 11.99 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002336/0.005478, allocations: 100.6 kB / 247 MB, free: 11.88 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.824e-05/0.005496, allocations: 8.172 kB / 247 MB, free: 11.87 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.005505, allocations: 4.375 kB / 247 MB, free: 11.87 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.005511, allocations: 384 / 247 MB, free: 11.87 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.81e-05/0.005539, allocations: 11.92 kB / 247 MB, free: 11.86 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.511e-05/0.005624, allocations: 53.05 kB / 247.1 MB, free: 11.79 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.378e-05/0.005718, allocations: 34.56 kB / 247.1 MB, free: 11.75 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.609e-05/0.005744, allocations: 12.8 kB / 247.1 MB, free: 11.73 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.093e-05/0.005765, allocations: 4 kB / 247.1 MB, free: 11.73 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.466e-05/0.00579, allocations: 34.56 kB / 247.1 MB, free: 11.68 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.005791, allocations: 0 / 247.1 MB, free: 11.68 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.000141/0.005932, allocations: 45.69 kB / 247.2 MB, free: 11.63 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.26e-05/0.005984, allocations: 59.41 kB / 247.2 MB, free: 11.56 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.084e-05/0.006065, allocations: 106.7 kB / 247.3 MB, free: 11.45 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.248e-05/0.006077, allocations: 29.7 kB / 247.4 MB, free: 11.41 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.79e-05/0.006105, allocations: 80.14 kB / 247.4 MB, free: 11.33 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.624e-06/0.006107, allocations: 0 / 247.4 MB, free: 11.33 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.576e-05/0.006133, allocations: 21.64 kB / 247.5 MB, free: 11.3 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001026/0.006235, allocations: 322.7 kB / 247.8 MB, free: 10.98 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.928e-06/0.006239, allocations: 0 / 247.8 MB, free: 10.98 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.05e-06/0.006244, allocations: 0 / 247.8 MB, free: 10.98 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.153e-05/0.006276, allocations: 75.28 kB / 247.9 MB, free: 10.9 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.521e-05/0.006301, allocations: 79.28 kB / 247.9 MB, free: 10.82 MB / 250.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.582e-05/0.006357, allocations: 29.7 kB / 248 MB, free: 10.79 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.718e-05/0.006404, allocations: 83.28 kB / 248 MB, free: 10.71 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.877e-05/0.006433, allocations: 79.22 kB / 248.1 MB, free: 10.63 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.362e-05/0.006496, allocations: 158.6 kB / 248.3 MB, free: 10.47 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.611e-05/0.006523, allocations: 79.27 kB / 248.4 MB, free: 10.39 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-05/0.006578, allocations: 158.5 kB / 248.5 MB, free: 10.24 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.396e-05/0.006642, allocations: 75.28 kB / 248.6 MB, free: 10.16 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.418e-05/0.006666, allocations: 79.22 kB / 248.7 MB, free: 10.09 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.475e-05/0.006761, allocations: 189.1 kB / 248.8 MB, free: 9.891 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.86e-05/0.006829, allocations: 41.69 kB / 248.9 MB, free: 9.844 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.481e-05/0.006864, allocations: 8 kB / 248.9 MB, free: 9.836 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.006868, allocations: 4 kB / 248.9 MB, free: 9.832 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.923e-06/0.00687, allocations: 0 / 248.9 MB, free: 9.832 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.006873, allocations: 0 / 248.9 MB, free: 9.832 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.609e-05/0.006939, allocations: 73.81 kB / 249 MB, free: 9.742 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.006944, allocations: 0 / 249 MB, free: 9.742 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.884e-05/0.007043, allocations: 8 kB / 249 MB, free: 9.734 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.898e-06/0.007052, allocations: 3.953 kB / 249 MB, free: 9.73 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.007056, allocations: 240 / 249 MB, free: 9.73 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.853e-05/0.007084, allocations: 3.984 kB / 249 MB, free: 9.727 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.007087, allocations: 4 kB / 249 MB, free: 9.723 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.00709, allocations: 7.938 kB / 249 MB, free: 9.715 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.485e-05/0.007145, allocations: 61.06 kB / 249.1 MB, free: 9.637 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.898e-06/0.007155, allocations: 256 / 249.1 MB, free: 9.637 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.992e-05/0.007175, allocations: 0 / 249.1 MB, free: 9.637 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.058e-06/0.007179, allocations: 4 kB / 249.1 MB, free: 9.633 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.374e-06/0.007186, allocations: 4 kB / 249.1 MB, free: 9.629 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.313e-05/0.00721, allocations: 12.84 kB / 249.1 MB, free: 9.613 MB / 250.7 MB Notification: Performance of sort global known variables: time 8e-08/0.00721, allocations: 0 / 249.1 MB, free: 9.613 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001768/0.007386, allocations: 0 / 249.1 MB, free: 9.613 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (step.y,assignClock1.u,assignClock1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001291/0.007516, allocations: 80.42 kB / 249.2 MB, free: 9.523 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 6.273e-05/0.007578, allocations: 15.94 kB / 249.2 MB, free: 9.508 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.007584, allocations: 7.922 kB / 249.2 MB, free: 9.5 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 6.41e-07/0.007584, allocations: 0 / 249.2 MB, free: 9.5 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000158/0.007742, allocations: 19.84 kB / 249.2 MB, free: 9.48 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004689/0.008211, allocations: 119.3 kB / 249.3 MB, free: 9.34 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.282e-05/0.008254, allocations: 59.34 kB / 249.4 MB, free: 9.262 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.415e-05/0.008268, allocations: 0 / 249.4 MB, free: 9.262 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.895e-05/0.008357, allocations: 47.38 kB / 249.4 MB, free: 9.215 MB / 250.7 MB Notification: Performance of SimCode: time 7.22e-07/0.008358, allocations: 4 kB / 249.4 MB, free: 9.211 MB / 250.7 MB Notification: Performance of Templates: time 0.002336/0.01069, allocations: 327.4 kB / 249.7 MB, free: 8.895 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TimeBasedStep/TimeBasedStep.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.735895932652056]