Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test32.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.001691/0.001691, 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.001968/0.001968, 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.528/1.528, allocations: 230.2 MB / 254.5 MB, free: 15.41 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.2526/0.2526, allocations: 46.89 MB / 357.4 MB, free: 10.54 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.Test32,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test32,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test32",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.002417/0.002417, allocations: 80.03 kB / 0.4913 GB, free: 26.83 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1585/0.1609, allocations: 65.99 MB / 0.5557 GB, free: 9.062 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.00407/0.165, allocations: 1.725 MB / 0.5574 GB, free: 7.32 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001993/0.167, allocations: 1.046 MB / 0.5584 GB, free: 6.27 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.966e-05/0.1671, allocations: 3.938 kB / 0.5584 GB, free: 6.266 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003359/0.1674, allocations: 43.77 kB / 0.5585 GB, free: 6.223 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003771/0.1678, allocations: 87.61 kB / 0.5586 GB, free: 6.137 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002218/0.168, allocations: 83.66 kB / 0.5587 GB, free: 6.055 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002236/0.1682, allocations: 95.77 kB / 0.5587 GB, free: 5.961 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000131/0.1683, allocations: 20.25 kB / 0.5588 GB, free: 5.941 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001078/0.1685, allocations: 39.8 kB / 0.5588 GB, free: 5.902 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.913e-05/0.1686, allocations: 39.72 kB / 0.5588 GB, free: 5.863 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.8e-05/0.1686, allocations: 4 kB / 0.5588 GB, free: 5.859 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001206/0.1687, allocations: 47.97 kB / 0.5589 GB, free: 5.812 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.455e-05/0.1688, allocations: 23.92 kB / 0.5589 GB, free: 5.789 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.597e-05/0.1689, allocations: 31.75 kB / 0.5589 GB, free: 5.758 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002906/0.1691, allocations: 111.5 kB / 0.559 GB, free: 5.648 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.1692, allocations: 0 / 0.559 GB, free: 5.648 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1692, allocations: 4 kB / 0.5591 GB, free: 5.645 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.435e-05/0.1692, allocations: 4 kB / 0.5591 GB, free: 5.641 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.0008333/0.17, allocations: 430.5 kB / 0.5595 GB, free: 5.172 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.403e-05/0.1701, allocations: 8.031 kB / 0.5595 GB, free: 5.164 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.97e-05/0.1701, allocations: 38.73 kB / 0.5595 GB, free: 5.117 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.584e-05/0.1702, allocations: 12.89 kB / 0.5595 GB, free: 5.105 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004157/0.1706, allocations: 212.8 kB / 0.5597 GB, free: 4.859 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/0.1706, allocations: 384 / 0.5597 GB, free: 4.859 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.554e-05/0.1706, allocations: 8.375 kB / 0.5597 GB, free: 4.852 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001802/0.1708, allocations: 57.8 kB / 0.5598 GB, free: 4.789 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.1708, allocations: 3.938 kB / 0.5598 GB, free: 4.785 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.1708, allocations: 0 / 0.5598 GB, free: 4.785 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/0.1708, allocations: 7.938 kB / 0.5598 GB, free: 4.777 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.272e-05/0.1709, allocations: 19.98 kB / 0.5598 GB, free: 4.758 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004362/0.1713, allocations: 284.9 kB / 0.5601 GB, free: 4.43 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001886/0.1715, allocations: 58.61 kB / 0.5601 GB, free: 4.363 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.679e-05/0.1716, allocations: 16.86 kB / 0.5602 GB, free: 4.344 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.282e-05/0.1716, allocations: 0 / 0.5602 GB, free: 4.344 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000178/0.1718, allocations: 71.38 kB / 0.5602 GB, free: 4.262 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.543e-06/0.1718, allocations: 0 / 0.5602 GB, free: 4.262 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006068/0.1724, allocations: 185.3 kB / 0.5604 GB, free: 4.074 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.956e-05/0.1725, allocations: 51.41 kB / 0.5605 GB, free: 4.012 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000238/0.1727, allocations: 190.4 kB / 0.5606 GB, free: 3.816 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.298e-05/0.1727, allocations: 29.7 kB / 0.5607 GB, free: 3.781 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.879e-05/0.1728, allocations: 104.1 kB / 0.5608 GB, free: 3.676 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.284e-05/0.1728, allocations: 23.84 kB / 0.5608 GB, free: 3.652 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.608e-05/0.1729, allocations: 21.72 kB / 0.5608 GB, free: 3.625 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001791/0.1731, allocations: 330.8 kB / 0.5611 GB, free: 3.293 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.896e-05/0.1731, allocations: 23.98 kB / 0.5612 GB, free: 3.27 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.286e-05/0.1732, allocations: 37.64 kB / 0.5612 GB, free: 3.227 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001329/0.1733, allocations: 61.7 kB / 0.5612 GB, free: 3.16 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1733, allocations: 0 / 0.5612 GB, free: 3.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001957/0.1735, allocations: 97.91 kB / 0.5613 GB, free: 3.059 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.1735, allocations: 4 kB / 0.5613 GB, free: 3.055 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.1735, allocations: 8.031 kB / 0.5613 GB, free: 3.047 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.1735, allocations: 0 / 0.5613 GB, free: 3.047 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.948e-05/0.1736, allocations: 23.97 kB / 0.5614 GB, free: 3.023 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.1737, allocations: 0 / 0.5614 GB, free: 3.023 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.838e-05/0.1737, allocations: 8 kB / 0.5614 GB, free: 3.016 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.1737, allocations: 4 kB / 0.5614 GB, free: 3.012 MB / 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.0001278/0.1738, allocations: 125.8 kB / 0.5615 GB, free: 2.879 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.969e-05/0.1739, allocations: 19.84 kB / 0.5615 GB, free: 2.859 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.419e-05/0.1739, allocations: 21.41 kB / 0.5615 GB, free: 2.832 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.1739, allocations: 0 / 0.5615 GB, free: 2.832 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.1739, allocations: 0 / 0.5615 GB, free: 2.832 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.1739, allocations: 3.984 kB / 0.5615 GB, free: 2.828 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000525/0.1745, allocations: 399.2 kB / 0.5619 GB, free: 2.379 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.1745, allocations: 0 / 0.5619 GB, free: 2.379 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.329e-05/0.1745, allocations: 8.188 kB / 0.5619 GB, free: 2.371 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.1745, allocations: 0 / 0.5619 GB, free: 2.371 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.548e-05/0.1745, allocations: 11.92 kB / 0.5619 GB, free: 2.359 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.387e-06/0.1745, allocations: 7.969 kB / 0.562 GB, free: 2.352 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.1745, allocations: 0 / 0.562 GB, free: 2.352 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002712/0.1748, allocations: 200.3 kB / 0.5621 GB, free: 2.137 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.737e-05/0.1749, allocations: 89.02 kB / 0.5622 GB, free: 2.031 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.352e-05/0.1749, allocations: 0 / 0.5622 GB, free: 2.031 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.327e-05/0.175, allocations: 11.88 kB / 0.5622 GB, free: 2.02 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.803e-05/0.175, allocations: 19.92 kB / 0.5623 GB, free: 2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.881e-05/0.175, allocations: 4 kB / 0.5623 GB, free: 1.996 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001549/0.1752, allocations: 149.5 kB / 0.5624 GB, free: 1.852 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1752, allocations: 0 / 0.5624 GB, free: 1.852 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002637/0.1755, allocations: 20 kB / 0.5624 GB, free: 1.832 MB / 414.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.002291/0.1778, allocations: 1.082 MB / 0.5635 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002033/0.178, allocations: 55.86 kB / 0.5635 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.178, allocations: 4.062 kB / 0.5635 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.139e-05/0.178, allocations: 35.91 kB / 0.5636 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003777/0.1784, allocations: 40.98 kB / 0.5636 GB, free: 0.7734 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002165/0.1806, allocations: 1.658 MB / 0.5652 GB, free: 15.02 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004112/0.181, allocations: 0.7041 MB / 0.5659 GB, free: 14.29 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.787e-05/0.1811, allocations: 25.17 kB / 0.5659 GB, free: 14.26 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.456e-05/0.1811, allocations: 35.42 kB / 0.566 GB, free: 14.23 MB / 430.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1811, allocations: 0 / 0.566 GB, free: 14.23 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02694/0.2081, allocations: 3.483 MB / 0.5694 GB, free: 10.81 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.058/8.266, allocations: 8.062 kB / 0.5694 GB, free: 10.8 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test32.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test32_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test32.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.44786755880341] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.385585248935968 8.399793666 8.227690476 Calling exit ...