Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test35.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.001774/0.001774, allocations: 121.4 kB / 18.5 MB, free: 4.52 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.002262/0.002262, allocations: 213.6 kB / 21.46 MB, free: 1.566 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.466/1.466, allocations: 230.2 MB / 254.5 MB, free: 15.4 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.2237/0.2237, allocations: 46.92 MB / 357.5 MB, free: 10.46 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.CombiTable1Dv.Test35,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test35",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test35,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test35",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.003228/0.003228, allocations: 77.22 kB / 0.4914 GB, free: 26.98 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1514/0.1546, allocations: 66 MB / 0.5558 GB, free: 9.117 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test35): time 0.00451/0.1591, allocations: 1.609 MB / 0.5574 GB, free: 7.492 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00201/0.1612, allocations: 1.179 MB / 0.5585 GB, free: 6.309 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.452e-05/0.1612, allocations: 8 kB / 0.5586 GB, free: 6.301 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002432/0.1615, allocations: 23.84 kB / 0.5586 GB, free: 6.277 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003571/0.1618, allocations: 83.61 kB / 0.5587 GB, free: 6.195 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003272/0.1622, allocations: 111.2 kB / 0.5588 GB, free: 6.09 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001883/0.1623, allocations: 71.77 kB / 0.5588 GB, free: 6.02 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.1625, allocations: 8.281 kB / 0.5588 GB, free: 6.012 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.402e-05/0.1625, allocations: 23.92 kB / 0.5589 GB, free: 5.988 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001907/0.1627, allocations: 39.83 kB / 0.5589 GB, free: 5.949 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.801e-05/0.1627, allocations: 11.94 kB / 0.5589 GB, free: 5.938 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001856/0.1629, allocations: 91.88 kB / 0.559 GB, free: 5.848 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.246e-05/0.163, allocations: 19.92 kB / 0.559 GB, free: 5.828 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.423e-05/0.163, allocations: 23.86 kB / 0.559 GB, free: 5.805 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002964/0.1633, allocations: 139.5 kB / 0.5592 GB, free: 5.668 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.1633, allocations: 4 kB / 0.5592 GB, free: 5.664 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1633, allocations: 0 / 0.5592 GB, free: 5.664 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.288e-05/0.1633, allocations: 0 / 0.5592 GB, free: 5.664 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.0006555/0.164, allocations: 406.7 kB / 0.5596 GB, free: 5.215 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.164, allocations: 8.031 kB / 0.5596 GB, free: 5.207 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.242e-05/0.1641, allocations: 42.73 kB / 0.5596 GB, free: 5.156 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.545e-05/0.1641, allocations: 4.891 kB / 0.5596 GB, free: 5.152 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002461/0.1644, allocations: 201.7 kB / 0.5598 GB, free: 4.918 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/0.1644, allocations: 4.375 kB / 0.5598 GB, free: 4.914 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.809e-05/0.1644, allocations: 4.375 kB / 0.5598 GB, free: 4.91 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001629/0.1646, allocations: 55.97 kB / 0.5599 GB, free: 4.844 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2e-05/0.1646, allocations: 11.88 kB / 0.5599 GB, free: 4.832 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.1646, allocations: 3.984 kB / 0.5599 GB, free: 4.828 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.1646, allocations: 4 kB / 0.5599 GB, free: 4.824 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001222/0.1647, allocations: 23.98 kB / 0.5599 GB, free: 4.801 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005634/0.1653, allocations: 276.9 kB / 0.5602 GB, free: 4.48 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002805/0.1656, allocations: 46.5 kB / 0.5602 GB, free: 4.426 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.705e-05/0.1656, allocations: 24.94 kB / 0.5602 GB, free: 4.398 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.735e-05/0.1656, allocations: 0 / 0.5602 GB, free: 4.398 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.491e-05/0.1657, allocations: 30.56 kB / 0.5603 GB, free: 4.359 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 8.72e-07/0.1657, allocations: 0 / 0.5603 GB, free: 4.359 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006503/0.1663, allocations: 157.3 kB / 0.5604 GB, free: 4.199 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.387e-05/0.1664, allocations: 81.11 kB / 0.5605 GB, free: 4.102 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001845/0.1666, allocations: 149.8 kB / 0.5606 GB, free: 3.945 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.1666, allocations: 25.7 kB / 0.5607 GB, free: 3.914 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.227e-05/0.1667, allocations: 92.14 kB / 0.5608 GB, free: 3.82 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.552e-05/0.1667, allocations: 15.86 kB / 0.5608 GB, free: 3.805 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.616e-05/0.1667, allocations: 21.7 kB / 0.5608 GB, free: 3.777 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000158/0.1669, allocations: 318.8 kB / 0.5611 GB, free: 3.457 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.494e-05/0.167, allocations: 27.97 kB / 0.5611 GB, free: 3.43 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.513e-05/0.1671, allocations: 37.7 kB / 0.5612 GB, free: 3.387 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001582/0.1672, allocations: 52.83 kB / 0.5612 GB, free: 3.332 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.1672, allocations: 192 / 0.5612 GB, free: 3.332 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002165/0.1674, allocations: 93.55 kB / 0.5613 GB, free: 3.234 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.1675, allocations: 5.719 kB / 0.5613 GB, free: 3.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.1675, allocations: 0 / 0.5613 GB, free: 3.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.1675, allocations: 4.031 kB / 0.5613 GB, free: 3.227 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.125e-05/0.1675, allocations: 27.86 kB / 0.5613 GB, free: 3.199 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.1675, allocations: 0 / 0.5613 GB, free: 3.199 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.801e-05/0.1676, allocations: 4 kB / 0.5613 GB, free: 3.195 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.304e-06/0.1676, allocations: 0 / 0.5613 GB, free: 3.195 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 0.0001101/0.1677, allocations: 125.7 kB / 0.5615 GB, free: 3.062 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.812e-05/0.1677, allocations: 7.953 kB / 0.5615 GB, free: 3.055 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002805/0.168, allocations: 101.9 kB / 0.5616 GB, free: 2.945 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.168, allocations: 0 / 0.5616 GB, free: 2.945 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.168, allocations: 0 / 0.5616 GB, free: 2.945 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.7e-06/0.168, allocations: 3.984 kB / 0.5616 GB, free: 2.941 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005299/0.1686, allocations: 354.5 kB / 0.5619 GB, free: 2.539 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.1686, allocations: 0 / 0.5619 GB, free: 2.539 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.421e-05/0.1686, allocations: 19.92 kB / 0.5619 GB, free: 2.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.1686, allocations: 0 / 0.5619 GB, free: 2.52 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.1687, allocations: 8 kB / 0.5619 GB, free: 2.512 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.1687, allocations: 0 / 0.5619 GB, free: 2.512 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/0.1687, allocations: 3.938 kB / 0.5619 GB, free: 2.508 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002846/0.1689, allocations: 179.7 kB / 0.5621 GB, free: 2.316 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.808e-05/0.169, allocations: 89.05 kB / 0.5622 GB, free: 2.211 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.645e-05/0.169, allocations: 4 kB / 0.5622 GB, free: 2.207 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.084e-05/0.1691, allocations: 12 kB / 0.5622 GB, free: 2.195 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.55e-05/0.1692, allocations: 7.922 kB / 0.5622 GB, free: 2.188 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.743e-06/0.1692, allocations: 4 kB / 0.5622 GB, free: 2.184 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001296/0.1693, allocations: 107.3 kB / 0.5623 GB, free: 2.078 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1693, allocations: 0 / 0.5623 GB, free: 2.078 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003203/0.1696, allocations: 39.86 kB / 0.5624 GB, free: 2.039 MB / 414.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.002347/0.172, allocations: 1.103 MB / 0.5634 GB, free: 1.078 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002465/0.1722, allocations: 43.97 kB / 0.5635 GB, free: 1.035 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1722, allocations: 0 / 0.5635 GB, free: 1.035 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.917e-05/0.1723, allocations: 31.91 kB / 0.5635 GB, free: 1.004 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004132/0.1727, allocations: 15.94 kB / 0.5635 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001928/0.1746, allocations: 1.456 MB / 0.5649 GB, free: 15.45 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003443/0.175, allocations: 0.6885 MB / 0.5656 GB, free: 14.73 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.365e-05/0.1751, allocations: 19.77 kB / 0.5656 GB, free: 14.71 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.632e-05/0.1751, allocations: 31.36 kB / 0.5657 GB, free: 14.69 MB / 430.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1751, allocations: 4 kB / 0.5657 GB, free: 14.68 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02795/0.2031, allocations: 3.272 MB / 0.5689 GB, free: 11.43 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.87/8.073, allocations: 7.719 kB / 0.5689 GB, free: 11.43 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test35.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test35.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test35.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test35.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test35_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test35_fmu --startTime=0 --stopTime=100 --stepSize=0.019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test35.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test35.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.031731594004668] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'clock.y'] 8.195308796013705 8.209367217 8.042792759 Calling exit ...