Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001792/0.001792, allocations: 105.1 kB / 21.21 MB, free: 0.6523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002371/0.002371, allocations: 214.9 kB / 24.52 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.563/1.563, allocations: 230.6 MB / 258.3 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2236/0.2236, allocations: 44.94 MB / 359.6 MB, free: 6.117 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test60,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test60",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test60,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test60",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002084/0.002084, allocations: 67.89 kB / 0.4939 GB, free: 10.52 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3369/0.3389, allocations: 65.47 MB / 0.5578 GB, free: 7.379 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.003392/0.3423, allocations: 1.709 MB / 0.5595 GB, free: 5.84 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002659/0.345, allocations: 1.669 MB / 0.5611 GB, free: 4.164 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.334e-05/0.3451, allocations: 0 / 0.5611 GB, free: 4.164 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002789/0.3454, allocations: 27.78 kB / 0.5611 GB, free: 4.137 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003389/0.3457, allocations: 107.5 kB / 0.5612 GB, free: 4.031 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001854/0.3459, allocations: 79.66 kB / 0.5613 GB, free: 3.953 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001741/0.3461, allocations: 111.7 kB / 0.5614 GB, free: 3.844 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.856e-05/0.3461, allocations: 13.83 kB / 0.5614 GB, free: 3.832 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.097e-05/0.3462, allocations: 39.8 kB / 0.5615 GB, free: 3.793 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001411/0.3464, allocations: 55.7 kB / 0.5615 GB, free: 3.738 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.006e-05/0.3464, allocations: 4 kB / 0.5615 GB, free: 3.734 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001812/0.3466, allocations: 103.9 kB / 0.5616 GB, free: 3.633 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.078e-05/0.3466, allocations: 23.92 kB / 0.5616 GB, free: 3.609 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.055e-05/0.3467, allocations: 23.81 kB / 0.5617 GB, free: 3.586 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002859/0.347, allocations: 171.3 kB / 0.5618 GB, free: 3.418 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.347, allocations: 0 / 0.5618 GB, free: 3.418 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.347, allocations: 0 / 0.5618 GB, free: 3.418 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.347, allocations: 0 / 0.5618 GB, free: 3.418 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005523/0.3475, allocations: 345.5 kB / 0.5621 GB, free: 3.051 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.521e-05/0.3476, allocations: 19.95 kB / 0.5622 GB, free: 3.031 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.626e-05/0.3476, allocations: 4.188 kB / 0.5622 GB, free: 3.027 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.547e-05/0.3476, allocations: 34.75 kB / 0.5622 GB, free: 2.984 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.127e-05/0.3477, allocations: 12.84 kB / 0.5622 GB, free: 2.973 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002729/0.3479, allocations: 160.1 kB / 0.5624 GB, free: 2.793 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.348, allocations: 0 / 0.5624 GB, free: 2.793 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.846e-05/0.348, allocations: 4 kB / 0.5624 GB, free: 2.789 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001884/0.3482, allocations: 97.08 kB / 0.5625 GB, free: 2.676 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.3482, allocations: 4 kB / 0.5625 GB, free: 2.672 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.3482, allocations: 0 / 0.5625 GB, free: 2.672 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.3482, allocations: 0 / 0.5625 GB, free: 2.672 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.867e-05/0.3483, allocations: 23.98 kB / 0.5625 GB, free: 2.648 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003879/0.3487, allocations: 255.9 kB / 0.5627 GB, free: 2.355 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001769/0.3488, allocations: 58.67 kB / 0.5628 GB, free: 2.289 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.857e-05/0.3489, allocations: 20.84 kB / 0.5628 GB, free: 2.266 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.334e-05/0.3489, allocations: 0 / 0.5628 GB, free: 2.266 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001567/0.3491, allocations: 67.39 kB / 0.5629 GB, free: 2.188 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.3491, allocations: 0 / 0.5629 GB, free: 2.188 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005777/0.3496, allocations: 193.4 kB / 0.5631 GB, free: 1.992 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.2e-05/0.3497, allocations: 81.11 kB / 0.5631 GB, free: 1.895 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001769/0.3499, allocations: 167.8 kB / 0.5633 GB, free: 1.723 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.837e-05/0.3499, allocations: 41.62 kB / 0.5633 GB, free: 1.676 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.032e-05/0.35, allocations: 92.14 kB / 0.5634 GB, free: 1.582 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.321e-05/0.35, allocations: 31.73 kB / 0.5635 GB, free: 1.551 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.541e-05/0.3501, allocations: 21.72 kB / 0.5635 GB, free: 1.523 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.3502, allocations: 322.8 kB / 0.5638 GB, free: 1.199 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.302e-05/0.3503, allocations: 23.98 kB / 0.5638 GB, free: 1.176 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.131e-05/0.3503, allocations: 76.19 kB / 0.5639 GB, free: 1.086 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001222/0.3505, allocations: 61.73 kB / 0.5639 GB, free: 1.02 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.3505, allocations: 0 / 0.5639 GB, free: 1.02 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002033/0.3507, allocations: 105.6 kB / 0.564 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.3507, allocations: 4 kB / 0.564 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.3507, allocations: 0 / 0.564 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.3507, allocations: 3.938 kB / 0.564 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.734e-05/0.3508, allocations: 19.94 kB / 0.5641 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.219e-06/0.3508, allocations: 3.938 kB / 0.5641 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.995e-05/0.3509, allocations: 11.98 kB / 0.5641 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.3509, allocations: 4.031 kB / 0.5641 GB, free: 0.8633 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001053/0.351, allocations: 117.8 kB / 0.5642 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.003e-05/0.351, allocations: 7.953 kB / 0.5642 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002923/0.3513, allocations: 118.3 kB / 0.5643 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.3513, allocations: 3.938 kB / 0.5643 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.3513, allocations: 4 kB / 0.5643 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.3513, allocations: 0 / 0.5643 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005093/0.3518, allocations: 378.3 kB / 0.5647 GB, free: 180 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.3518, allocations: 0 / 0.5647 GB, free: 180 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.831e-05/0.3519, allocations: 12.03 kB / 0.5647 GB, free: 168 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.01e-06/0.3519, allocations: 4 kB / 0.5647 GB, free: 164 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.428e-06/0.3519, allocations: 0 / 0.5647 GB, free: 164 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.3519, allocations: 0 / 0.5647 GB, free: 164 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3519, allocations: 0 / 0.5647 GB, free: 164 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002997/0.3522, allocations: 224.4 kB / 0.5649 GB, free: 15.92 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.394e-05/0.3522, allocations: 7.953 kB / 0.5649 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.007e-05/0.3522, allocations: 4 kB / 0.5649 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.338e-05/0.3523, allocations: 7.984 kB / 0.5649 GB, free: 15.9 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.391e-05/0.3524, allocations: 7.938 kB / 0.5649 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.987e-05/0.3524, allocations: 12.36 kB / 0.565 GB, free: 15.88 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001362/0.3525, allocations: 127.2 kB / 0.5651 GB, free: 15.76 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3525, allocations: 0 / 0.5651 GB, free: 15.76 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003146/0.3528, allocations: 51.81 kB / 0.5651 GB, free: 15.71 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002792/0.3556, allocations: 1.239 MB / 0.5663 GB, free: 14.69 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002001/0.3558, allocations: 59.91 kB / 0.5664 GB, free: 14.63 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.213e-06/0.3558, allocations: 4 kB / 0.5664 GB, free: 14.63 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.655e-05/0.3559, allocations: 24.14 kB / 0.5664 GB, free: 14.61 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003462/0.3563, allocations: 34.62 kB / 0.5665 GB, free: 14.57 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001914/0.3582, allocations: 1.601 MB / 0.568 GB, free: 12.88 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001345/0.3583, allocations: 89.44 kB / 0.5681 GB, free: 12.77 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.978e-05/0.3584, allocations: 16.97 kB / 0.5681 GB, free: 12.76 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.965e-05/0.3585, allocations: 39.3 kB / 0.5682 GB, free: 12.72 MB / 414.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3585, allocations: 0 / 0.5682 GB, free: 12.72 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03095/0.3894, allocations: 4.42 MB / 0.5725 GB, free: 8.348 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/11.79, allocations: 6.562 kB / 0.5725 GB, free: 8.344 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test60_fmu --startTime=0 --stopTime=100 --stepSize=0.0198452 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test60.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.919292152044363] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 12.016138146980666 12.033072458 11.682886327 Calling exit ...