Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Blocks.OnDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.OnDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Blocks.OnDelay") translateModel(ModelicaTest.Blocks.OnDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Blocks.OnDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001712/0.001712, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002186/0.002186, allocations: 196.6 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.573/1.573, allocations: 205.1 MB / 222.4 MB, free: 4.586 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3884/0.3884, allocations: 37.99 MB / 307.8 MB, free: 9.984 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001543/0.001543, allocations: 76.88 kB / 375.2 MB, free: 15.19 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.1193, allocations: 56.46 MB / 431.7 MB, free: 6.629 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.OnDelay): time 0.003252/0.1226, allocations: 1.865 MB / 433.6 MB, free: 4.742 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001607/0.1242, allocations: 0.9634 MB / 434.5 MB, free: 3.77 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001017/0.1243, allocations: 4 kB / 434.5 MB, free: 3.766 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006466/0.125, allocations: 183.4 kB / 434.7 MB, free: 3.586 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0003056/0.1253, allocations: 131.5 kB / 434.8 MB, free: 3.457 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004358/0.1257, allocations: 167.7 kB / 435 MB, free: 3.293 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000341/0.1261, allocations: 267.4 kB / 435.3 MB, free: 3.031 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001398/0.1262, allocations: 33.94 kB / 435.3 MB, free: 3 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001535/0.1264, allocations: 119.6 kB / 435.4 MB, free: 2.883 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001545/0.1265, allocations: 115.5 kB / 435.5 MB, free: 2.77 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.658e-05/0.1266, allocations: 16 kB / 435.5 MB, free: 2.754 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001397/0.1267, allocations: 59.97 kB / 435.6 MB, free: 2.695 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.429e-05/0.1268, allocations: 59.83 kB / 435.7 MB, free: 2.637 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000125/0.127, allocations: 115.4 kB / 435.8 MB, free: 2.523 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003211/0.1273, allocations: 279 kB / 436 MB, free: 2.25 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.1273, allocations: 0 / 436 MB, free: 2.25 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1273, allocations: 4 kB / 436 MB, free: 2.246 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.673e-06/0.1273, allocations: 0 / 436 MB, free: 2.246 MB / 366.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.0009164/0.1283, allocations: 0.6494 MB / 436.7 MB, free: 1.523 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/0.1283, allocations: 15.89 kB / 436.7 MB, free: 1.508 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.194e-05/0.1284, allocations: 28.66 kB / 436.7 MB, free: 1.48 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003305/0.1287, allocations: 274.7 kB / 437 MB, free: 1.172 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.82e-05/0.1288, allocations: 93.66 kB / 437.1 MB, free: 1.062 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.488e-05/0.1289, allocations: 19.94 kB / 437.1 MB, free: 1.043 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003047/0.1292, allocations: 161 kB / 437.3 MB, free: 0.8672 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.1292, allocations: 0 / 437.3 MB, free: 0.8672 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.937e-05/0.1292, allocations: 4 kB / 437.3 MB, free: 0.8633 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.1292, allocations: 0 / 437.3 MB, free: 0.8633 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002332/0.1295, allocations: 99.81 kB / 437.4 MB, free: 0.7656 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008976/0.1304, allocations: 0.6062 MB / 438 MB, free: 104 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000349/0.1307, allocations: 184 kB / 438.2 MB, free: 15.89 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001653/0.1309, allocations: 98.52 kB / 438.3 MB, free: 15.79 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.726e-05/0.131, allocations: 4 kB / 438.3 MB, free: 15.78 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004446/0.1314, allocations: 433 kB / 438.7 MB, free: 15.28 MB / 382.1 MB Notification: Performance of pre-optimization done (n=23): time 1.403e-06/0.1314, allocations: 0 / 438.7 MB, free: 15.28 MB / 382.1 MB Notification: Performance of matching and sorting (n=23): time 0.000783/0.1322, allocations: 454.2 kB / 439.1 MB, free: 14.81 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001295/0.1324, allocations: 213.6 kB / 439.3 MB, free: 14.55 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003397/0.1327, allocations: 328.9 kB / 439.7 MB, free: 14.23 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.911e-05/0.1327, allocations: 33.7 kB / 439.7 MB, free: 14.19 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.586e-05/0.1328, allocations: 132.6 kB / 439.8 MB, free: 14.05 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.459e-05/0.1329, allocations: 51.34 kB / 439.9 MB, free: 14 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.173e-05/0.133, allocations: 45.7 kB / 439.9 MB, free: 13.95 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001316/0.1331, allocations: 338.8 kB / 440.2 MB, free: 13.61 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001366/0.1333, allocations: 55.97 kB / 440.3 MB, free: 13.56 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001932/0.1335, allocations: 142.2 kB / 440.4 MB, free: 13.38 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003843/0.1339, allocations: 355 kB / 440.8 MB, free: 12.97 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.1339, allocations: 4 kB / 440.8 MB, free: 12.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005303/0.1344, allocations: 354 kB / 441.1 MB, free: 12.59 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.35e-05/0.1345, allocations: 101.1 kB / 441.2 MB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.587e-06/0.1345, allocations: 4 kB / 441.2 MB, free: 12.47 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.979e-05/0.1345, allocations: 4 kB / 441.2 MB, free: 12.47 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001091/0.1346, allocations: 23.92 kB / 441.3 MB, free: 12.45 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/0.1347, allocations: 4 kB / 441.3 MB, free: 12.44 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001222/0.1348, allocations: 12.22 kB / 441.3 MB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.066e-05/0.1348, allocations: 23.98 kB / 441.3 MB, free: 12.41 MB / 382.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.000271/0.1351, allocations: 261.4 kB / 441.6 MB, free: 12.12 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.385e-05/0.1352, allocations: 35.56 kB / 441.6 MB, free: 12.09 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.997e-05/0.1352, allocations: 29.7 kB / 441.6 MB, free: 12.06 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.1352, allocations: 0 / 441.6 MB, free: 12.06 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.1352, allocations: 0 / 441.6 MB, free: 12.06 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.035e-05/0.1353, allocations: 7.984 kB / 441.6 MB, free: 12.05 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002876/0.1356, allocations: 285.5 kB / 441.9 MB, free: 11.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.1356, allocations: 0 / 441.9 MB, free: 11.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.782e-05/0.1356, allocations: 7.938 kB / 441.9 MB, free: 11.72 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.1356, allocations: 4 kB / 441.9 MB, free: 11.71 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.036e-05/0.1356, allocations: 15.98 kB / 441.9 MB, free: 11.7 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1357, allocations: 0 / 441.9 MB, free: 11.7 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.1357, allocations: 0 / 441.9 MB, free: 11.7 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006467/0.1363, allocations: 443.5 kB / 442.4 MB, free: 11.22 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.957e-05/0.1364, allocations: 108.7 kB / 442.5 MB, free: 11.1 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.469e-05/0.1365, allocations: 16 kB / 442.5 MB, free: 11.08 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/0.1366, allocations: 19.98 kB / 442.5 MB, free: 11.06 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.116e-05/0.1367, allocations: 15.98 kB / 442.5 MB, free: 11.05 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.684e-05/0.1367, allocations: 11.98 kB / 442.5 MB, free: 11.04 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002327/0.1369, allocations: 228.5 kB / 442.8 MB, free: 10.81 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1369, allocations: 8 kB / 442.8 MB, free: 10.8 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003228/0.1373, allocations: 67.98 kB / 442.8 MB, free: 10.74 MB / 382.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,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.000947/0.1382, allocations: 438.9 kB / 443.3 MB, free: 10.33 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005646/0.1388, allocations: 398.3 kB / 443.7 MB, free: 9.906 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.1388, allocations: 4.062 kB / 443.7 MB, free: 9.902 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003779/0.1392, allocations: 338.1 kB / 444 MB, free: 9.535 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003282/0.1395, allocations: 56.34 kB / 444 MB, free: 9.48 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007837/0.1403, allocations: 469.2 kB / 444.5 MB, free: 8.984 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003624/0.1407, allocations: 0.744 MB / 445.2 MB, free: 8.211 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.901e-05/0.1408, allocations: 29.83 kB / 445.3 MB, free: 8.184 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.374e-05/0.1409, allocations: 31.38 kB / 445.3 MB, free: 8.152 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1409, allocations: 3.938 kB / 445.3 MB, free: 8.148 MB / 382.1 MB Notification: Performance of Templates: time 0.00744/0.1483, allocations: 3.449 MB / 448.8 MB, free: 4.703 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Blocks.OnDelay.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Blocks.OnDelay.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Blocks.OnDelay.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Blocks.OnDelay.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Blocks.OnDelay.sim & ./ModelicaTest_3.2.1_ModelicaTest.Blocks.OnDelay -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Blocks.OnDelay.pipe 2>&1)