Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.OnDelay.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.0008562/0.0008562, allocations: 76.45 kB / 20.69 MB, free: 3.867 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.0007938/0.0007938, allocations: 165.9 kB / 23.96 MB, free: 0.5938 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.7874/0.7874, allocations: 158.6 MB / 185.7 MB, free: 3.043 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.124/0.124, allocations: 32.37 MB / 270.3 MB, free: 14.97 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ModelicaTest.Blocks.OnDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5020,variableFilter="time|booleanTable.y|onDelay1.delaySignal|onDelay1.t_next|onDelay1.u|onDelay2.delaySignal|onDelay2.t_next|onDelay2.u|onDelay3.delaySignal|onDelay3.t_next|onDelay3.u",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.OnDelay") translateModel(ModelicaTest.Blocks.OnDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5020,variableFilter="time|booleanTable.y|onDelay1.delaySignal|onDelay1.t_next|onDelay1.u|onDelay2.delaySignal|onDelay2.t_next|onDelay2.u|onDelay3.delaySignal|onDelay3.t_next|onDelay3.u",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.OnDelay") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 408.1 MB, free: 13.04 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.36e-05/2.515e-05, allocations: 13.39 kB / 408.1 MB, free: 13.02 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.OnDelay): time 0.002348/0.002373, allocations: 1.846 MB / 409.9 MB, free: 11.17 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009991/0.003372, allocations: 0.9243 MB / 410.9 MB, free: 10.23 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.578e-05/0.003458, allocations: 7.938 kB / 410.9 MB, free: 10.23 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005177/0.003976, allocations: 187.3 kB / 411.1 MB, free: 10.04 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002319/0.004207, allocations: 135.4 kB / 411.2 MB, free: 9.91 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002991/0.004507, allocations: 175.5 kB / 411.4 MB, free: 9.738 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000235/0.004742, allocations: 267.3 kB / 411.6 MB, free: 9.477 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.603e-05/0.004838, allocations: 29.67 kB / 411.6 MB, free: 9.449 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001337/0.004971, allocations: 147.7 kB / 411.8 MB, free: 9.305 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001181/0.005089, allocations: 103.7 kB / 411.9 MB, free: 9.203 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.541e-05/0.005115, allocations: 16 kB / 411.9 MB, free: 9.188 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001068/0.005222, allocations: 67.95 kB / 412 MB, free: 9.121 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.588e-05/0.005287, allocations: 59.83 kB / 412 MB, free: 9.062 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.369e-05/0.005351, allocations: 79.7 kB / 412.1 MB, free: 8.984 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002779/0.005629, allocations: 291.1 kB / 412.4 MB, free: 8.699 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.723e-06/0.005631, allocations: 0 / 412.4 MB, free: 8.699 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.005632, allocations: 0 / 412.4 MB, free: 8.699 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.198e-06/0.005636, allocations: 0 / 412.4 MB, free: 8.699 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0006099/0.006246, allocations: 0.5855 MB / 413 MB, free: 8.059 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.971e-05/0.006276, allocations: 8.031 kB / 413 MB, free: 8.051 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.309e-05/0.006329, allocations: 32.8 kB / 413 MB, free: 8.02 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002426/0.006571, allocations: 220.8 kB / 413.2 MB, free: 7.777 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.646e-05/0.006658, allocations: 174.7 kB / 413.4 MB, free: 7.57 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.867e-05/0.006677, allocations: 12.38 kB / 413.4 MB, free: 7.559 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002355/0.006912, allocations: 244.2 kB / 413.7 MB, free: 7.289 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.006919, allocations: 3.938 kB / 413.7 MB, free: 7.285 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.54e-05/0.006935, allocations: 11.98 kB / 413.7 MB, free: 7.273 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.006939, allocations: 0 / 413.7 MB, free: 7.273 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001552/0.007095, allocations: 177 kB / 413.8 MB, free: 7.082 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000474/0.007569, allocations: 0.524 MB / 414.4 MB, free: 6.52 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002225/0.007791, allocations: 245 kB / 414.6 MB, free: 6.234 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001149/0.007906, allocations: 167.6 kB / 414.8 MB, free: 6.043 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.488e-05/0.007921, allocations: 4 kB / 414.8 MB, free: 6.039 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002999/0.008221, allocations: 0.5217 MB / 415.3 MB, free: 5.422 MB / 346.7 MB Notification: Performance of pre-optimization done (n=23): time 9.62e-07/0.008222, allocations: 4 kB / 415.3 MB, free: 5.418 MB / 346.7 MB Notification: Performance of matching and sorting (n=23): time 0.000537/0.008759, allocations: 0.61 MB / 415.9 MB, free: 4.746 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.47e-05/0.008823, allocations: 195.9 kB / 416.1 MB, free: 4.512 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004614/0.009285, allocations: 325.8 kB / 416.4 MB, free: 4.176 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.706e-05/0.009302, allocations: 29.7 kB / 416.5 MB, free: 4.141 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.425e-05/0.009366, allocations: 132.6 kB / 416.6 MB, free: 4.008 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.924e-05/0.009405, allocations: 55.58 kB / 416.6 MB, free: 3.953 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.244e-05/0.009458, allocations: 53.64 kB / 416.7 MB, free: 3.895 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.163e-05/0.009539, allocations: 338.8 kB / 417 MB, free: 3.555 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001047/0.009644, allocations: 149.1 kB / 417.2 MB, free: 3.391 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001383/0.009782, allocations: 260.1 kB / 417.4 MB, free: 3.078 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002303/0.01001, allocations: 362.7 kB / 417.8 MB, free: 2.656 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.01002, allocations: 4 kB / 417.8 MB, free: 2.652 MB / 346.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003131/0.01033, allocations: 439.8 kB / 418.2 MB, free: 2.18 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.788e-05/0.01038, allocations: 97.08 kB / 418.3 MB, free: 2.066 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.01038, allocations: 4 kB / 418.3 MB, free: 2.062 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.0104, allocations: 4 kB / 418.3 MB, free: 2.059 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.304e-05/0.01046, allocations: 28.45 kB / 418.3 MB, free: 2.031 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.01046, allocations: 4 kB / 418.3 MB, free: 2.027 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.838e-05/0.01053, allocations: 35.81 kB / 418.4 MB, free: 1.992 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.319e-05/0.01054, allocations: 12 kB / 418.4 MB, free: 1.98 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 29 ($PRE.onDelay1.u,$PRE.onDelay1.t_next,$PRE.onDelay3.u,$PRE.onDelay3.t_next,$PRE.onDelay2.u,$PRE.onDelay2.t_next,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition5,booleanTable.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,onDelay1.t_next,onDelay1.delaySignal,onDelay1.y,onDelay1.u,$whenCondition7,$whenCondition6,onDelay2.t_next,onDelay2.delaySignal,onDelay2.y,onDelay2.u,$whenCondition4,$whenCondition3,onDelay3.t_next,onDelay3.delaySignal,onDelay3.y,onDelay3.u,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 3 * 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.0001358/0.01068, allocations: 265.5 kB / 418.6 MB, free: 1.695 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.777e-05/0.01071, allocations: 27.86 kB / 418.7 MB, free: 1.668 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002212/0.01093, allocations: 238.7 kB / 418.9 MB, free: 1.418 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.01093, allocations: 7.984 kB / 418.9 MB, free: 1.41 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.01094, allocations: 7.938 kB / 418.9 MB, free: 1.402 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.01094, allocations: 0 / 418.9 MB, free: 1.402 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001369/0.01108, allocations: 205.1 kB / 419.1 MB, free: 1.172 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.01108, allocations: 0 / 419.1 MB, free: 1.172 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.793e-05/0.0111, allocations: 8 kB / 419.1 MB, free: 1.164 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.0111, allocations: 0 / 419.1 MB, free: 1.164 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.523e-05/0.01111, allocations: 12.09 kB / 419.1 MB, free: 1.152 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.01112, allocations: 7.922 kB / 419.2 MB, free: 1.145 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.01112, allocations: 4 kB / 419.2 MB, free: 1.141 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003822/0.0115, allocations: 0.5317 MB / 419.7 MB, free: 0.5469 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.542e-05/0.01153, allocations: 31.8 kB / 419.7 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.045e-05/0.01156, allocations: 12 kB / 419.7 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.991e-05/0.01161, allocations: 15.98 kB / 419.7 MB, free: 500 kB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.486e-05/0.01166, allocations: 23.91 kB / 419.8 MB, free: 476 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-05/0.01168, allocations: 16 kB / 419.8 MB, free: 460 kB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001397/0.01182, allocations: 233.2 kB / 420 MB, free: 228 kB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01182, allocations: 0 / 420 MB, free: 228 kB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002012/0.01202, allocations: 60 kB / 420.1 MB, free: 168 kB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 21 ($whenCondition5,$whenCondition6,$whenCondition7,onDelay1.u,onDelay1.y,onDelay1.delaySignal,onDelay1.t_next,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled,$whenCondition3,$whenCondition4,onDelay2.u,onDelay2.y,onDelay2.delaySignal,onDelay2.t_next,$whenCondition1,$whenCondition2,onDelay3.u,onDelay3.y,onDelay3.delaySignal,onDelay3.t_next) * Number of discrete states: 14 (onDelay3.t_next,onDelay3.delaySignal,$whenCondition2,$whenCondition1,onDelay2.t_next,onDelay2.delaySignal,$whenCondition4,$whenCondition3,onDelay1.t_next,onDelay1.delaySignal,$whenCondition7,$whenCondition6,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 2 * 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.0006563/0.01268, allocations: 476.7 kB / 420.5 MB, free: 15.75 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003796/0.01306, allocations: 0.5275 MB / 421.1 MB, free: 15.14 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.01306, allocations: 4 kB / 421.1 MB, free: 15.14 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000197/0.01326, allocations: 359.2 kB / 421.4 MB, free: 14.73 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002119/0.01347, allocations: 58.03 kB / 421.5 MB, free: 14.68 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000554/0.01402, allocations: 0.5738 MB / 422 MB, free: 14.05 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.37e-05/0.01411, allocations: 140.4 kB / 422.2 MB, free: 13.89 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.052e-05/0.01415, allocations: 20.5 kB / 422.2 MB, free: 13.88 MB / 362.7 MB Notification: Performance of SimCode: time 2.6e-07/0.01415, allocations: 0 / 422.2 MB, free: 13.88 MB / 362.7 MB Notification: Performance of Templates: time 0.003868/0.01801, allocations: 3.622 MB / 425.8 MB, free: 10.25 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.OnDelay.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.OnDelay.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.OnDelay.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.OnDelay.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.OnDelay.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.OnDelay -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.OnDelay.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.OnDelay_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/OnDelay/OnDelay.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Blocks.OnDelay.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.4557729018852115]