Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009854/0.0009854, allocations: 82.28 kB / 22.21 MB, free: 2.293 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00159/0.00159, allocations: 146 kB / 25.59 MB, free: 8.605 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9696/0.9696, allocations: 173.4 MB / 202.2 MB, free: 8.316 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.585e-06/2.585e-06, allocations: 0 / 269.2 MB, free: 9.793 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.235e-05/2.494e-05, allocations: 2.312 kB / 269.2 MB, free: 9.789 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.001797/0.001821, allocations: 1.467 MB / 270.7 MB, free: 8.328 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002117/0.002033, allocations: 105.8 kB / 270.8 MB, free: 8.227 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.236e-05/0.002086, allocations: 4 kB / 270.8 MB, free: 8.223 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.3e-05/0.002109, allocations: 7.922 kB / 270.8 MB, free: 8.215 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 3.255e-05/0.002141, allocations: 3.984 kB / 270.8 MB, free: 8.211 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001738/0.002315, allocations: 15.94 kB / 270.8 MB, free: 8.195 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 6.895e-05/0.002384, allocations: 32.62 kB / 270.8 MB, free: 8.164 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.68e-05/0.002461, allocations: 7.984 kB / 270.8 MB, free: 8.156 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.779e-05/0.002508, allocations: 13 kB / 270.8 MB, free: 8.145 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.368e-05/0.002532, allocations: 7.984 kB / 270.8 MB, free: 8.137 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.758e-05/0.00255, allocations: 4 kB / 270.9 MB, free: 8.133 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.302e-06/0.002556, allocations: 0.7812 kB / 270.9 MB, free: 8.133 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.694e-05/0.002573, allocations: 7.938 kB / 270.9 MB, free: 8.125 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.997e-05/0.002593, allocations: 9.234 kB / 270.9 MB, free: 8.117 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 6.678e-05/0.00266, allocations: 23.86 kB / 270.9 MB, free: 8.094 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.002663, allocations: 3.984 kB / 270.9 MB, free: 8.09 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.002663, allocations: 2.969 kB / 270.9 MB, free: 8.09 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.038e-06/0.002667, allocations: 0 / 270.9 MB, free: 8.09 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.0002918/0.002959, allocations: 364.6 kB / 271.3 MB, free: 7.695 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.002997, allocations: 8.031 kB / 271.3 MB, free: 7.688 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.867e-05/0.003026, allocations: 4.938 kB / 271.3 MB, free: 7.684 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001498/0.003175, allocations: 132.5 kB / 271.4 MB, free: 7.527 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/0.003189, allocations: 384 / 271.4 MB, free: 7.527 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.464e-06/0.003196, allocations: 5.312 kB / 271.4 MB, free: 7.523 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001468/0.003343, allocations: 99.48 kB / 271.5 MB, free: 7.41 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.26e-06/0.003348, allocations: 192 / 271.5 MB, free: 7.41 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.881e-06/0.003354, allocations: 1.844 kB / 271.5 MB, free: 7.41 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.003358, allocations: 384 / 271.5 MB, free: 7.41 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.8e-05/0.003376, allocations: 11.92 kB / 271.5 MB, free: 7.398 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.392e-05/0.00345, allocations: 97.27 kB / 271.6 MB, free: 7.277 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.049e-05/0.00351, allocations: 47.64 kB / 271.7 MB, free: 7.219 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.098e-05/0.003531, allocations: 12.22 kB / 271.7 MB, free: 7.203 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.14e-05/0.003543, allocations: 3.984 kB / 271.7 MB, free: 7.199 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.004e-05/0.003563, allocations: 45.92 kB / 271.7 MB, free: 7.145 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 7.11e-07/0.003563, allocations: 4 kB / 271.7 MB, free: 7.141 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 8.593e-05/0.003649, allocations: 37.7 kB / 271.8 MB, free: 7.098 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.525e-05/0.003685, allocations: 67.33 kB / 271.8 MB, free: 7.02 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.278e-05/0.003747, allocations: 161.9 kB / 272 MB, free: 6.844 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.598e-06/0.003757, allocations: 25.7 kB / 272 MB, free: 6.812 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.422e-05/0.003791, allocations: 130.9 kB / 272.1 MB, free: 6.68 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.202e-06/0.003792, allocations: 4 kB / 272.1 MB, free: 6.676 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.071e-05/0.003813, allocations: 19.36 kB / 272.2 MB, free: 6.648 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.00393, allocations: 496.1 kB / 272.6 MB, free: 6.152 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.715e-06/0.003932, allocations: 0 / 272.6 MB, free: 6.152 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.027e-06/0.003936, allocations: 4 kB / 272.6 MB, free: 6.148 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.816e-05/0.003965, allocations: 123.2 kB / 272.8 MB, free: 6.027 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.754e-05/0.003992, allocations: 123.1 kB / 272.9 MB, free: 5.906 MB / 250.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.674e-05/0.004029, allocations: 29.7 kB / 272.9 MB, free: 5.871 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.129e-05/0.00406, allocations: 123.2 kB / 273 MB, free: 5.75 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.889e-05/0.004089, allocations: 127.1 kB / 273.2 MB, free: 5.625 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.598e-05/0.004145, allocations: 246.4 kB / 273.4 MB, free: 5.383 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.502e-05/0.00417, allocations: 123.1 kB / 273.5 MB, free: 5.262 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.217e-05/0.004222, allocations: 238.4 kB / 273.8 MB, free: 5.027 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.639e-05/0.004269, allocations: 119.2 kB / 273.9 MB, free: 4.91 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.64e-05/0.004295, allocations: 131.1 kB / 274 MB, free: 4.781 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 0.0001091/0.004404, allocations: 275.8 kB / 274.3 MB, free: 4.5 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.893e-05/0.004453, allocations: 45.69 kB / 274.3 MB, free: 4.449 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.053e-05/0.004474, allocations: 3.688 kB / 274.3 MB, free: 4.441 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-06/0.004475, allocations: 0 / 274.3 MB, free: 4.441 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.893e-06/0.004477, allocations: 0 / 274.3 MB, free: 4.441 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.004479, allocations: 4 kB / 274.3 MB, free: 4.438 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.118e-05/0.00453, allocations: 105.2 kB / 274.4 MB, free: 4.309 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.004533, allocations: 256 / 274.4 MB, free: 4.309 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.995e-05/0.004562, allocations: 4 kB / 274.4 MB, free: 4.305 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.004565, allocations: 7.938 kB / 274.4 MB, free: 4.297 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.847e-06/0.004569, allocations: 4 kB / 274.4 MB, free: 4.293 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.00457, allocations: 0 / 274.4 MB, free: 4.293 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.00457, allocations: 0 / 274.4 MB, free: 4.293 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.716e-05/0.004608, allocations: 76.33 kB / 274.5 MB, free: 4.195 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.892e-06/0.004614, allocations: 3.938 kB / 274.5 MB, free: 4.191 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.632e-06/0.00462, allocations: 0 / 274.5 MB, free: 4.191 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.632e-05/0.004636, allocations: 4 kB / 274.5 MB, free: 4.188 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.174e-06/0.004639, allocations: 0 / 274.5 MB, free: 4.188 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.796e-06/0.004641, allocations: 0 / 274.5 MB, free: 4.188 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.648e-05/0.004678, allocations: 131.2 kB / 274.6 MB, free: 4.059 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004678, allocations: 0 / 274.6 MB, free: 4.059 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001324/0.00481, allocations: 4 kB / 274.7 MB, free: 4.055 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 6.541e-05/0.004876, allocations: 95.25 kB / 274.7 MB, free: 3.949 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 3.555e-05/0.004911, allocations: 7.938 kB / 274.8 MB, free: 3.941 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.004913, allocations: 4 kB / 274.8 MB, free: 3.938 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.31e-07/0.004914, allocations: 0 / 274.8 MB, free: 3.938 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001386/0.005053, allocations: 21.08 kB / 274.8 MB, free: 3.914 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002109/0.005263, allocations: 113.1 kB / 274.9 MB, free: 3.777 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.158e-05/0.005295, allocations: 59.36 kB / 274.9 MB, free: 3.699 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.372e-06/0.005301, allocations: 4 kB / 274.9 MB, free: 3.695 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.284e-05/0.005334, allocations: 66.2 kB / 275 MB, free: 3.629 MB / 250.7 MB Notification: Performance of SimCode: time 6.21e-07/0.005335, allocations: 4 kB / 275 MB, free: 3.625 MB / 250.7 MB Notification: Performance of Templates: time 0.001398/0.006733, allocations: 312.9 kB / 275.3 MB, free: 3.324 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TimeBasedStep/TimeBasedStep.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.652315091341734]