Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test22.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.001204/0.001204, allocations: 117.3 kB / 18.5 MB, free: 4.434 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.001315/0.001315, allocations: 218.6 kB / 21.47 MB, free: 1.473 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.547/1.547, allocations: 230.2 MB / 254.5 MB, free: 15.25 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.2672/0.2672, allocations: 46.88 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.Test22,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test22,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test22",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.00229/0.00229, allocations: 83.88 kB / 0.4913 GB, free: 8.441 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1566/0.1588, allocations: 65.98 MB / 0.5557 GB, free: 6.332 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.003223/0.1621, allocations: 1.733 MB / 0.5574 GB, free: 4.582 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001765/0.1638, allocations: 1.042 MB / 0.5584 GB, free: 3.535 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.051e-05/0.1639, allocations: 0 / 0.5584 GB, free: 3.535 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000255/0.1642, allocations: 43.77 kB / 0.5585 GB, free: 3.492 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002864/0.1644, allocations: 95.59 kB / 0.5586 GB, free: 3.398 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002053/0.1647, allocations: 75.67 kB / 0.5587 GB, free: 3.324 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001689/0.1648, allocations: 107.7 kB / 0.5588 GB, free: 3.219 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.312e-05/0.1649, allocations: 11.98 kB / 0.5588 GB, free: 3.207 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.163e-05/0.165, allocations: 47.78 kB / 0.5588 GB, free: 3.16 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.057e-05/0.1651, allocations: 35.78 kB / 0.5588 GB, free: 3.125 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.58e-05/0.1651, allocations: 4 kB / 0.5589 GB, free: 3.121 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.373e-05/0.1652, allocations: 43.98 kB / 0.5589 GB, free: 3.078 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.104e-05/0.1652, allocations: 23.91 kB / 0.5589 GB, free: 3.055 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.636e-05/0.1653, allocations: 31.75 kB / 0.5589 GB, free: 3.023 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001992/0.1655, allocations: 123.4 kB / 0.5591 GB, free: 2.902 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.1655, allocations: 3.938 kB / 0.5591 GB, free: 2.898 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1655, allocations: 3.938 kB / 0.5591 GB, free: 2.895 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.089e-06/0.1655, allocations: 0 / 0.5591 GB, free: 2.895 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.0005497/0.166, allocations: 418.7 kB / 0.5595 GB, free: 2.438 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/0.1661, allocations: 12.03 kB / 0.5595 GB, free: 2.426 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.146e-05/0.1661, allocations: 34.75 kB / 0.5595 GB, free: 2.383 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.452e-05/0.1661, allocations: 8.891 kB / 0.5595 GB, free: 2.375 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002903/0.1664, allocations: 212.8 kB / 0.5597 GB, free: 2.129 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.1664, allocations: 8.375 kB / 0.5597 GB, free: 2.121 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.957e-05/0.1665, allocations: 4.359 kB / 0.5597 GB, free: 2.117 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001369/0.1666, allocations: 65.73 kB / 0.5598 GB, free: 2.047 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.1666, allocations: 4 kB / 0.5598 GB, free: 2.043 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.1666, allocations: 7.984 kB / 0.5598 GB, free: 2.035 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.506e-06/0.1666, allocations: 0 / 0.5598 GB, free: 2.035 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.796e-05/0.1667, allocations: 19.98 kB / 0.5598 GB, free: 2.016 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003558/0.167, allocations: 280.9 kB / 0.5601 GB, free: 1.691 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001565/0.1672, allocations: 58.55 kB / 0.5602 GB, free: 1.625 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.716e-05/0.1673, allocations: 20.92 kB / 0.5602 GB, free: 1.602 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.929e-05/0.1673, allocations: 4 kB / 0.5602 GB, free: 1.598 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000139/0.1674, allocations: 67.33 kB / 0.5602 GB, free: 1.52 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.1674, allocations: 0 / 0.5602 GB, free: 1.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005173/0.1679, allocations: 177.3 kB / 0.5604 GB, free: 1.34 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.872e-05/0.168, allocations: 55.41 kB / 0.5605 GB, free: 1.273 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001934/0.1682, allocations: 194.4 kB / 0.5607 GB, free: 1.074 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.987e-05/0.1682, allocations: 29.7 kB / 0.5607 GB, free: 1.039 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.415e-05/0.1682, allocations: 100.1 kB / 0.5608 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.274e-05/0.1683, allocations: 31.77 kB / 0.5608 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.708e-05/0.1683, allocations: 21.72 kB / 0.5608 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.1685, allocations: 326.8 kB / 0.5611 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.739e-05/0.1685, allocations: 23.98 kB / 0.5612 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.182e-05/0.1686, allocations: 45.64 kB / 0.5612 GB, free: 488 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000107/0.1687, allocations: 49.72 kB / 0.5613 GB, free: 432 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.1687, allocations: 0 / 0.5613 GB, free: 432 kB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001924/0.1689, allocations: 105.5 kB / 0.5614 GB, free: 320 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.1689, allocations: 8 kB / 0.5614 GB, free: 312 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.1689, allocations: 0 / 0.5614 GB, free: 312 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.1689, allocations: 192 / 0.5614 GB, free: 312 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.077e-05/0.169, allocations: 19.98 kB / 0.5614 GB, free: 292 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.169, allocations: 8.125 kB / 0.5614 GB, free: 284 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.19e-05/0.1691, allocations: 0 / 0.5614 GB, free: 284 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.826e-06/0.1691, allocations: 4 kB / 0.5614 GB, free: 280 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.0001095/0.1692, allocations: 133.7 kB / 0.5615 GB, free: 136 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.448e-05/0.1692, allocations: 15.91 kB / 0.5615 GB, free: 120 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.697e-05/0.1692, allocations: 17.39 kB / 0.5615 GB, free: 96 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.1692, allocations: 0 / 0.5615 GB, free: 96 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.1692, allocations: 0 / 0.5615 GB, free: 96 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.1693, allocations: 4 kB / 0.5616 GB, free: 92 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004951/0.1697, allocations: 399.6 kB / 0.5619 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.1697, allocations: 0 / 0.5619 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.114e-05/0.1698, allocations: 12 kB / 0.5619 GB, free: 15.63 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.1698, allocations: 4 kB / 0.5619 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.1698, allocations: 0 / 0.5619 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.1698, allocations: 3.938 kB / 0.562 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1698, allocations: 0 / 0.562 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002426/0.17, allocations: 216.3 kB / 0.5622 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.382e-05/0.1701, allocations: 88.95 kB / 0.5622 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.432e-05/0.1701, allocations: 8 kB / 0.5623 GB, free: 15.28 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.794e-05/0.1702, allocations: 3.938 kB / 0.5623 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.575e-05/0.1702, allocations: 7.984 kB / 0.5623 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.629e-05/0.1702, allocations: 4 kB / 0.5623 GB, free: 15.26 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001415/0.1704, allocations: 148.2 kB / 0.5624 GB, free: 15.12 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1704, allocations: 4 kB / 0.5624 GB, free: 15.11 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002522/0.1706, allocations: 23.94 kB / 0.5624 GB, free: 15.09 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.002086/0.1727, allocations: 1.086 MB / 0.5635 GB, free: 14.15 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001759/0.1729, allocations: 55.92 kB / 0.5635 GB, free: 14.1 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1729, allocations: 0 / 0.5635 GB, free: 14.1 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 6.789e-05/0.173, allocations: 27.92 kB / 0.5636 GB, free: 14.07 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003411/0.1733, allocations: 39.72 kB / 0.5636 GB, free: 14.04 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001932/0.1752, allocations: 1.661 MB / 0.5652 GB, free: 12.28 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003736/0.1756, allocations: 0.7119 MB / 0.5659 GB, free: 11.54 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.286e-05/0.1757, allocations: 16.88 kB / 0.5659 GB, free: 11.52 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.462e-05/0.1757, allocations: 35.42 kB / 0.566 GB, free: 11.49 MB / 430.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1757, allocations: 0 / 0.566 GB, free: 11.49 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02595/0.2017, allocations: 3.494 MB / 0.5694 GB, free: 8.062 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.915/8.117, allocations: 2.953 kB / 0.5694 GB, free: 8.062 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test22_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test22.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.397497420664877] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.239192523993552 8.255314081 8.086775215 Calling exit ...