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.001376/0.001376, allocations: 100.4 kB / 20.45 MB, free: 1.383 MB / 14.72 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.001516/0.001516, allocations: 204 kB / 23.74 MB, free: 4.543 MB / 14.72 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 1.648/1.648, allocations: 207.7 MB / 234.6 MB, free: 9.785 MB / 190.1 MB " [Timeout remaining time 178] 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.2456/0.2456, allocations: 44.27 MB / 331.1 MB, free: 9.301 MB / 270.1 MB " [Timeout remaining time 179] 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002617/0.002617, allocations: 73 kB / 468.7 MB, free: 3.852 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1319, allocations: 61.04 MB / 0.5174 GB, free: 6.676 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.OnDelay): time 0.004276/0.1362, allocations: 1.846 MB / 0.5192 GB, free: 4.816 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001944/0.1381, allocations: 0.9208 MB / 0.5201 GB, free: 3.887 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001579/0.1383, allocations: 4 kB / 0.5201 GB, free: 3.883 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000787/0.1391, allocations: 195.4 kB / 0.5203 GB, free: 3.691 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004034/0.1395, allocations: 131.5 kB / 0.5204 GB, free: 3.562 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005353/0.14, allocations: 183.6 kB / 0.5206 GB, free: 3.383 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004514/0.1404, allocations: 271.3 kB / 0.5208 GB, free: 3.117 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001483/0.1406, allocations: 25.72 kB / 0.5208 GB, free: 3.09 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002394/0.1408, allocations: 111.6 kB / 0.5209 GB, free: 2.98 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002271/0.1411, allocations: 115.6 kB / 0.5211 GB, free: 2.867 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.2e-05/0.1411, allocations: 16 kB / 0.5211 GB, free: 2.852 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001922/0.1413, allocations: 63.97 kB / 0.5211 GB, free: 2.789 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001119/0.1414, allocations: 71.75 kB / 0.5212 GB, free: 2.719 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001371/0.1416, allocations: 87.52 kB / 0.5213 GB, free: 2.633 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004752/0.142, allocations: 286.9 kB / 0.5216 GB, free: 2.352 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.142, allocations: 0 / 0.5216 GB, free: 2.352 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.142, allocations: 0 / 0.5216 GB, free: 2.352 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.236e-06/0.142, allocations: 0 / 0.5216 GB, free: 2.352 MB / 398.1 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.001173/0.1432, allocations: 0.5817 MB / 0.5221 GB, free: 1.715 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.1433, allocations: 12.03 kB / 0.5221 GB, free: 1.703 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001052/0.1434, allocations: 28.8 kB / 0.5222 GB, free: 1.676 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004278/0.1438, allocations: 217.1 kB / 0.5224 GB, free: 1.441 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000151/0.1439, allocations: 166.8 kB / 0.5225 GB, free: 1.242 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.316e-05/0.144, allocations: 19.94 kB / 0.5226 GB, free: 1.223 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004078/0.1444, allocations: 241.2 kB / 0.5228 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.1444, allocations: 0 / 0.5228 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.161e-05/0.1444, allocations: 7.938 kB / 0.5228 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.869e-06/0.1444, allocations: 4 kB / 0.5228 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003228/0.1448, allocations: 181 kB / 0.523 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009047/0.1457, allocations: 0.5318 MB / 0.5235 GB, free: 180 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004517/0.1461, allocations: 245 kB / 0.5237 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002451/0.1464, allocations: 167.6 kB / 0.5239 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.66e-05/0.1464, allocations: 0 / 0.5239 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006135/0.147, allocations: 0.5099 MB / 0.5244 GB, free: 15.09 MB / 414.1 MB Notification: Performance of pre-optimization done (n=23): time 1.743e-06/0.147, allocations: 4 kB / 0.5244 GB, free: 15.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=23): time 0.001093/0.1481, allocations: 0.6178 MB / 0.525 GB, free: 14.41 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001297/0.1482, allocations: 199.8 kB / 0.5252 GB, free: 14.17 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004132/0.1486, allocations: 317 kB / 0.5255 GB, free: 13.85 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.5e-05/0.1487, allocations: 33.7 kB / 0.5255 GB, free: 13.81 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001141/0.1488, allocations: 132.6 kB / 0.5256 GB, free: 13.68 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.365e-05/0.1488, allocations: 51.62 kB / 0.5257 GB, free: 13.63 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.717e-05/0.1489, allocations: 53.69 kB / 0.5257 GB, free: 13.57 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001657/0.1491, allocations: 334.8 kB / 0.5261 GB, free: 13.23 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002203/0.1493, allocations: 149.1 kB / 0.5262 GB, free: 13.07 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002924/0.1496, allocations: 256.1 kB / 0.5264 GB, free: 12.76 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004532/0.1501, allocations: 362.6 kB / 0.5268 GB, free: 12.34 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/0.1501, allocations: 8.031 kB / 0.5268 GB, free: 12.33 MB / 414.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006529/0.1507, allocations: 443.8 kB / 0.5272 GB, free: 11.86 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.405e-05/0.1508, allocations: 101 kB / 0.5273 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.1508, allocations: 4 kB / 0.5273 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.266e-05/0.1508, allocations: 4 kB / 0.5273 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001389/0.151, allocations: 23.94 kB / 0.5273 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.394e-05/0.151, allocations: 8.203 kB / 0.5274 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001611/0.1512, allocations: 27.89 kB / 0.5274 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.142e-05/0.1512, allocations: 8 kB / 0.5274 GB, free: 11.66 MB / 414.1 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.0002818/0.1515, allocations: 265.7 kB / 0.5276 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.388e-05/0.1515, allocations: 31.8 kB / 0.5277 GB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004263/0.152, allocations: 247 kB / 0.5279 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.152, allocations: 0 / 0.5279 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.152, allocations: 0 / 0.5279 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.152, allocations: 8 kB / 0.5279 GB, free: 11.08 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002548/0.1522, allocations: 201.1 kB / 0.5281 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.1522, allocations: 0 / 0.5281 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.972e-05/0.1523, allocations: 11.98 kB / 0.5281 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-06/0.1523, allocations: 0 / 0.5281 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.147e-05/0.1523, allocations: 15.94 kB / 0.5281 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/0.1523, allocations: 4 kB / 0.5281 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.1523, allocations: 0 / 0.5281 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008369/0.1532, allocations: 0.5242 MB / 0.5286 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001269/0.1533, allocations: 23.84 kB / 0.5287 GB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.319e-05/0.1534, allocations: 23.94 kB / 0.5287 GB, free: 10.19 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001114/0.1535, allocations: 11.98 kB / 0.5287 GB, free: 10.18 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.234e-05/0.1536, allocations: 19.98 kB / 0.5287 GB, free: 10.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.472e-05/0.1536, allocations: 15.98 kB / 0.5287 GB, free: 10.14 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000298/0.1539, allocations: 228.5 kB / 0.529 GB, free: 9.918 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1539, allocations: 4 kB / 0.529 GB, free: 9.914 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003578/0.1542, allocations: 71.88 kB / 0.529 GB, free: 9.844 MB / 414.1 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.001853/0.1561, allocations: 476 kB / 0.5295 GB, free: 9.422 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009168/0.157, allocations: 0.543 MB / 0.53 GB, free: 8.805 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.157, allocations: 0 / 0.53 GB, free: 8.805 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004699/0.1575, allocations: 367.2 kB / 0.5304 GB, free: 8.391 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003823/0.1579, allocations: 48.41 kB / 0.5304 GB, free: 8.344 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001105/0.159, allocations: 0.5666 MB / 0.531 GB, free: 7.719 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001828/0.1592, allocations: 144.5 kB / 0.5311 GB, free: 7.555 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.244e-05/0.1592, allocations: 23.44 kB / 0.5311 GB, free: 7.531 MB / 414.1 MB Notification: Performance of SimCode: time 9.41e-07/0.1592, allocations: 0 / 0.5311 GB, free: 7.531 MB / 414.1 MB Notification: Performance of Templates: time 0.008136/0.1674, allocations: 3.614 MB / 0.5347 GB, free: 3.91 MB / 414.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/OnDelay/OnDelay.csv","/var/lib/jenkins1/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: 8.497068154159933]