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.002927/0.002927, allocations: 95.61 kB / 20.96 MB, free: 3.457 MB / 18.57 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.00343/0.00343, allocations: 161.3 kB / 24.27 MB, free: 152 kB / 18.57 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.604/1.604, allocations: 177.1 MB / 204.6 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] 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.653e-06/1.653e-06, allocations: 0 / 272.3 MB, free: 1.855 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.139e-05/3.304e-05, allocations: 2.312 kB / 272.3 MB, free: 1.852 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.002894/0.002927, allocations: 1.454 MB / 273.8 MB, free: 400 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003124/0.00324, allocations: 99.67 kB / 273.9 MB, free: 300 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.623e-05/0.003296, allocations: 0 / 273.9 MB, free: 300 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.71e-05/0.003323, allocations: 7.938 kB / 273.9 MB, free: 292 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 5.01e-05/0.003373, allocations: 11.88 kB / 273.9 MB, free: 280 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002352/0.003609, allocations: 19.97 kB / 273.9 MB, free: 260 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 8.553e-05/0.003694, allocations: 23.92 kB / 273.9 MB, free: 236 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.003795, allocations: 8 kB / 273.9 MB, free: 228 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.712e-05/0.003852, allocations: 15.97 kB / 274 MB, free: 212 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.475e-05/0.003897, allocations: 11.92 kB / 274 MB, free: 200 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.405e-05/0.003921, allocations: 4 kB / 274 MB, free: 196 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.037e-06/0.00393, allocations: 0 / 274 MB, free: 196 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.852e-05/0.003948, allocations: 4 kB / 274 MB, free: 192 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.283e-05/0.003981, allocations: 11.94 kB / 274 MB, free: 180 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001024/0.004084, allocations: 31.83 kB / 274 MB, free: 148 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.77e-06/0.004089, allocations: 4 kB / 274 MB, free: 144 kB / 250.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.00409, allocations: 0 / 274 MB, free: 144 kB / 250.7 MB Notification: Performance of Transformations before backend: time 5.01e-06/0.004095, allocations: 0 / 274 MB, free: 144 kB / 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.0005343/0.00463, allocations: 368.2 kB / 274.4 MB, free: 15.74 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.004669, allocations: 8.031 kB / 274.4 MB, free: 15.73 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.36e-05/0.004712, allocations: 8.891 kB / 274.4 MB, free: 15.73 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001917/0.004904, allocations: 120.6 kB / 274.5 MB, free: 15.58 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.558e-06/0.004914, allocations: 384 / 274.5 MB, free: 15.58 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.589e-05/0.004929, allocations: 16.36 kB / 274.5 MB, free: 15.57 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003109/0.00524, allocations: 105.5 kB / 274.6 MB, free: 15.45 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.363e-06/0.005248, allocations: 192 / 274.6 MB, free: 15.45 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.434e-06/0.005255, allocations: 384 / 274.6 MB, free: 15.45 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.005262, allocations: 4.375 kB / 274.6 MB, free: 15.45 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.801e-05/0.00534, allocations: 19.86 kB / 274.7 MB, free: 15.43 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001613/0.005501, allocations: 116.6 kB / 274.8 MB, free: 15.28 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001645/0.005665, allocations: 62.98 kB / 274.8 MB, free: 15.2 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.245e-05/0.005728, allocations: 23.75 kB / 274.9 MB, free: 15.18 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.82e-05/0.005756, allocations: 4 kB / 274.9 MB, free: 15.17 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.206e-05/0.005788, allocations: 33.39 kB / 274.9 MB, free: 15.13 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 7.71e-07/0.005789, allocations: 0 / 274.9 MB, free: 15.13 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002203/0.006009, allocations: 69.61 kB / 275 MB, free: 15.05 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002961/0.006305, allocations: 55.41 kB / 275 MB, free: 14.99 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001403/0.006446, allocations: 173.9 kB / 275.2 MB, free: 14.8 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.922e-05/0.006465, allocations: 29.7 kB / 275.2 MB, free: 14.77 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.731e-05/0.006542, allocations: 134.9 kB / 275.3 MB, free: 14.63 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.425e-06/0.006544, allocations: 0 / 275.3 MB, free: 14.63 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.539e-05/0.00658, allocations: 19.38 kB / 275.4 MB, free: 14.6 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002585/0.006838, allocations: 496.1 kB / 275.8 MB, free: 14.11 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.468e-06/0.006843, allocations: 0 / 275.8 MB, free: 14.11 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.969e-06/0.006848, allocations: 3.984 kB / 275.9 MB, free: 14.1 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.603e-05/0.006914, allocations: 123.2 kB / 276 MB, free: 13.98 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.27e-05/0.006977, allocations: 119.2 kB / 276.1 MB, free: 13.86 MB / 266.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.257e-05/0.007039, allocations: 29.64 kB / 276.1 MB, free: 13.83 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.01e-05/0.007109, allocations: 127.2 kB / 276.2 MB, free: 13.7 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.379e-05/0.007173, allocations: 119.2 kB / 276.4 MB, free: 13.59 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001316/0.007305, allocations: 246.3 kB / 276.6 MB, free: 13.34 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.169e-05/0.007366, allocations: 123.2 kB / 276.7 MB, free: 13.22 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001255/0.007492, allocations: 242.6 kB / 277 MB, free: 12.98 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001065/0.007598, allocations: 131 kB / 277.1 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.463e-05/0.007663, allocations: 127.2 kB / 277.2 MB, free: 12.73 MB / 266.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 0.0001687/0.007832, allocations: 271.8 kB / 277.5 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001128/0.007944, allocations: 61.58 kB / 277.5 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.676e-05/0.007981, allocations: 8 kB / 277.5 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.007983, allocations: 0 / 277.5 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.816e-06/0.007985, allocations: 0 / 277.5 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.72e-06/0.007991, allocations: 7.938 kB / 277.6 MB, free: 12.37 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001167/0.008108, allocations: 116.6 kB / 277.7 MB, free: 12.22 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.008111, allocations: 0 / 277.7 MB, free: 12.22 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.931e-05/0.00819, allocations: 8.234 kB / 277.7 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.008193, allocations: 0 / 277.7 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/0.008199, allocations: 0 / 277.7 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/0.008204, allocations: 7.922 kB / 277.7 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.008205, allocations: 0 / 277.7 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001677/0.008373, allocations: 104.3 kB / 277.8 MB, free: 12.08 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.449e-05/0.008387, allocations: 7.891 kB / 277.8 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.471e-05/0.008402, allocations: 8 kB / 277.8 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.317e-05/0.008425, allocations: 4 kB / 277.8 MB, free: 12.06 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.434e-06/0.008427, allocations: 0 / 277.8 MB, free: 12.06 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.882e-06/0.008434, allocations: 3.984 kB / 277.8 MB, free: 12.06 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.159e-05/0.008516, allocations: 123.2 kB / 277.9 MB, free: 11.94 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.008516, allocations: 0 / 277.9 MB, free: 11.94 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002175/0.008733, allocations: 8 kB / 277.9 MB, free: 11.93 MB / 266.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.0001404/0.008874, allocations: 99.19 kB / 278 MB, free: 11.82 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.638e-05/0.00896, allocations: 11.98 kB / 278 MB, free: 11.81 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.008962, allocations: 4 kB / 278 MB, free: 11.8 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.61e-07/0.008962, allocations: 0 / 278 MB, free: 11.8 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002428/0.009205, allocations: 21.09 kB / 278.1 MB, free: 11.78 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003109/0.009516, allocations: 125.1 kB / 278.2 MB, free: 11.63 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.118e-05/0.009587, allocations: 63.34 kB / 278.3 MB, free: 11.55 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.112e-05/0.009598, allocations: 0 / 278.3 MB, free: 11.55 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.981e-05/0.009628, allocations: 8.5 kB / 278.3 MB, free: 11.54 MB / 266.7 MB Notification: Performance of SimCode: time 5.31e-07/0.009629, allocations: 0 / 278.3 MB, free: 11.54 MB / 266.7 MB Notification: Performance of Templates: time 0.002836/0.01247, allocations: 306.7 kB / 278.6 MB, free: 11.24 MB / 266.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 -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.470000084955245]