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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.OnDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001239/0.001239, allocations: 183 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.397/1.397, allocations: 205.1 MB / 222.5 MB, free: 8.477 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009256/0.0009255, allocations: 102.5 kB / 269.9 MB, free: 8.438 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3296/0.3296, allocations: 43.49 MB / 360.7 MB, free: 51.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009759/0.0009759, allocations: 55.92 kB / 429.2 MB, free: 6.395 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.1031, allocations: 57.77 MB / 487 MB, free: 12.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.OnDelay): time 0.003598/0.1068, allocations: 1.942 MB / 488.9 MB, free: 10.59 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001538/0.1083, allocations: 0.9521 MB / 489.9 MB, free: 9.625 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001423/0.1085, allocations: 7.938 kB / 489.9 MB, free: 9.617 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007222/0.1092, allocations: 175.6 kB / 490.1 MB, free: 9.445 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003163/0.1096, allocations: 115.6 kB / 490.2 MB, free: 9.332 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004668/0.11, allocations: 159.7 kB / 490.3 MB, free: 9.176 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003166/0.1104, allocations: 259.3 kB / 490.6 MB, free: 8.922 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.1105, allocations: 37.64 kB / 490.6 MB, free: 8.887 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001732/0.1107, allocations: 95.67 kB / 490.7 MB, free: 8.793 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001906/0.1109, allocations: 111.5 kB / 490.8 MB, free: 8.684 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.935e-05/0.1109, allocations: 8 kB / 490.8 MB, free: 8.676 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001407/0.1111, allocations: 51.98 kB / 490.9 MB, free: 8.625 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.815e-05/0.1112, allocations: 59.81 kB / 491 MB, free: 8.566 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001348/0.1113, allocations: 111.3 kB / 491.1 MB, free: 8.457 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003496/0.1117, allocations: 259.4 kB / 491.3 MB, free: 8.203 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1117, allocations: 0 / 491.3 MB, free: 8.203 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1117, allocations: 0 / 491.3 MB, free: 8.203 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.1117, allocations: 0 / 491.3 MB, free: 8.203 MB / 378.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.001039/0.1127, allocations: 0.665 MB / 492 MB, free: 7.465 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.382e-05/0.1128, allocations: 12.03 kB / 492 MB, free: 7.453 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.721e-05/0.1129, allocations: 28.66 kB / 492 MB, free: 7.426 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003777/0.1132, allocations: 282.6 kB / 492.3 MB, free: 7.109 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.862e-05/0.1133, allocations: 93.61 kB / 492.4 MB, free: 7 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.024e-05/0.1134, allocations: 15.94 kB / 492.4 MB, free: 6.984 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000304/0.1137, allocations: 161 kB / 492.6 MB, free: 6.809 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/0.1137, allocations: 0 / 492.6 MB, free: 6.809 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.047e-05/0.1137, allocations: 8 kB / 492.6 MB, free: 6.801 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.1137, allocations: 4 kB / 492.6 MB, free: 6.797 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002154/0.114, allocations: 87.92 kB / 492.7 MB, free: 6.711 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007753/0.1148, allocations: 0.6024 MB / 493.3 MB, free: 6.051 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003276/0.1151, allocations: 183.9 kB / 493.4 MB, free: 5.844 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001637/0.1153, allocations: 90.55 kB / 493.5 MB, free: 5.746 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.724e-05/0.1153, allocations: 7.938 kB / 493.5 MB, free: 5.738 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004196/0.1157, allocations: 433 kB / 494 MB, free: 5.238 MB / 378.7 MB Notification: Performance of pre-optimization done (n=23): time 1.734e-06/0.1157, allocations: 0 / 494 MB, free: 5.238 MB / 378.7 MB Notification: Performance of matching and sorting (n=23): time 0.0007643/0.1165, allocations: 446.2 kB / 494.4 MB, free: 4.777 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.35e-05/0.1166, allocations: 217.6 kB / 494.6 MB, free: 4.516 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002942/0.1169, allocations: 313 kB / 494.9 MB, free: 4.203 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.496e-05/0.1169, allocations: 33.7 kB / 494.9 MB, free: 4.164 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.33e-05/0.117, allocations: 144.6 kB / 495.1 MB, free: 4.02 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.331e-05/0.1171, allocations: 43.36 kB / 495.1 MB, free: 3.977 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.255e-05/0.1172, allocations: 57.69 kB / 495.2 MB, free: 3.914 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001044/0.1173, allocations: 334.8 kB / 495.5 MB, free: 3.578 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001324/0.1174, allocations: 55.97 kB / 495.6 MB, free: 3.523 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001753/0.1176, allocations: 150.2 kB / 495.7 MB, free: 3.34 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003513/0.118, allocations: 354.6 kB / 496.1 MB, free: 2.926 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.118, allocations: 0 / 496.1 MB, free: 2.926 MB / 378.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004808/0.1185, allocations: 350.8 kB / 496.4 MB, free: 2.559 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.678e-05/0.1186, allocations: 93.09 kB / 496.5 MB, free: 2.449 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.1186, allocations: 4 kB / 496.5 MB, free: 2.445 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.1186, allocations: 4 kB / 496.5 MB, free: 2.441 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.759e-05/0.1187, allocations: 27.92 kB / 496.5 MB, free: 2.414 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.1187, allocations: 0 / 496.5 MB, free: 2.414 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001284/0.1188, allocations: 31.83 kB / 496.6 MB, free: 2.383 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.698e-05/0.1189, allocations: 8 kB / 496.6 MB, free: 2.375 MB / 378.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.00019/0.1191, allocations: 273.6 kB / 496.8 MB, free: 2.078 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.034e-05/0.1191, allocations: 39.64 kB / 496.9 MB, free: 2.039 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.142e-05/0.1192, allocations: 25.7 kB / 496.9 MB, free: 2.016 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.1192, allocations: 0 / 496.9 MB, free: 2.016 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.1192, allocations: 4 kB / 496.9 MB, free: 2.012 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.1192, allocations: 0 / 496.9 MB, free: 2.012 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002259/0.1194, allocations: 289.3 kB / 497.2 MB, free: 1.68 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.1194, allocations: 0 / 497.2 MB, free: 1.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.163e-05/0.1195, allocations: 19.86 kB / 497.2 MB, free: 1.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.1195, allocations: 4 kB / 497.2 MB, free: 1.656 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.245e-05/0.1195, allocations: 12 kB / 497.2 MB, free: 1.645 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.1195, allocations: 3.938 kB / 497.2 MB, free: 1.641 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1195, allocations: 0 / 497.2 MB, free: 1.641 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001005/0.1205, allocations: 1.103 MB / 498.3 MB, free: 464 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.463e-05/0.1206, allocations: 104.8 kB / 498.4 MB, free: 340 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.787e-05/0.1207, allocations: 8 kB / 498.4 MB, free: 332 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001094/0.1208, allocations: 19.98 kB / 498.5 MB, free: 312 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.144e-05/0.1209, allocations: 15.98 kB / 498.5 MB, free: 296 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-05/0.1209, allocations: 11.98 kB / 498.5 MB, free: 284 kB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002384/0.1212, allocations: 232.4 kB / 498.7 MB, free: 48 kB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1212, allocations: 4 kB / 498.7 MB, free: 44 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.000438/0.1216, allocations: 71.97 kB / 498.8 MB, free: 15.97 MB / 394.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,booleanTable.combiTimeTable.nextTimeEventScaled,onDelay1.t_next,onDelay1.delaySignal,$whenCondition7,$whenCondition6,booleanTable.combiTimeTable.nextTimeEvent) * 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.0008995/0.1225, allocations: 452.3 kB / 499.2 MB, free: 15.57 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005273/0.1231, allocations: 389.8 kB / 499.6 MB, free: 15.15 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1231, allocations: 448 / 499.6 MB, free: 15.15 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003172/0.1234, allocations: 342.2 kB / 499.9 MB, free: 14.78 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003261/0.1238, allocations: 52.66 kB / 500 MB, free: 14.73 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008425/0.1246, allocations: 0.662 MB / 0.4889 GB, free: 14.02 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003105/0.1249, allocations: 0.7559 MB / 0.4897 GB, free: 13.24 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 8.989e-05/0.125, allocations: 29.91 kB / 0.4897 GB, free: 13.21 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.226e-05/0.1251, allocations: 23.44 kB / 0.4897 GB, free: 13.19 MB / 394.7 MB Notification: Performance of SimCode: time 6.21e-07/0.1251, allocations: 0 / 0.4897 GB, free: 13.19 MB / 394.7 MB Notification: Performance of Templates: time 0.006395/0.1315, allocations: 3.317 MB / 0.493 GB, free: 9.875 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.OnDelay.makefile (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) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.OnDelay_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/OnDelay/OnDelay.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.OnDelay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches