Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test40.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.00133/0.00133, allocations: 112.4 kB / 18.5 MB, free: 4.543 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.001402/0.001402, allocations: 208.9 kB / 21.46 MB, free: 1.586 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.562/1.562, 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.2443/0.2443, allocations: 46.89 MB / 357.4 MB, free: 10.5 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.Tables.CombiTimeTable.Test40,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test40",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test40,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test40",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.002322/0.002322, allocations: 83.86 kB / 0.4913 GB, free: 8.449 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.1367, allocations: 65.99 MB / 0.5557 GB, free: 6.332 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.003206/0.1399, allocations: 1.736 MB / 0.5574 GB, free: 4.578 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001995/0.1419, allocations: 1.03 MB / 0.5584 GB, free: 3.543 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001113/0.142, allocations: 0 / 0.5584 GB, free: 3.543 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004558/0.1425, allocations: 87.69 kB / 0.5585 GB, free: 3.457 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004152/0.1429, allocations: 115.6 kB / 0.5586 GB, free: 3.344 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002578/0.1431, allocations: 83.61 kB / 0.5587 GB, free: 3.262 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002401/0.1434, allocations: 119.6 kB / 0.5588 GB, free: 3.145 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000129/0.1435, allocations: 12 kB / 0.5588 GB, free: 3.133 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001213/0.1436, allocations: 55.77 kB / 0.5589 GB, free: 3.078 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001327/0.1438, allocations: 55.81 kB / 0.5589 GB, free: 3.023 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.083e-05/0.1438, allocations: 4 kB / 0.5589 GB, free: 3.02 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000116/0.1439, allocations: 43.98 kB / 0.559 GB, free: 2.977 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.224e-05/0.144, allocations: 27.91 kB / 0.559 GB, free: 2.949 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.851e-05/0.144, allocations: 43.67 kB / 0.5591 GB, free: 2.906 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002801/0.1443, allocations: 123.4 kB / 0.5592 GB, free: 2.785 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.1443, allocations: 0 / 0.5592 GB, free: 2.785 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.1443, allocations: 0 / 0.5592 GB, free: 2.785 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.258e-05/0.1443, allocations: 3.938 kB / 0.5592 GB, free: 2.781 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007911/0.1451, allocations: 426.6 kB / 0.5596 GB, free: 2.316 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/0.1452, allocations: 8.031 kB / 0.5596 GB, free: 2.309 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.842e-05/0.1452, allocations: 42.73 kB / 0.5596 GB, free: 2.258 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.225e-05/0.1453, allocations: 20.83 kB / 0.5597 GB, free: 2.238 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003256/0.1456, allocations: 216.1 kB / 0.5599 GB, free: 1.988 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.004e-05/0.1456, allocations: 8.375 kB / 0.5599 GB, free: 1.98 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.044e-05/0.1456, allocations: 384 / 0.5599 GB, free: 1.98 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001812/0.1458, allocations: 61.73 kB / 0.5599 GB, free: 1.914 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.1458, allocations: 0 / 0.5599 GB, free: 1.914 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.258e-06/0.1458, allocations: 4 kB / 0.5599 GB, free: 1.91 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.358e-06/0.1458, allocations: 0 / 0.5599 GB, free: 1.91 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.449e-05/0.1459, allocations: 15.98 kB / 0.5599 GB, free: 1.895 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004343/0.1464, allocations: 288.9 kB / 0.5602 GB, free: 1.562 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001847/0.1465, allocations: 62.61 kB / 0.5603 GB, free: 1.492 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.439e-05/0.1466, allocations: 20.84 kB / 0.5603 GB, free: 1.469 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.195e-05/0.1466, allocations: 0 / 0.5603 GB, free: 1.469 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001935/0.1468, allocations: 71.39 kB / 0.5604 GB, free: 1.387 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.303e-06/0.1468, allocations: 0 / 0.5604 GB, free: 1.387 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005891/0.1474, allocations: 189.3 kB / 0.5606 GB, free: 1.195 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.728e-05/0.1475, allocations: 51.41 kB / 0.5606 GB, free: 1.133 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003414/0.1478, allocations: 231.3 kB / 0.5608 GB, free: 0.8906 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.519e-05/0.1478, allocations: 29.7 kB / 0.5608 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.278e-05/0.1479, allocations: 100.1 kB / 0.5609 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.105e-05/0.1479, allocations: 31.78 kB / 0.561 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.088e-05/0.148, allocations: 21.72 kB / 0.561 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002007/0.1482, allocations: 334.8 kB / 0.5613 GB, free: 368 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.83e-05/0.1483, allocations: 16 kB / 0.5613 GB, free: 352 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.966e-05/0.1484, allocations: 41.58 kB / 0.5614 GB, free: 304 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001236/0.1485, allocations: 61.7 kB / 0.5614 GB, free: 236 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-06/0.1485, allocations: 4 kB / 0.5614 GB, free: 232 kB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001965/0.1487, allocations: 97.53 kB / 0.5615 GB, free: 128 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.292e-05/0.1487, allocations: 8 kB / 0.5615 GB, free: 120 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.1487, allocations: 0 / 0.5615 GB, free: 120 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.174e-05/0.1487, allocations: 3.984 kB / 0.5615 GB, free: 116 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.84e-05/0.1488, allocations: 12 kB / 0.5615 GB, free: 104 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.657e-06/0.1488, allocations: 4 kB / 0.5616 GB, free: 100 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.688e-05/0.1489, allocations: 4 kB / 0.5616 GB, free: 96 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.778e-06/0.1489, allocations: 4 kB / 0.5616 GB, free: 92 kB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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.0001621/0.1491, allocations: 143.4 kB / 0.5617 GB, free: 15.94 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.599e-05/0.1491, allocations: 11.91 kB / 0.5617 GB, free: 15.93 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.821e-05/0.1491, allocations: 21.39 kB / 0.5617 GB, free: 15.9 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.1491, allocations: 0 / 0.5617 GB, free: 15.9 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.1491, allocations: 0 / 0.5617 GB, free: 15.9 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.1491, allocations: 0 / 0.5617 GB, free: 15.9 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005251/0.1497, allocations: 399.2 kB / 0.5621 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1497, allocations: 8.031 kB / 0.5621 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.109e-05/0.1497, allocations: 8 kB / 0.5621 GB, free: 15.44 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.1497, allocations: 0 / 0.5621 GB, free: 15.44 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.136e-06/0.1497, allocations: 0 / 0.5621 GB, free: 15.44 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.1497, allocations: 3.938 kB / 0.5621 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1497, allocations: 4 kB / 0.5621 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002962/0.15, allocations: 212.2 kB / 0.5623 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.386e-05/0.1501, allocations: 89.06 kB / 0.5624 GB, free: 15.1 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.511e-05/0.1501, allocations: 8.312 kB / 0.5624 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.2e-05/0.1502, allocations: 7.938 kB / 0.5624 GB, free: 15.08 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.245e-05/0.1502, allocations: 11.97 kB / 0.5624 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-05/0.1502, allocations: 4 kB / 0.5624 GB, free: 15.07 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001505/0.1504, allocations: 165.2 kB / 0.5626 GB, free: 14.91 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1504, allocations: 0 / 0.5626 GB, free: 14.91 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002616/0.1506, allocations: 31.92 kB / 0.5626 GB, free: 14.88 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * 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.002169/0.1528, allocations: 1.085 MB / 0.5637 GB, free: 13.94 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001991/0.153, allocations: 59.91 kB / 0.5638 GB, free: 13.88 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.153, allocations: 0 / 0.5638 GB, free: 13.88 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.753e-05/0.1531, allocations: 27.92 kB / 0.5638 GB, free: 13.85 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003752/0.1535, allocations: 37.41 kB / 0.5638 GB, free: 13.82 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001973/0.1554, allocations: 1.725 MB / 0.5655 GB, free: 12 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00037/0.1558, allocations: 0.708 MB / 0.5662 GB, free: 11.27 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.77e-05/0.1559, allocations: 17.19 kB / 0.5662 GB, free: 11.25 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.106e-05/0.1559, allocations: 43.41 kB / 0.5662 GB, free: 11.21 MB / 430.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1559, allocations: 4 kB / 0.5663 GB, free: 11.21 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02838/0.1843, allocations: 3.595 MB / 0.5698 GB, free: 7.676 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.934/8.119, allocations: 13.91 kB / 0.5698 GB, free: 7.664 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test40.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test40_fmu --startTime=0 --stopTime=100 --stepSize=0.0197316 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test40.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.29583503305912] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.23777931695804 8.252519651 8.1053271 Calling exit ...