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.001479/0.001479, allocations: 105 kB / 20.44 MB, free: 1.504 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.001628/0.001628, allocations: 211.1 kB / 23.75 MB, free: 4.727 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.297/1.297, allocations: 207.6 MB / 234.5 MB, free: 9.969 MB / 190.1 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.1993/0.1993, allocations: 44.24 MB / 331 MB, free: 9.5 MB / 270.1 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: 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.002344/0.002344, allocations: 71.89 kB / 468.7 MB, free: 3.996 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1064, allocations: 61.04 MB / 0.5174 GB, free: 6.824 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.OnDelay): time 0.003316/0.1098, allocations: 1.905 MB / 0.5192 GB, free: 4.906 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001656/0.1114, allocations: 0.983 MB / 0.5202 GB, free: 3.914 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000114/0.1115, allocations: 4 kB / 0.5202 GB, free: 3.91 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006659/0.1122, allocations: 191.4 kB / 0.5204 GB, free: 3.723 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000351/0.1125, allocations: 135.5 kB / 0.5205 GB, free: 3.59 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004522/0.113, allocations: 175.6 kB / 0.5207 GB, free: 3.418 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003755/0.1134, allocations: 271.3 kB / 0.5209 GB, free: 3.152 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.1135, allocations: 25.73 kB / 0.5209 GB, free: 3.125 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001884/0.1137, allocations: 115.6 kB / 0.5211 GB, free: 3.012 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001869/0.1138, allocations: 123.6 kB / 0.5212 GB, free: 2.891 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.038e-05/0.1139, allocations: 16 kB / 0.5212 GB, free: 2.875 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000157/0.114, allocations: 67.91 kB / 0.5213 GB, free: 2.809 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.05e-05/0.1141, allocations: 63.81 kB / 0.5213 GB, free: 2.746 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001276/0.1143, allocations: 111.4 kB / 0.5214 GB, free: 2.637 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003921/0.1147, allocations: 279 kB / 0.5217 GB, free: 2.363 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.1147, allocations: 0 / 0.5217 GB, free: 2.363 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.1147, allocations: 4 kB / 0.5217 GB, free: 2.359 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.732e-06/0.1147, allocations: 0 / 0.5217 GB, free: 2.359 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.001052/0.1157, allocations: 0.5933 MB / 0.5223 GB, free: 1.711 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.1158, allocations: 8.031 kB / 0.5223 GB, free: 1.703 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.528e-05/0.1158, allocations: 28.8 kB / 0.5223 GB, free: 1.676 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003642/0.1162, allocations: 217.1 kB / 0.5225 GB, free: 1.438 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001791/0.1164, allocations: 166.8 kB / 0.5227 GB, free: 1.238 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.646e-05/0.1164, allocations: 27.88 kB / 0.5227 GB, free: 1.211 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003277/0.1167, allocations: 153 kB / 0.5228 GB, free: 1.043 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.1168, allocations: 3.984 kB / 0.5229 GB, free: 1.039 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.888e-05/0.1168, allocations: 4 kB / 0.5229 GB, free: 1.035 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.1168, allocations: 0 / 0.5229 GB, free: 1.035 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002278/0.117, allocations: 99.86 kB / 0.5229 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008064/0.1178, allocations: 0.5819 MB / 0.5235 GB, free: 312 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003728/0.1182, allocations: 155.9 kB / 0.5237 GB, free: 128 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001553/0.1183, allocations: 66.55 kB / 0.5237 GB, free: 52 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.38e-05/0.1184, allocations: 4 kB / 0.5237 GB, free: 48 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005071/0.1189, allocations: 437 kB / 0.5242 GB, free: 15.54 MB / 414.1 MB Notification: Performance of pre-optimization done (n=23): time 1.703e-06/0.1189, allocations: 112 / 0.5242 GB, free: 15.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=23): time 0.0008756/0.1198, allocations: 446.7 kB / 0.5246 GB, free: 15.08 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001498/0.1199, allocations: 217.6 kB / 0.5248 GB, free: 14.82 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003758/0.1203, allocations: 325 kB / 0.5251 GB, free: 14.49 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.172e-05/0.1203, allocations: 33.7 kB / 0.5251 GB, free: 14.45 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001119/0.1204, allocations: 128.6 kB / 0.5252 GB, free: 14.32 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.66e-05/0.1205, allocations: 59.56 kB / 0.5253 GB, free: 14.27 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.66e-05/0.1206, allocations: 49.7 kB / 0.5254 GB, free: 14.21 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001862/0.1207, allocations: 338.8 kB / 0.5257 GB, free: 13.87 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001606/0.1209, allocations: 59.97 kB / 0.5257 GB, free: 13.81 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002053/0.1211, allocations: 146.2 kB / 0.5259 GB, free: 13.63 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004221/0.1215, allocations: 355 kB / 0.5262 GB, free: 13.22 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.1215, allocations: 0 / 0.5262 GB, free: 13.22 MB / 414.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005462/0.1221, allocations: 362.2 kB / 0.5266 GB, free: 12.84 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.389e-05/0.1222, allocations: 97.09 kB / 0.5266 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.1222, allocations: 4 kB / 0.5267 GB, free: 12.72 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.1222, allocations: 3.938 kB / 0.5267 GB, free: 12.72 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.542e-05/0.1223, allocations: 19.98 kB / 0.5267 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.303e-05/0.1223, allocations: 7.938 kB / 0.5267 GB, free: 12.69 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001271/0.1224, allocations: 32.09 kB / 0.5267 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.023e-05/0.1224, allocations: 12 kB / 0.5267 GB, free: 12.65 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.0002289/0.1227, allocations: 257.5 kB / 0.527 GB, free: 12.37 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.189e-05/0.1227, allocations: 35.73 kB / 0.527 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003501/0.1231, allocations: 201.2 kB / 0.5272 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.1231, allocations: 4 kB / 0.5272 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.952e-06/0.1231, allocations: 4 kB / 0.5272 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.1231, allocations: 4 kB / 0.5272 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002656/0.1233, allocations: 264.5 kB / 0.5275 GB, free: 11.81 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.624e-06/0.1233, allocations: 3.938 kB / 0.5275 GB, free: 11.81 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.191e-05/0.1234, allocations: 11.92 kB / 0.5275 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.429e-06/0.1234, allocations: 4 kB / 0.5275 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.461e-05/0.1234, allocations: 12 kB / 0.5275 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.1234, allocations: 3.938 kB / 0.5275 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1234, allocations: 0 / 0.5275 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006634/0.1241, allocations: 447.7 kB / 0.5279 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.528e-05/0.1241, allocations: 27.98 kB / 0.5279 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.826e-05/0.1242, allocations: 8 kB / 0.528 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/0.1243, allocations: 19.98 kB / 0.528 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.045e-05/0.1243, allocations: 23.95 kB / 0.528 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.673e-05/0.1244, allocations: 15.94 kB / 0.528 GB, free: 11.2 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002401/0.1246, allocations: 240.4 kB / 0.5282 GB, free: 10.97 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1246, allocations: 0 / 0.5282 GB, free: 10.97 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003163/0.1249, allocations: 67.89 kB / 0.5283 GB, free: 10.91 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 (14): * Single equations (assignments): 9 * 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.001508/0.1264, allocations: 438.8 kB / 0.5287 GB, free: 10.52 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005554/0.127, allocations: 354.2 kB / 0.5291 GB, free: 10.14 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.127, allocations: 0 / 0.5291 GB, free: 10.14 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003189/0.1273, allocations: 278.1 kB / 0.5293 GB, free: 9.832 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003292/0.1276, allocations: 56.28 kB / 0.5294 GB, free: 9.777 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008217/0.1285, allocations: 478.7 kB / 0.5298 GB, free: 9.27 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003697/0.1288, allocations: 0.7519 MB / 0.5306 GB, free: 8.492 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.169e-05/0.1289, allocations: 27.44 kB / 0.5306 GB, free: 8.465 MB / 414.1 MB Notification: Performance of SimCode: time 3.7e-07/0.1289, allocations: 0 / 0.5306 GB, free: 8.465 MB / 414.1 MB Notification: Performance of Templates: time 0.006359/0.1353, allocations: 3.543 MB / 0.5341 GB, free: 4.918 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: 7.1977771709207445]