Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test11.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.001504/0.001504, allocations: 109 kB / 21.23 MB, free: 0.6641 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.001525/0.001525, allocations: 213.9 kB / 24.54 MB, free: 4.02 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.517/1.517, allocations: 230.5 MB / 258.2 MB, free: 8.016 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.2427/0.2427, allocations: 46.94 MB / 361.6 MB, free: 4.207 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.Test11,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test11,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test11",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.003553/0.003553, allocations: 79.88 kB / 0.497 GB, free: 7.762 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3514/0.3549, allocations: 66.08 MB / 0.5615 GB, free: 4.316 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test11): time 0.003185/0.3581, allocations: 1.679 MB / 0.5632 GB, free: 2.633 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002062/0.3602, allocations: 1.298 MB / 0.5644 GB, free: 1.332 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.386e-05/0.3603, allocations: 4 kB / 0.5644 GB, free: 1.328 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002323/0.3605, allocations: 19.86 kB / 0.5645 GB, free: 1.309 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003067/0.3608, allocations: 87.61 kB / 0.5645 GB, free: 1.223 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004603/0.3613, allocations: 175.1 kB / 0.5647 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001977/0.3614, allocations: 87.69 kB / 0.5648 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001287/0.3616, allocations: 9.969 kB / 0.5648 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.14e-05/0.3616, allocations: 27.92 kB / 0.5648 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001613/0.3618, allocations: 43.83 kB / 0.5649 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.944e-05/0.3618, allocations: 11.94 kB / 0.5649 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001864/0.362, allocations: 103.9 kB / 0.565 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.494e-05/0.3621, allocations: 15.98 kB / 0.565 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.511e-05/0.3621, allocations: 35.73 kB / 0.565 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002761/0.3624, allocations: 151.5 kB / 0.5652 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3624, allocations: 0 / 0.5652 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3624, allocations: 3.938 kB / 0.5652 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.3624, allocations: 0 / 0.5652 GB, free: 0.5742 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005848/0.363, allocations: 353.5 kB / 0.5655 GB, free: 200 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.363, allocations: 12.03 kB / 0.5655 GB, free: 188 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.476e-05/0.3631, allocations: 30.75 kB / 0.5656 GB, free: 148 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.393e-05/0.3631, allocations: 12.88 kB / 0.5656 GB, free: 136 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002382/0.3634, allocations: 145.2 kB / 0.5657 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.005e-05/0.3634, allocations: 384 / 0.5657 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.805e-05/0.3634, allocations: 4.375 kB / 0.5657 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002017/0.3636, allocations: 85 kB / 0.5658 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.3636, allocations: 4 kB / 0.5658 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.3636, allocations: 0 / 0.5658 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.3636, allocations: 0 / 0.5658 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001436/0.3638, allocations: 47.89 kB / 0.5658 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004506/0.3642, allocations: 283.9 kB / 0.5661 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001372/0.3643, allocations: 46.5 kB / 0.5662 GB, free: 15.44 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.138e-05/0.3644, allocations: 28.88 kB / 0.5662 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.104e-05/0.3644, allocations: 0 / 0.5662 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.582e-05/0.3645, allocations: 42.48 kB / 0.5662 GB, free: 15.36 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 9.41e-07/0.3645, allocations: 0 / 0.5662 GB, free: 15.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007994/0.3653, allocations: 233.2 kB / 0.5664 GB, free: 15.12 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.191e-05/0.3654, allocations: 77.11 kB / 0.5665 GB, free: 15.03 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000178/0.3655, allocations: 163.9 kB / 0.5667 GB, free: 14.86 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.979e-05/0.3656, allocations: 25.7 kB / 0.5667 GB, free: 14.83 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.019e-05/0.3656, allocations: 96.12 kB / 0.5668 GB, free: 14.73 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.147e-05/0.3657, allocations: 31.75 kB / 0.5668 GB, free: 14.7 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.465e-05/0.3657, allocations: 21.8 kB / 0.5668 GB, free: 14.68 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.3659, allocations: 318.8 kB / 0.5671 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001282/0.366, allocations: 47.94 kB / 0.5672 GB, free: 14.31 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001255/0.3661, allocations: 49.69 kB / 0.5672 GB, free: 14.25 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002213/0.3663, allocations: 92.77 kB / 0.5673 GB, free: 14.16 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.3663, allocations: 0 / 0.5673 GB, free: 14.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002939/0.3666, allocations: 125.5 kB / 0.5674 GB, free: 14.03 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/0.3666, allocations: 10.34 kB / 0.5675 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.3667, allocations: 0 / 0.5675 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.3667, allocations: 4 kB / 0.5675 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001345/0.3668, allocations: 19.98 kB / 0.5675 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.3668, allocations: 0 / 0.5675 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.931e-05/0.3669, allocations: 7.984 kB / 0.5675 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.678e-06/0.3669, allocations: 4 kB / 0.5675 GB, free: 13.99 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 (7): * Single equations (assignments): 7 * 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.0001186/0.367, allocations: 130.6 kB / 0.5676 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.818e-05/0.367, allocations: 7.953 kB / 0.5676 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003661/0.3674, allocations: 146.6 kB / 0.5678 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.3674, allocations: 0 / 0.5678 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.3674, allocations: 0 / 0.5678 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.3674, allocations: 0 / 0.5678 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005893/0.368, allocations: 397.5 kB / 0.5681 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.368, allocations: 4 kB / 0.5681 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.418e-05/0.3681, allocations: 19.98 kB / 0.5682 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.195e-06/0.3681, allocations: 0 / 0.5682 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.328e-06/0.3681, allocations: 7.938 kB / 0.5682 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.3681, allocations: 0 / 0.5682 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.3681, allocations: 0 / 0.5682 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003357/0.3684, allocations: 231.4 kB / 0.5684 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.308e-05/0.3685, allocations: 19.83 kB / 0.5684 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.285e-05/0.3685, allocations: 4 kB / 0.5684 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.794e-05/0.3686, allocations: 12.27 kB / 0.5684 GB, free: 12.94 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.837e-05/0.3686, allocations: 3.984 kB / 0.5684 GB, free: 12.94 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.073e-06/0.3686, allocations: 4 kB / 0.5684 GB, free: 12.93 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001311/0.3688, allocations: 121.5 kB / 0.5686 GB, free: 12.82 MB / 414.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.3688, allocations: 0 / 0.5686 GB, free: 12.82 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003082/0.3691, allocations: 47.81 kB / 0.5686 GB, free: 12.77 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 (7): * Single equations (assignments): 7 * 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.002264/0.3713, allocations: 1.132 MB / 0.5697 GB, free: 11.78 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003251/0.3717, allocations: 99.84 kB / 0.5698 GB, free: 11.68 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3717, allocations: 0 / 0.5698 GB, free: 11.68 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000126/0.3718, allocations: 43.97 kB / 0.5698 GB, free: 11.64 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003762/0.3722, allocations: 19.36 kB / 0.5699 GB, free: 11.62 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002258/0.3744, allocations: 1.667 MB / 0.5715 GB, free: 9.871 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003394/0.3748, allocations: 0.7039 MB / 0.5722 GB, free: 9.141 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.938e-05/0.3749, allocations: 24.73 kB / 0.5722 GB, free: 9.117 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.327e-05/0.3749, allocations: 35.41 kB / 0.5722 GB, free: 9.082 MB / 414.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3749, allocations: 0 / 0.5722 GB, free: 9.082 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02925/0.4042, allocations: 3.679 MB / 0.5758 GB, free: 5.375 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.978/8.383, allocations: 4.062 kB / 0.5758 GB, free: 5.371 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test11_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test11_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test11.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.427983514033258] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'clock1.y', 'clock2.y'] 8.522534233052284 8.536046248 8.170444617 Calling exit ...