Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test20.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.001966/0.001966, allocations: 109.3 kB / 19.8 MB, free: 2.5 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.002622/0.002622, allocations: 214 kB / 23 MB, free: 5.582 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.49/1.49, allocations: 230.2 MB / 256.2 MB, free: 8.531 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.234/0.234, allocations: 46.9 MB / 359.4 MB, free: 4.902 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.Test20,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test20,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test20",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.002634/0.002634, allocations: 79.88 kB / 0.4941 GB, free: 8.996 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3397/0.3423, allocations: 65.99 MB / 0.5586 GB, free: 5.156 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test20): time 0.003668/0.346, allocations: 2.067 MB / 0.5606 GB, free: 3.078 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002049/0.348, allocations: 1.142 MB / 0.5617 GB, free: 1.934 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001336/0.3482, allocations: 11.94 kB / 0.5617 GB, free: 1.922 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005153/0.3487, allocations: 259.1 kB / 0.562 GB, free: 1.668 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005668/0.3493, allocations: 263.1 kB / 0.5622 GB, free: 1.41 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00147/0.3507, allocations: 0.6487 MB / 0.5629 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005053/0.3512, allocations: 350.9 kB / 0.5632 GB, free: 444 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001617/0.3514, allocations: 58.55 kB / 0.5632 GB, free: 388 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001814/0.3516, allocations: 151.4 kB / 0.5634 GB, free: 236 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002674/0.3518, allocations: 231.2 kB / 0.5636 GB, free: 4 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.248e-05/0.3519, allocations: 12.05 kB / 0.5636 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001693/0.3521, allocations: 63.94 kB / 0.5637 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000137/0.3522, allocations: 111.5 kB / 0.5638 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001236/0.3523, allocations: 138.9 kB / 0.5639 GB, free: 15.68 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004717/0.3528, allocations: 366.1 kB / 0.5643 GB, free: 15.32 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.3528, allocations: 0 / 0.5643 GB, free: 15.32 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3528, allocations: 0 / 0.5643 GB, free: 15.32 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.554e-06/0.3528, allocations: 0 / 0.5643 GB, free: 15.32 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.000881/0.3537, allocations: 0.7073 MB / 0.565 GB, free: 14.56 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.3537, allocations: 8.031 kB / 0.565 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.044e-05/0.3538, allocations: 46.73 kB / 0.565 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.383e-05/0.3539, allocations: 44.66 kB / 0.5651 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003981/0.3543, allocations: 350.4 kB / 0.5654 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.477e-05/0.3543, allocations: 12.38 kB / 0.5654 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.048e-05/0.3543, allocations: 12.38 kB / 0.5654 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002588/0.3546, allocations: 122.1 kB / 0.5655 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.933e-05/0.3546, allocations: 11.89 kB / 0.5655 GB, free: 13.91 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.3546, allocations: 0 / 0.5655 GB, free: 13.91 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.235e-06/0.3546, allocations: 7.984 kB / 0.5656 GB, free: 13.91 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002031/0.3548, allocations: 95.86 kB / 0.5656 GB, free: 13.81 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007325/0.3555, allocations: 0.5199 MB / 0.5662 GB, free: 13.24 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002029/0.3557, allocations: 110.5 kB / 0.5663 GB, free: 13.12 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.107e-05/0.3558, allocations: 32.84 kB / 0.5663 GB, free: 13.09 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.858e-05/0.3559, allocations: 4 kB / 0.5663 GB, free: 13.09 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.903e-05/0.3559, allocations: 34.56 kB / 0.5663 GB, free: 13.04 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.343e-06/0.3559, allocations: 0 / 0.5663 GB, free: 13.04 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.001082/0.357, allocations: 466.9 kB / 0.5668 GB, free: 12.58 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.668e-05/0.357, allocations: 55.41 kB / 0.5668 GB, free: 12.52 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006812/0.3577, allocations: 0.6112 MB / 0.5674 GB, free: 11.89 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.505e-05/0.3577, allocations: 25.7 kB / 0.5674 GB, free: 11.86 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001653/0.3579, allocations: 212.4 kB / 0.5676 GB, free: 11.65 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.7e-05/0.3579, allocations: 55.5 kB / 0.5677 GB, free: 11.59 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.442e-05/0.358, allocations: 41.7 kB / 0.5677 GB, free: 11.55 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001696/0.3582, allocations: 354.8 kB / 0.5681 GB, free: 11.19 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001466/0.3583, allocations: 67.95 kB / 0.5681 GB, free: 11.12 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001375/0.3585, allocations: 67.95 kB / 0.5682 GB, free: 11.06 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002964/0.3588, allocations: 151.1 kB / 0.5684 GB, free: 10.91 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.3588, allocations: 0 / 0.5684 GB, free: 10.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004399/0.3592, allocations: 241.1 kB / 0.5686 GB, free: 10.67 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.3592, allocations: 8 kB / 0.5686 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.3592, allocations: 0 / 0.5686 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.3592, allocations: 0 / 0.5686 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001581/0.3594, allocations: 39.92 kB / 0.5686 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.3594, allocations: 0 / 0.5686 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.664e-05/0.3595, allocations: 15.92 kB / 0.5686 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.639e-05/0.3595, allocations: 8 kB / 0.5686 GB, free: 10.6 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 (17): * Single equations (assignments): 17 * 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.0002063/0.3597, allocations: 189.7 kB / 0.5688 GB, free: 10.4 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.263e-05/0.3598, allocations: 47.61 kB / 0.5689 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000574/0.3604, allocations: 277.8 kB / 0.5691 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.062e-06/0.3604, allocations: 4 kB / 0.5691 GB, free: 10.06 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.3604, allocations: 0 / 0.5691 GB, free: 10.06 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.3604, allocations: 0 / 0.5691 GB, free: 10.06 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001049/0.3614, allocations: 0.6917 MB / 0.5698 GB, free: 9.316 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.3614, allocations: 0 / 0.5698 GB, free: 9.316 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001286/0.3616, allocations: 43.84 kB / 0.5699 GB, free: 9.273 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.3616, allocations: 0 / 0.5699 GB, free: 9.273 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.556e-05/0.3616, allocations: 8 kB / 0.5699 GB, free: 9.266 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.3616, allocations: 0 / 0.5699 GB, free: 9.266 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3616, allocations: 0 / 0.5699 GB, free: 9.266 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005038/0.3621, allocations: 343 kB / 0.5702 GB, free: 8.914 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001121/0.3622, allocations: 124.8 kB / 0.5703 GB, free: 8.773 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.361e-05/0.3622, allocations: 0 / 0.5703 GB, free: 8.773 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000112/0.3624, allocations: 8 kB / 0.5703 GB, free: 8.766 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.22e-05/0.3624, allocations: 15.92 kB / 0.5703 GB, free: 8.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.789e-05/0.3624, allocations: 11.98 kB / 0.5703 GB, free: 8.738 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005073/0.3629, allocations: 450.8 kB / 0.5708 GB, free: 8.301 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3629, allocations: 0 / 0.5708 GB, free: 8.301 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003274/0.3632, allocations: 55.94 kB / 0.5708 GB, free: 8.246 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 (17): * Single equations (assignments): 17 * 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.003401/0.3666, allocations: 1.464 MB / 0.5723 GB, free: 7.059 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004214/0.3671, allocations: 167.8 kB / 0.5724 GB, free: 6.895 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.3671, allocations: 3.938 kB / 0.5724 GB, free: 6.891 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001672/0.3672, allocations: 83.89 kB / 0.5725 GB, free: 6.809 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006176/0.3679, allocations: 82.56 kB / 0.5726 GB, free: 6.742 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004832/0.3727, allocations: 3.339 MB / 0.5758 GB, free: 3.324 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005301/0.3732, allocations: 0.8299 MB / 0.5767 GB, free: 2.469 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001906/0.3734, allocations: 66.17 kB / 0.5767 GB, free: 2.402 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002166/0.3736, allocations: 139.4 kB / 0.5769 GB, free: 2.266 MB / 414.1 MB Notification: Performance of SimCode: time 1.012e-06/0.3736, allocations: 0 / 0.5769 GB, free: 2.266 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03177/0.4054, allocations: 7.914 MB / 0.5846 GB, free: 10.37 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.677/9.082, allocations: 7.375 kB / 0.5846 GB, free: 10.36 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test20_res.csv --start-time 0 --stop-time 6 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00119952 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test20.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.972041820001323] Failed to read output from testmodel.py, exit status != 0: ['time', 'combiTable2D1D.y[1]', 'combiTable2D1DT.y[1]', 'clock1.y', 'combiTable1D.y[1]', 'combiTable2D.y[1]', 'combiTable2DT.y[1]', 'der1.y', 'der2.y', 'der3.y', 'der4.y', 'der5.y'] 9.211046023003291 9.230801717 8.874746099 Calling exit ...