Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test23.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.001801/0.001801, allocations: 121.3 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.00226/0.00226, 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.536/1.536, allocations: 230.2 MB / 254.5 MB, free: 15.26 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.2359/0.2359, allocations: 46.88 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.Tables.CombiTable1Ds.Test23,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test23,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test23",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.002821/0.002821, allocations: 79.88 kB / 0.4912 GB, free: 8.652 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1446/0.1475, allocations: 65.98 MB / 0.5557 GB, free: 6.539 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test23): time 0.00317/0.1506, allocations: 1.61 MB / 0.5573 GB, free: 4.914 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001798/0.1524, allocations: 1.163 MB / 0.5584 GB, free: 3.746 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.113e-05/0.1525, allocations: 8 kB / 0.5584 GB, free: 3.738 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002366/0.1527, allocations: 19.86 kB / 0.5584 GB, free: 3.719 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000288/0.153, allocations: 83.61 kB / 0.5585 GB, free: 3.637 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002806/0.1533, allocations: 95.31 kB / 0.5586 GB, free: 3.547 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001589/0.1534, allocations: 71.77 kB / 0.5587 GB, free: 3.477 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.1535, allocations: 8 kB / 0.5587 GB, free: 3.469 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.091e-05/0.1536, allocations: 23.91 kB / 0.5587 GB, free: 3.445 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001472/0.1537, allocations: 31.84 kB / 0.5587 GB, free: 3.414 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.732e-05/0.1538, allocations: 4 kB / 0.5587 GB, free: 3.41 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001995/0.154, allocations: 107.9 kB / 0.5588 GB, free: 3.305 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.765e-05/0.154, allocations: 15.92 kB / 0.5588 GB, free: 3.289 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 3.86e-05/0.1541, allocations: 23.86 kB / 0.5589 GB, free: 3.266 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002519/0.1543, allocations: 139.5 kB / 0.559 GB, free: 3.129 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1543, allocations: 0 / 0.559 GB, free: 3.129 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1543, allocations: 0 / 0.559 GB, free: 3.129 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.641e-06/0.1543, allocations: 0 / 0.559 GB, free: 3.129 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005702/0.1549, allocations: 406.7 kB / 0.5594 GB, free: 2.68 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.1549, allocations: 12.03 kB / 0.5594 GB, free: 2.668 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.895e-05/0.155, allocations: 38.73 kB / 0.5594 GB, free: 2.621 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.852e-05/0.155, allocations: 12.89 kB / 0.5594 GB, free: 2.609 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000229/0.1552, allocations: 192.2 kB / 0.5596 GB, free: 2.383 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/0.1553, allocations: 384 / 0.5596 GB, free: 2.383 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.931e-05/0.1553, allocations: 4.375 kB / 0.5596 GB, free: 2.379 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001577/0.1554, allocations: 59.97 kB / 0.5597 GB, free: 2.309 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.1554, allocations: 3.938 kB / 0.5597 GB, free: 2.305 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.606e-06/0.1555, allocations: 0 / 0.5597 GB, free: 2.305 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.147e-06/0.1555, allocations: 3.938 kB / 0.5597 GB, free: 2.301 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.939e-05/0.1555, allocations: 27.97 kB / 0.5597 GB, free: 2.273 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003961/0.1559, allocations: 280.8 kB / 0.56 GB, free: 1.949 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002126/0.1562, allocations: 38.56 kB / 0.56 GB, free: 1.902 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.304e-05/0.1562, allocations: 20.88 kB / 0.56 GB, free: 1.879 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.298e-05/0.1562, allocations: 0 / 0.56 GB, free: 1.879 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.976e-05/0.1563, allocations: 38.56 kB / 0.5601 GB, free: 1.832 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 2.755e-06/0.1563, allocations: 3.984 kB / 0.5601 GB, free: 1.828 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005602/0.1568, allocations: 137.4 kB / 0.5602 GB, free: 1.688 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.596e-05/0.1569, allocations: 81.09 kB / 0.5603 GB, free: 1.59 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001674/0.1571, allocations: 144 kB / 0.5604 GB, free: 1.441 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/0.1571, allocations: 33.7 kB / 0.5605 GB, free: 1.402 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.862e-05/0.1571, allocations: 88.14 kB / 0.5605 GB, free: 1.312 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.718e-05/0.1572, allocations: 27.78 kB / 0.5606 GB, free: 1.285 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.553e-05/0.1572, allocations: 13.72 kB / 0.5606 GB, free: 1.266 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001565/0.1574, allocations: 326.8 kB / 0.5609 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.884e-05/0.1574, allocations: 15.98 kB / 0.5609 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.917e-05/0.1575, allocations: 37.7 kB / 0.5609 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001406/0.1577, allocations: 45.02 kB / 0.561 GB, free: 0.832 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/0.1577, allocations: 4 kB / 0.561 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001919/0.1578, allocations: 81.56 kB / 0.5611 GB, free: 0.7422 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.1579, allocations: 4 kB / 0.5611 GB, free: 0.7383 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.1579, allocations: 4 kB / 0.5611 GB, free: 0.7344 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.1579, allocations: 3.938 kB / 0.5611 GB, free: 0.7305 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.673e-05/0.1579, allocations: 16.02 kB / 0.5611 GB, free: 0.7148 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.158, allocations: 0 / 0.5611 GB, free: 0.7148 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.587e-05/0.158, allocations: 4 kB / 0.5611 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.256e-06/0.158, allocations: 4 kB / 0.5611 GB, free: 0.707 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 9.772e-05/0.1581, allocations: 121.8 kB / 0.5612 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.354e-05/0.1581, allocations: 3.953 kB / 0.5612 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000244/0.1584, allocations: 93.91 kB / 0.5613 GB, free: 484 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.1584, allocations: 4 kB / 0.5613 GB, free: 480 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.1584, allocations: 7.938 kB / 0.5613 GB, free: 472 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.1584, allocations: 0 / 0.5613 GB, free: 472 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004643/0.1589, allocations: 354.5 kB / 0.5617 GB, free: 60 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.1589, allocations: 0 / 0.5617 GB, free: 60 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.545e-05/0.1589, allocations: 11.94 kB / 0.5617 GB, free: 48 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.1589, allocations: 0 / 0.5617 GB, free: 48 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.575e-06/0.1589, allocations: 0 / 0.5617 GB, free: 48 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.1589, allocations: 7.984 kB / 0.5617 GB, free: 40 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.1589, allocations: 7.938 kB / 0.5617 GB, free: 32 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002576/0.1592, allocations: 171.7 kB / 0.5619 GB, free: 15.85 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.665e-05/0.1592, allocations: 85.06 kB / 0.5619 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.618e-05/0.1593, allocations: 11.98 kB / 0.562 GB, free: 15.73 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.215e-05/0.1593, allocations: 0 / 0.562 GB, free: 15.73 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.204e-05/0.1594, allocations: 7.938 kB / 0.562 GB, free: 15.73 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.947e-06/0.1594, allocations: 4 kB / 0.562 GB, free: 15.72 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001226/0.1595, allocations: 115.2 kB / 0.5621 GB, free: 15.61 MB / 430.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1595, allocations: 0 / 0.5621 GB, free: 15.61 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002885/0.1598, allocations: 39.86 kB / 0.5621 GB, free: 15.57 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.002187/0.162, allocations: 1.104 MB / 0.5632 GB, free: 14.62 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002127/0.1622, allocations: 39.97 kB / 0.5632 GB, free: 14.58 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.1622, allocations: 4 kB / 0.5632 GB, free: 14.57 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.552e-05/0.1623, allocations: 23.92 kB / 0.5633 GB, free: 14.55 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003854/0.1627, allocations: 21.98 kB / 0.5633 GB, free: 14.53 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001838/0.1645, allocations: 1.421 MB / 0.5647 GB, free: 13.03 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003676/0.1649, allocations: 0.6924 MB / 0.5653 GB, free: 12.31 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.69e-05/0.1649, allocations: 7.781 kB / 0.5653 GB, free: 12.3 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.531e-05/0.165, allocations: 35.34 kB / 0.5654 GB, free: 12.27 MB / 430.1 MB Notification: Performance of SimCode: time 2.91e-07/0.165, allocations: 0 / 0.5654 GB, free: 12.27 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02794/0.1929, allocations: 3.25 MB / 0.5686 GB, free: 9.043 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.158/8.351, allocations: 6.172 kB / 0.5686 GB, free: 9.039 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test23_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test23_fmu --startTime=0 --stopTime=100 --stepSize=0.019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test23.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.415374611970037] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'clock.y'] 8.480581461917609 8.50238057 8.343701281 Calling exit ...