Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.00188/0.00188, allocations: 87.67 kB / 20.95 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.00195/0.00195, allocations: 161.7 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.541/1.541, allocations: 177.1 MB / 204.6 MB, free: 5.602 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.BooleanSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 272.3 MB, free: 1.84 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.518e-05/2.691e-05, allocations: 2.312 kB / 272.3 MB, free: 1.836 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.00277/0.002797, allocations: 1.455 MB / 273.8 MB, free: 380 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002975/0.003094, allocations: 95.69 kB / 273.9 MB, free: 284 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.424e-05/0.003148, allocations: 0 / 273.9 MB, free: 284 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.55e-05/0.003174, allocations: 3.938 kB / 273.9 MB, free: 280 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 3.846e-05/0.003212, allocations: 7.938 kB / 273.9 MB, free: 272 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002147/0.003427, allocations: 23.91 kB / 273.9 MB, free: 248 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 7.84e-05/0.003506, allocations: 23.92 kB / 273.9 MB, free: 224 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.405e-05/0.00359, allocations: 11.98 kB / 273.9 MB, free: 212 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.256e-05/0.003642, allocations: 11.98 kB / 273.9 MB, free: 200 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.083e-05/0.003673, allocations: 11.92 kB / 274 MB, free: 188 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.63e-05/0.003689, allocations: 0 / 274 MB, free: 188 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.236e-05/0.003702, allocations: 8 kB / 274 MB, free: 180 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.658e-05/0.003718, allocations: 4 kB / 274 MB, free: 176 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.517e-05/0.003743, allocations: 4 kB / 274 MB, free: 172 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001045/0.003848, allocations: 35.83 kB / 274 MB, free: 136 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.703e-06/0.00385, allocations: 0 / 274 MB, free: 136 kB / 250.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.00385, allocations: 0 / 274 MB, free: 136 kB / 250.7 MB Notification: Performance of Transformations before backend: time 3.466e-06/0.003854, allocations: 0 / 274 MB, free: 136 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.0004967/0.00435, allocations: 368.2 kB / 274.4 MB, free: 15.73 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.004389, allocations: 12.03 kB / 274.4 MB, free: 15.72 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.932e-05/0.004428, allocations: 4.875 kB / 274.4 MB, free: 15.72 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001895/0.004617, allocations: 128.6 kB / 274.5 MB, free: 15.57 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.208e-05/0.00464, allocations: 4.375 kB / 274.5 MB, free: 15.56 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.405e-06/0.004648, allocations: 384 / 274.5 MB, free: 15.56 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003138/0.004962, allocations: 109.5 kB / 274.6 MB, free: 15.44 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.248e-06/0.004971, allocations: 192 / 274.6 MB, free: 15.44 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.704e-06/0.004979, allocations: 384 / 274.6 MB, free: 15.44 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/0.004985, allocations: 4.359 kB / 274.6 MB, free: 15.44 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.123e-05/0.005056, allocations: 19.94 kB / 274.6 MB, free: 15.42 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001493/0.005205, allocations: 116.6 kB / 274.8 MB, free: 15.27 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001838/0.005389, allocations: 58.98 kB / 274.8 MB, free: 15.2 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.415e-05/0.005453, allocations: 23.75 kB / 274.8 MB, free: 15.17 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.24e-05/0.005476, allocations: 4 kB / 274.8 MB, free: 15.17 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.946e-05/0.005505, allocations: 33.39 kB / 274.9 MB, free: 15.12 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 8.22e-07/0.005506, allocations: 0 / 274.9 MB, free: 15.12 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002369/0.005743, allocations: 73.56 kB / 274.9 MB, free: 15.05 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.243e-05/0.005795, allocations: 51.41 kB / 275 MB, free: 14.98 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001371/0.005932, allocations: 169.9 kB / 275.2 MB, free: 14.8 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.518e-05/0.005987, allocations: 29.7 kB / 275.2 MB, free: 14.77 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.085e-05/0.006068, allocations: 134.9 kB / 275.3 MB, free: 14.63 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.004e-06/0.00607, allocations: 3.938 kB / 275.3 MB, free: 14.62 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.339e-05/0.006104, allocations: 19.38 kB / 275.3 MB, free: 14.6 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002643/0.006368, allocations: 0.4884 MB / 275.8 MB, free: 14.1 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.218e-06/0.006372, allocations: 0 / 275.8 MB, free: 14.1 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.464e-06/0.006375, allocations: 0 / 275.8 MB, free: 14.1 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.502e-05/0.00644, allocations: 119.2 kB / 276 MB, free: 13.98 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.05e-05/0.0065, allocations: 119.4 kB / 276.1 MB, free: 13.86 MB / 266.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.488e-05/0.006565, allocations: 37.64 kB / 276.1 MB, free: 13.82 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001413/0.006706, allocations: 127.2 kB / 276.2 MB, free: 13.7 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.311e-05/0.006779, allocations: 127.2 kB / 276.4 MB, free: 13.57 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001312/0.006911, allocations: 238.4 kB / 276.6 MB, free: 13.34 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.475e-05/0.006975, allocations: 123.1 kB / 276.7 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001285/0.007104, allocations: 246.4 kB / 276.9 MB, free: 12.97 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001013/0.007205, allocations: 127.1 kB / 277.1 MB, free: 12.85 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.215e-05/0.007267, allocations: 119.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.0001681/0.007435, allocations: 275.8 kB / 277.5 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001109/0.007546, allocations: 57.67 kB / 277.5 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.667e-05/0.007573, allocations: 7.688 kB / 277.5 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.395e-05/0.007587, allocations: 4 kB / 277.5 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.007591, allocations: 0 / 277.5 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.007597, allocations: 3.938 kB / 277.5 MB, free: 12.37 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001108/0.007708, allocations: 124.5 kB / 277.6 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.00771, allocations: 0 / 277.6 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.104e-05/0.007751, allocations: 0 / 277.6 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.001e-06/0.007757, allocations: 4 kB / 277.7 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.151e-06/0.007763, allocations: 0 / 277.7 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.007766, allocations: 0 / 277.7 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.007766, allocations: 0 / 277.7 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001561/0.007923, allocations: 96.61 kB / 277.7 MB, free: 12.09 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.057e-05/0.007933, allocations: 3.984 kB / 277.8 MB, free: 12.09 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.499e-05/0.007948, allocations: 4.047 kB / 277.8 MB, free: 12.09 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.197e-05/0.00797, allocations: 3.984 kB / 277.8 MB, free: 12.08 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.695e-06/0.007973, allocations: 0 / 277.8 MB, free: 12.08 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.244e-06/0.00798, allocations: 4 kB / 277.8 MB, free: 12.08 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.817e-05/0.008058, allocations: 123.2 kB / 277.9 MB, free: 11.96 MB / 266.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.008058, allocations: 4 kB / 277.9 MB, free: 11.95 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002029/0.008261, allocations: 3.938 kB / 277.9 MB, free: 11.95 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.0002536/0.008515, allocations: 115.1 kB / 278 MB, free: 11.83 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.86e-05/0.008593, allocations: 8 kB / 278 MB, free: 11.82 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.008595, allocations: 0 / 278 MB, free: 11.82 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.62e-07/0.008595, allocations: 0 / 278 MB, free: 11.82 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002337/0.008829, allocations: 25.05 kB / 278 MB, free: 11.79 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002984/0.009127, allocations: 132.1 kB / 278.2 MB, free: 11.64 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.811e-05/0.009195, allocations: 63.34 kB / 278.2 MB, free: 11.56 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.468e-06/0.009205, allocations: 0 / 278.2 MB, free: 11.56 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.277e-05/0.009238, allocations: 12.5 kB / 278.2 MB, free: 11.55 MB / 266.7 MB Notification: Performance of SimCode: time 4.31e-07/0.009238, allocations: 0 / 278.2 MB, free: 11.55 MB / 266.7 MB Notification: Performance of Templates: time 0.002671/0.01191, allocations: 298.8 kB / 278.5 MB, free: 11.25 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.409418677911162]