Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.OnDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001352/0.001352, allocations: 122.7 kB / 18.5 MB, free: 4.578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001388/0.001388, allocations: 210.5 kB / 21.46 MB, free: 1.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.508/1.508, allocations: 230.2 MB / 254.5 MB, free: 15.24 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2303/0.2303, allocations: 46.89 MB / 357.4 MB, free: 10.52 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.OnDelay,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_OnDelay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.OnDelay,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_OnDelay",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002336/0.002336, allocations: 83.84 kB / 0.4912 GB, free: 8.566 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.1342, allocations: 65.98 MB / 0.5556 GB, free: 6.461 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.OnDelay): time 0.003422/0.1376, allocations: 1.932 MB / 0.5575 GB, free: 4.508 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002021/0.1396, allocations: 1.196 MB / 0.5587 GB, free: 3.305 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.183e-05/0.1397, allocations: 0 / 0.5587 GB, free: 3.305 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005093/0.1402, allocations: 183 kB / 0.5589 GB, free: 3.129 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003777/0.1406, allocations: 171.3 kB / 0.559 GB, free: 2.961 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003801/0.141, allocations: 163.5 kB / 0.5592 GB, free: 2.801 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003237/0.1413, allocations: 279.3 kB / 0.5595 GB, free: 2.527 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.765e-05/0.1414, allocations: 17.67 kB / 0.5595 GB, free: 2.512 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001569/0.1415, allocations: 115.5 kB / 0.5596 GB, free: 2.398 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001673/0.1417, allocations: 131.5 kB / 0.5597 GB, free: 2.27 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.229e-05/0.1417, allocations: 16 kB / 0.5597 GB, free: 2.254 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001378/0.1419, allocations: 63.97 kB / 0.5598 GB, free: 2.191 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.535e-05/0.142, allocations: 71.75 kB / 0.5599 GB, free: 2.121 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001263/0.1421, allocations: 111.4 kB / 0.56 GB, free: 2.012 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003815/0.1425, allocations: 274.9 kB / 0.5602 GB, free: 1.742 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.1425, allocations: 4 kB / 0.5602 GB, free: 1.738 MB / 414.1 MB Notification: Performance of FrontEnd: time 9.12e-07/0.1425, allocations: 0 / 0.5602 GB, free: 1.738 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.069e-06/0.1425, allocations: 0 / 0.5602 GB, free: 1.738 MB / 414.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.001016/0.1435, allocations: 0.6841 MB / 0.5609 GB, free: 0.9805 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.1435, allocations: 8.031 kB / 0.5609 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.941e-05/0.1436, allocations: 42.75 kB / 0.5609 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.56e-05/0.1437, allocations: 28.8 kB / 0.561 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004007/0.1441, allocations: 279.8 kB / 0.5612 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001002/0.1442, allocations: 97.66 kB / 0.5613 GB, free: 484 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.401e-05/0.1442, allocations: 16.38 kB / 0.5613 GB, free: 468 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003191/0.1445, allocations: 160.9 kB / 0.5615 GB, free: 288 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.1445, allocations: 0 / 0.5615 GB, free: 288 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.917e-05/0.1445, allocations: 8 kB / 0.5615 GB, free: 280 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.1445, allocations: 4 kB / 0.5615 GB, free: 276 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002307/0.1448, allocations: 87.88 kB / 0.5616 GB, free: 188 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008595/0.1456, allocations: 0.6141 MB / 0.5622 GB, free: 15.51 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003597/0.146, allocations: 151.9 kB / 0.5623 GB, free: 15.34 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001658/0.1462, allocations: 74.53 kB / 0.5624 GB, free: 15.25 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.008e-05/0.1462, allocations: 4 kB / 0.5624 GB, free: 15.25 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000487/0.1467, allocations: 433.1 kB / 0.5628 GB, free: 14.75 MB / 430.1 MB Notification: Performance of pre-optimization done (n=23): time 1.403e-06/0.1467, allocations: 0 / 0.5628 GB, free: 14.75 MB / 430.1 MB Notification: Performance of matching and sorting (n=23): time 0.0009583/0.1476, allocations: 438.6 kB / 0.5632 GB, free: 14.3 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001407/0.1478, allocations: 221.6 kB / 0.5635 GB, free: 14.03 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00038/0.1481, allocations: 330.5 kB / 0.5638 GB, free: 13.7 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.976e-05/0.1482, allocations: 33.7 kB / 0.5638 GB, free: 13.66 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001127/0.1483, allocations: 140.7 kB / 0.5639 GB, free: 13.52 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.616e-05/0.1483, allocations: 59.52 kB / 0.564 GB, free: 13.46 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.535e-05/0.1484, allocations: 45.7 kB / 0.564 GB, free: 13.41 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001734/0.1486, allocations: 338.8 kB / 0.5644 GB, free: 13.07 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001499/0.1487, allocations: 63.89 kB / 0.5644 GB, free: 13 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002153/0.149, allocations: 138.3 kB / 0.5646 GB, free: 12.83 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004465/0.1494, allocations: 367.2 kB / 0.5649 GB, free: 12.41 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.1494, allocations: 0 / 0.5649 GB, free: 12.41 MB / 430.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000574/0.15, allocations: 358.6 kB / 0.5652 GB, free: 12.03 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.654e-05/0.1501, allocations: 97.03 kB / 0.5653 GB, free: 11.92 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/0.1501, allocations: 4 kB / 0.5653 GB, free: 11.91 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.1501, allocations: 4 kB / 0.5653 GB, free: 11.91 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001033/0.1502, allocations: 19.98 kB / 0.5654 GB, free: 11.89 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.1502, allocations: 3.938 kB / 0.5654 GB, free: 11.89 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001382/0.1503, allocations: 31.88 kB / 0.5654 GB, free: 11.86 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.923e-05/0.1504, allocations: 8 kB / 0.5654 GB, free: 11.85 MB / 430.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.0002653/0.1506, allocations: 265.5 kB / 0.5657 GB, free: 11.56 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.839e-05/0.1507, allocations: 35.8 kB / 0.5657 GB, free: 11.52 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.603e-05/0.1507, allocations: 25.7 kB / 0.5657 GB, free: 11.49 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.676e-06/0.1508, allocations: 0 / 0.5657 GB, free: 11.49 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.1508, allocations: 4 kB / 0.5657 GB, free: 11.49 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.1508, allocations: 3.938 kB / 0.5657 GB, free: 11.48 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000353/0.1511, allocations: 297.4 kB / 0.566 GB, free: 11.14 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.1511, allocations: 0 / 0.566 GB, free: 11.14 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.062e-05/0.1511, allocations: 8 kB / 0.566 GB, free: 11.14 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.1511, allocations: 7.938 kB / 0.566 GB, free: 11.13 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.772e-05/0.1512, allocations: 11.98 kB / 0.566 GB, free: 11.12 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.1512, allocations: 4 kB / 0.566 GB, free: 11.11 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1512, allocations: 3.938 kB / 0.566 GB, free: 11.11 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000673/0.1519, allocations: 447.5 kB / 0.5665 GB, free: 10.63 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.585e-05/0.1519, allocations: 109 kB / 0.5666 GB, free: 10.5 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.455e-05/0.152, allocations: 15.94 kB / 0.5666 GB, free: 10.49 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001124/0.1521, allocations: 15.98 kB / 0.5666 GB, free: 10.47 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.498e-05/0.1522, allocations: 19.97 kB / 0.5666 GB, free: 10.45 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.666e-05/0.1522, allocations: 12 kB / 0.5666 GB, free: 10.44 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002576/0.1525, allocations: 241.9 kB / 0.5669 GB, free: 10.2 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1525, allocations: 4 kB / 0.5669 GB, free: 10.2 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003201/0.1528, allocations: 71.88 kB / 0.5669 GB, free: 10.13 MB / 430.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.002354/0.1551, allocations: 1.301 MB / 0.5682 GB, free: 8.922 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0005846/0.1557, allocations: 354 kB / 0.5685 GB, free: 8.539 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1557, allocations: 0 / 0.5685 GB, free: 8.539 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003474/0.1561, allocations: 270.1 kB / 0.5688 GB, free: 8.238 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00035/0.1564, allocations: 55.03 kB / 0.5689 GB, free: 8.188 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003986/0.1604, allocations: 2.867 MB / 0.5717 GB, free: 5.152 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004281/0.1608, allocations: 0.759 MB / 0.5724 GB, free: 4.367 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001133/0.161, allocations: 33.83 kB / 0.5724 GB, free: 4.336 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001179/0.1611, allocations: 63.42 kB / 0.5725 GB, free: 4.273 MB / 430.1 MB Notification: Performance of SimCode: time 1.372e-06/0.1611, allocations: 0 / 0.5725 GB, free: 4.273 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02818/0.1893, allocations: 6.282 MB / 0.5786 GB, free: 14.04 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.355/8.544, allocations: 11.8 kB / 0.5786 GB, free: 14.03 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.OnDelay.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.OnDelay.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.OnDelay.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.OnDelay.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.OnDelay_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_OnDelay_fmu --startTime=0 --stopTime=11 --stepSize=0.00219124 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_OnDelay.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.OnDelay.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.576943435240537] Failed to read output from testmodel.py, exit status != 0: ['time', 'booleanTable.y', 'onDelay1.delaySignal', 'onDelay1.t_next', 'onDelay1.u', 'onDelay2.delaySignal', 'onDelay2.t_next', 'onDelay2.u', 'onDelay3.delaySignal', 'onDelay3.t_next', 'onDelay3.u'] 8.678158942610025 8.694026623 8.548648785 Calling exit ...