Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test7.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.00158/0.00158, allocations: 118.6 kB / 18.5 MB, free: 4.566 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.001453/0.001453, allocations: 214.6 kB / 21.46 MB, free: 1.605 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.538/1.538, 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.2524/0.2524, allocations: 46.88 MB / 357.4 MB, free: 10.51 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.CombiTable2Dv.Test7,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test7,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test7",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.002291/0.002291, allocations: 87.8 kB / 0.4912 GB, free: 8.512 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1454/0.1477, allocations: 65.98 MB / 0.5557 GB, free: 6.41 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.003247/0.1509, allocations: 1.618 MB / 0.5573 GB, free: 4.777 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00111/0.152, allocations: 0.5684 MB / 0.5578 GB, free: 4.207 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.319e-05/0.1521, allocations: 3.938 kB / 0.5578 GB, free: 4.203 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006024/0.1527, allocations: 451.1 kB / 0.5582 GB, free: 3.762 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000496/0.1532, allocations: 295.3 kB / 0.5585 GB, free: 3.473 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004535/0.1536, allocations: 170.3 kB / 0.5587 GB, free: 3.312 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002619/0.1539, allocations: 175.6 kB / 0.5589 GB, free: 3.141 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.154, allocations: 4 kB / 0.5589 GB, free: 3.137 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001352/0.1542, allocations: 111.8 kB / 0.559 GB, free: 3.027 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002861/0.1544, allocations: 247.5 kB / 0.5592 GB, free: 2.785 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.608e-05/0.1545, allocations: 0 / 0.5592 GB, free: 2.785 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.477e-05/0.1545, allocations: 28 kB / 0.5592 GB, free: 2.758 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001093/0.1546, allocations: 83.62 kB / 0.5593 GB, free: 2.676 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001255/0.1548, allocations: 115 kB / 0.5594 GB, free: 2.562 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003894/0.1552, allocations: 246.7 kB / 0.5596 GB, free: 2.32 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.1552, allocations: 0 / 0.5596 GB, free: 2.32 MB / 414.1 MB Notification: Performance of FrontEnd: time 9.02e-07/0.1552, allocations: 0 / 0.5596 GB, free: 2.32 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.633e-06/0.1552, allocations: 3.938 kB / 0.5597 GB, free: 2.316 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.0008435/0.156, allocations: 0.6607 MB / 0.5603 GB, free: 1.602 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.1561, allocations: 8.031 kB / 0.5603 GB, free: 1.594 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.913e-05/0.1561, allocations: 34.75 kB / 0.5603 GB, free: 1.551 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.94e-05/0.1562, allocations: 44.66 kB / 0.5604 GB, free: 1.508 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003384/0.1565, allocations: 304.6 kB / 0.5607 GB, free: 1.172 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.789e-06/0.1565, allocations: 4.375 kB / 0.5607 GB, free: 1.168 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.393e-05/0.1565, allocations: 12.3 kB / 0.5607 GB, free: 1.156 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001584/0.1567, allocations: 46.25 kB / 0.5607 GB, free: 1.105 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.1567, allocations: 7.938 kB / 0.5607 GB, free: 1.098 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.937e-06/0.1567, allocations: 0 / 0.5607 GB, free: 1.098 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.1567, allocations: 0 / 0.5607 GB, free: 1.098 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.983e-05/0.1568, allocations: 23.92 kB / 0.5608 GB, free: 1.074 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005551/0.1574, allocations: 392.8 kB / 0.5611 GB, free: 0.6406 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.148e-05/0.1574, allocations: 30.56 kB / 0.5612 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.098e-05/0.1575, allocations: 20.91 kB / 0.5612 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.133e-05/0.1575, allocations: 0 / 0.5612 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.325e-05/0.1576, allocations: 34.5 kB / 0.5612 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of pre-optimization done (n=2): time 6.91e-07/0.1576, allocations: 0 / 0.5612 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002742/0.1578, allocations: 109.3 kB / 0.5613 GB, free: 432 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.196e-05/0.1579, allocations: 51.41 kB / 0.5614 GB, free: 368 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008946/0.1588, allocations: 0.8738 MB / 0.5622 GB, free: 15.47 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.806e-05/0.1588, allocations: 25.7 kB / 0.5622 GB, free: 15.44 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001807/0.159, allocations: 228.1 kB / 0.5625 GB, free: 15.21 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.986e-05/0.159, allocations: 7.953 kB / 0.5625 GB, free: 15.21 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.271e-05/0.159, allocations: 13.72 kB / 0.5625 GB, free: 15.19 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001697/0.1592, allocations: 370.8 kB / 0.5628 GB, free: 14.82 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.306e-05/0.1592, allocations: 8 kB / 0.5628 GB, free: 14.81 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.523e-05/0.1593, allocations: 7.984 kB / 0.5629 GB, free: 14.8 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.511e-05/0.1593, allocations: 36.78 kB / 0.5629 GB, free: 14.76 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.656e-06/0.1594, allocations: 4 kB / 0.5629 GB, free: 14.76 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001557/0.1595, allocations: 89.47 kB / 0.563 GB, free: 14.66 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/0.1595, allocations: 16.02 kB / 0.563 GB, free: 14.65 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.1595, allocations: 0 / 0.563 GB, free: 14.65 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.1596, allocations: 0 / 0.563 GB, free: 14.65 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.368e-05/0.1596, allocations: 4 kB / 0.563 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.1596, allocations: 0 / 0.563 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.244e-05/0.1597, allocations: 7.938 kB / 0.563 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.633e-06/0.1597, allocations: 0 / 0.563 GB, free: 14.64 MB / 430.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 (2): * Single equations (assignments): 2 * 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.0001988/0.1599, allocations: 213.7 kB / 0.5632 GB, free: 14.42 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.38e-05/0.16, allocations: 47.67 kB / 0.5633 GB, free: 14.37 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002179/0.1602, allocations: 116.7 kB / 0.5634 GB, free: 14.25 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.1602, allocations: 3.938 kB / 0.5634 GB, free: 14.25 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.1602, allocations: 3.938 kB / 0.5634 GB, free: 14.24 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.1602, allocations: 0 / 0.5634 GB, free: 14.24 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003304/0.1605, allocations: 293.5 kB / 0.5637 GB, free: 13.91 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.1605, allocations: 0 / 0.5637 GB, free: 13.91 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.835e-05/0.1605, allocations: 7.984 kB / 0.5637 GB, free: 13.9 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.1605, allocations: 0 / 0.5637 GB, free: 13.9 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.1606, allocations: 4.031 kB / 0.5637 GB, free: 13.89 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.1606, allocations: 4 kB / 0.5637 GB, free: 13.89 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1606, allocations: 0 / 0.5637 GB, free: 13.89 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000208/0.1608, allocations: 199.1 kB / 0.5639 GB, free: 13.68 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.707e-05/0.1609, allocations: 108.8 kB / 0.564 GB, free: 13.55 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.369e-05/0.1609, allocations: 0 / 0.564 GB, free: 13.55 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.048e-05/0.161, allocations: 8 kB / 0.564 GB, free: 13.55 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.223e-05/0.161, allocations: 8.016 kB / 0.564 GB, free: 13.54 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-06/0.161, allocations: 0 / 0.564 GB, free: 13.54 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006471/0.1616, allocations: 0.6628 MB / 0.5646 GB, free: 12.88 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1616, allocations: 0 / 0.5646 GB, free: 12.88 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002448/0.1619, allocations: 16 kB / 0.5646 GB, free: 12.86 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 (2): * Single equations (assignments): 2 * 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.001625/0.1635, allocations: 0.9751 MB / 0.5656 GB, free: 11.98 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001492/0.1637, allocations: 31.91 kB / 0.5656 GB, free: 11.95 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.1637, allocations: 8 kB / 0.5656 GB, free: 11.95 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 3.941e-05/0.1637, allocations: 11.94 kB / 0.5656 GB, free: 11.93 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003849/0.1641, allocations: 26.23 kB / 0.5657 GB, free: 11.91 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003771/0.1678, allocations: 3.187 MB / 0.5688 GB, free: 8.633 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005095/0.1684, allocations: 0.8182 MB / 0.5696 GB, free: 7.789 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.41e-05/0.1684, allocations: 15.73 kB / 0.5696 GB, free: 7.773 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001448/0.1686, allocations: 119.4 kB / 0.5697 GB, free: 7.656 MB / 430.1 MB Notification: Performance of SimCode: time 1.253e-06/0.1686, allocations: 0 / 0.5697 GB, free: 7.656 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02847/0.197, allocations: 5.828 MB / 0.5754 GB, free: 1.879 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.514/8.711, allocations: 0 / 0.5754 GB, free: 1.879 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test7_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test7.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.897077516186982] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'clock.y', 'const.y'] 8.831896930001676 8.846745146 8.688623252 Calling exit ...