Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.2_ModelicaTest.Blocks.OnDelay") translateModel(ModelicaTest.Blocks.OnDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.OnDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008949/0.0008949, allocations: 100.2 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009699/0.0009699, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.357/1.357, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3426/0.3426, allocations: 40 MB / 310.4 MB, free: 9.957 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.2. 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.0005819/0.000582, allocations: 12 kB / 378.8 MB, free: 12.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.1161, allocations: 57.96 MB / 436.8 MB, free: 2.59 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.OnDelay): time 0.002506/0.1186, allocations: 1.53 MB / 438.3 MB, free: 1.043 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001497/0.1201, allocations: 0.8745 MB / 439.2 MB, free: 168 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000134/0.1203, allocations: 4 kB / 439.2 MB, free: 164 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006231/0.1209, allocations: 163.5 kB / 439.3 MB, free: 0 / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003532/0.1213, allocations: 111.7 kB / 439.4 MB, free: 15.89 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004643/0.1218, allocations: 135.7 kB / 439.6 MB, free: 15.76 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002864/0.1221, allocations: 163.7 kB / 439.7 MB, free: 15.6 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.1222, allocations: 29.64 kB / 439.8 MB, free: 15.57 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001713/0.1224, allocations: 91.67 kB / 439.8 MB, free: 15.48 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001773/0.1226, allocations: 99.64 kB / 439.9 MB, free: 15.38 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.861e-05/0.1226, allocations: 12 kB / 440 MB, free: 15.37 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001358/0.1228, allocations: 39.92 kB / 440 MB, free: 15.33 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.088e-05/0.1228, allocations: 51.88 kB / 440 MB, free: 15.28 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.238e-05/0.1229, allocations: 65.58 kB / 440.1 MB, free: 15.21 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002587/0.1232, allocations: 211.7 kB / 440.3 MB, free: 15 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.1232, allocations: 0 / 440.3 MB, free: 15 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.1232, allocations: 0 / 440.3 MB, free: 15 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.652e-06/0.1232, allocations: 0 / 440.3 MB, free: 15 MB / 382.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.0009453/0.1242, allocations: 0.622 MB / 440.9 MB, free: 14.31 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.1242, allocations: 8.031 kB / 440.9 MB, free: 14.3 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.635e-05/0.1243, allocations: 27.72 kB / 441 MB, free: 14.27 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003988/0.1247, allocations: 269.7 kB / 441.2 MB, free: 13.97 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.882e-05/0.1248, allocations: 93.02 kB / 441.3 MB, free: 13.86 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.186e-05/0.1249, allocations: 16 kB / 441.3 MB, free: 13.85 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003648/0.1252, allocations: 161.5 kB / 441.5 MB, free: 13.67 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.1253, allocations: 0 / 441.5 MB, free: 13.67 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.255e-05/0.1253, allocations: 7.953 kB / 441.5 MB, free: 13.66 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.926e-06/0.1253, allocations: 4 kB / 441.5 MB, free: 13.66 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000252/0.1256, allocations: 107.7 kB / 441.6 MB, free: 13.55 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008508/0.1264, allocations: 0.6064 MB / 442.2 MB, free: 12.89 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003402/0.1268, allocations: 183.9 kB / 442.4 MB, free: 12.68 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.709e-05/0.1268, allocations: 0 / 442.4 MB, free: 12.68 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004322/0.1273, allocations: 437.3 kB / 442.8 MB, free: 12.18 MB / 382.1 MB Notification: Performance of pre-optimization done (n=23): time 1.482e-06/0.1273, allocations: 0 / 442.8 MB, free: 12.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=23): time 0.0009001/0.1282, allocations: 0.6657 MB / 443.5 MB, free: 11.43 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001003/0.1283, allocations: 213.6 kB / 443.7 MB, free: 11.18 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003149/0.1286, allocations: 320.9 kB / 444 MB, free: 10.86 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.014e-05/0.1286, allocations: 33.7 kB / 444.1 MB, free: 10.82 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.1288, allocations: 132.6 kB / 444.2 MB, free: 10.68 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.953e-05/0.1288, allocations: 51.34 kB / 444.2 MB, free: 10.63 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.159e-05/0.1288, allocations: 8 kB / 444.2 MB, free: 10.62 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.129, allocations: 338.8 kB / 444.6 MB, free: 10.29 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001597/0.1291, allocations: 56.16 kB / 444.6 MB, free: 10.23 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001959/0.1293, allocations: 154.6 kB / 444.8 MB, free: 10.04 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001917/0.1295, allocations: 157.5 kB / 444.9 MB, free: 9.871 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.1296, allocations: 0 / 444.9 MB, free: 9.871 MB / 382.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005134/0.1301, allocations: 354.1 kB / 445.3 MB, free: 9.5 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.99e-05/0.1302, allocations: 101.1 kB / 445.4 MB, free: 9.383 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.206e-06/0.1302, allocations: 4 kB / 445.4 MB, free: 9.379 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.1302, allocations: 4 kB / 445.4 MB, free: 9.375 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.698e-05/0.1303, allocations: 15.98 kB / 445.4 MB, free: 9.359 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.707e-05/0.1303, allocations: 8.156 kB / 445.4 MB, free: 9.352 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001456/0.1305, allocations: 35.83 kB / 445.4 MB, free: 9.316 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.065e-05/0.1305, allocations: 12.34 kB / 445.5 MB, free: 9.305 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,$whenCondition5,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition6,$whenCondition7,onDelay1.u,onDelay1.y,onDelay1.delaySignal,onDelay1.t_next,booleanTable.combiTimeTable.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,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: 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002251/0.1307, allocations: 265.8 kB / 445.7 MB, free: 9.016 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.962e-05/0.1308, allocations: 35.67 kB / 445.7 MB, free: 8.98 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.587e-05/0.1308, allocations: 29.69 kB / 445.8 MB, free: 8.953 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.628e-06/0.1309, allocations: 8 kB / 445.8 MB, free: 8.945 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.708e-06/0.1309, allocations: 4 kB / 445.8 MB, free: 8.941 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.1309, allocations: 3.984 kB / 445.8 MB, free: 8.938 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002675/0.1312, allocations: 289.4 kB / 446.1 MB, free: 8.605 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.1312, allocations: 0 / 446.1 MB, free: 8.605 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.822e-05/0.1312, allocations: 4 kB / 446.1 MB, free: 8.602 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.484e-06/0.1312, allocations: 11.94 kB / 446.1 MB, free: 8.59 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.217e-05/0.1312, allocations: 8 kB / 446.1 MB, free: 8.582 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.1312, allocations: 0 / 446.1 MB, free: 8.582 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.1313, allocations: 0 / 446.1 MB, free: 8.582 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006159/0.1319, allocations: 474.8 kB / 446.6 MB, free: 8.062 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.723e-05/0.132, allocations: 100.8 kB / 446.7 MB, free: 7.945 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.907e-05/0.132, allocations: 8 kB / 446.7 MB, free: 7.938 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001199/0.1321, allocations: 31.92 kB / 446.7 MB, free: 7.906 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.853e-05/0.1322, allocations: 19.97 kB / 446.7 MB, free: 7.887 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.936e-05/0.1323, allocations: 12 kB / 446.7 MB, free: 7.875 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002138/0.1325, allocations: 232.4 kB / 447 MB, free: 7.645 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1325, allocations: 0 / 447 MB, free: 7.645 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003242/0.1328, allocations: 75.84 kB / 447 MB, free: 7.57 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000951/0.1338, allocations: 426.9 kB / 447.4 MB, free: 7.176 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005583/0.1344, allocations: 401.8 kB / 447.8 MB, free: 6.746 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.708e-06/0.1344, allocations: 4 kB / 447.8 MB, free: 6.742 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003419/0.1347, allocations: 350.5 kB / 448.2 MB, free: 6.363 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002955/0.135, allocations: 40.36 kB / 448.2 MB, free: 6.324 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008214/0.1359, allocations: 476.6 kB / 448.7 MB, free: 5.828 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003383/0.1362, allocations: 0.7599 MB / 449.5 MB, free: 5.043 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001007/0.1363, allocations: 21.91 kB / 449.5 MB, free: 5.02 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.574e-05/0.1364, allocations: 27.42 kB / 449.5 MB, free: 4.992 MB / 382.1 MB Notification: Performance of SimCode: time 4e-07/0.1364, allocations: 4 kB / 449.5 MB, free: 4.988 MB / 382.1 MB Notification: Performance of Templates: time 0.007402/0.1438, allocations: 3.055 MB / 452.6 MB, free: 1.93 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Blocks.OnDelay.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Blocks.OnDelay.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Blocks.OnDelay.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Blocks.OnDelay.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Blocks.OnDelay.sim & ./ModelicaTest_3.2.2_ModelicaTest.Blocks.OnDelay -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Blocks.OnDelay.pipe 2>&1) Environment - environmentSimulation: