Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.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.001319/0.001319, allocations: 105.1 kB / 21.21 MB, free: 0.6484 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.001459/0.001459, allocations: 212.5 kB / 24.51 MB, free: 3.938 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.453/1.453, allocations: 230.6 MB / 258.3 MB, free: 7.816 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.2237/0.2237, allocations: 44.93 MB / 359.6 MB, free: 6.09 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.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test4",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test4",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.002117/0.002117, allocations: 67.89 kB / 0.4939 GB, free: 10.49 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3313/0.3334, allocations: 65.47 MB / 0.5578 GB, free: 7.352 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.00311/0.3365, allocations: 1.727 MB / 0.5595 GB, free: 5.805 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001694/0.3382, allocations: 0.9677 MB / 0.5604 GB, free: 4.832 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.77e-05/0.3383, allocations: 3.938 kB / 0.5604 GB, free: 4.828 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003191/0.3386, allocations: 83.7 kB / 0.5605 GB, free: 4.746 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003152/0.3389, allocations: 115.6 kB / 0.5606 GB, free: 4.633 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000209/0.3391, allocations: 87.66 kB / 0.5607 GB, free: 4.547 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001968/0.3393, allocations: 127.6 kB / 0.5608 GB, free: 4.422 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.3394, allocations: 13.81 kB / 0.5608 GB, free: 4.41 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.837e-05/0.3395, allocations: 55.72 kB / 0.5609 GB, free: 4.355 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001169/0.3396, allocations: 67.73 kB / 0.561 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.3396, allocations: 4 kB / 0.561 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001212/0.3398, allocations: 63.97 kB / 0.561 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.241e-05/0.3398, allocations: 19.92 kB / 0.561 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.45e-05/0.3399, allocations: 39.73 kB / 0.5611 GB, free: 4.164 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002394/0.3401, allocations: 147.3 kB / 0.5612 GB, free: 4.02 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.3401, allocations: 4 kB / 0.5612 GB, free: 4.016 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3401, allocations: 0 / 0.5612 GB, free: 4.016 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.009e-06/0.3401, allocations: 0 / 0.5612 GB, free: 4.016 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005655/0.3407, allocations: 365.4 kB / 0.5616 GB, free: 3.629 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/0.3407, allocations: 12.02 kB / 0.5616 GB, free: 3.617 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.487e-05/0.3408, allocations: 192 / 0.5616 GB, free: 3.617 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.398e-05/0.3408, allocations: 38.75 kB / 0.5616 GB, free: 3.57 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.824e-05/0.3408, allocations: 12.84 kB / 0.5616 GB, free: 3.559 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002438/0.3411, allocations: 154.8 kB / 0.5618 GB, free: 3.383 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.787e-05/0.3411, allocations: 12.12 kB / 0.5618 GB, free: 3.371 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.134e-05/0.3411, allocations: 8 kB / 0.5618 GB, free: 3.363 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001592/0.3413, allocations: 65.64 kB / 0.5619 GB, free: 3.293 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.3413, allocations: 0 / 0.5619 GB, free: 3.293 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.378e-06/0.3413, allocations: 0 / 0.5619 GB, free: 3.293 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.3413, allocations: 0 / 0.5619 GB, free: 3.293 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.697e-05/0.3414, allocations: 23.98 kB / 0.5619 GB, free: 3.27 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004035/0.3418, allocations: 271.9 kB / 0.5621 GB, free: 2.961 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002551/0.342, allocations: 62.48 kB / 0.5622 GB, free: 2.891 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.698e-05/0.3421, allocations: 20.97 kB / 0.5622 GB, free: 2.867 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.55e-05/0.3421, allocations: 4 kB / 0.5622 GB, free: 2.863 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001573/0.3423, allocations: 67.39 kB / 0.5623 GB, free: 2.785 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.323e-06/0.3423, allocations: 3.938 kB / 0.5623 GB, free: 2.781 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008397/0.3431, allocations: 269.6 kB / 0.5626 GB, free: 2.512 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.817e-05/0.3432, allocations: 51.41 kB / 0.5626 GB, free: 2.449 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002494/0.3434, allocations: 227.5 kB / 0.5628 GB, free: 2.207 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.049e-05/0.3434, allocations: 25.7 kB / 0.5628 GB, free: 2.176 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.741e-05/0.3435, allocations: 112.1 kB / 0.563 GB, free: 2.062 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.74e-05/0.3436, allocations: 31.73 kB / 0.563 GB, free: 2.031 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.9e-05/0.3436, allocations: 29.72 kB / 0.563 GB, free: 1.996 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001596/0.3438, allocations: 330.8 kB / 0.5633 GB, free: 1.664 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.52e-05/0.3439, allocations: 27.98 kB / 0.5634 GB, free: 1.637 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.573e-05/0.3439, allocations: 45.7 kB / 0.5634 GB, free: 1.586 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001567/0.3441, allocations: 85.69 kB / 0.5635 GB, free: 1.496 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.3441, allocations: 0 / 0.5635 GB, free: 1.496 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002381/0.3443, allocations: 133.5 kB / 0.5636 GB, free: 1.359 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.3444, allocations: 7.938 kB / 0.5636 GB, free: 1.352 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.167e-06/0.3444, allocations: 4.031 kB / 0.5636 GB, free: 1.348 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.3444, allocations: 7.938 kB / 0.5636 GB, free: 1.34 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.634e-05/0.3445, allocations: 23.92 kB / 0.5636 GB, free: 1.316 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.3445, allocations: 0 / 0.5636 GB, free: 1.316 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.091e-05/0.3445, allocations: 4 kB / 0.5637 GB, free: 1.312 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.225e-05/0.3445, allocations: 8 kB / 0.5637 GB, free: 1.305 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 (13): * Single equations (assignments): 13 * 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.0001138/0.3447, allocations: 133.8 kB / 0.5638 GB, free: 1.164 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.577e-05/0.3447, allocations: 11.91 kB / 0.5638 GB, free: 1.152 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003332/0.345, allocations: 162.8 kB / 0.564 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.345, allocations: 3.938 kB / 0.564 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.345, allocations: 4 kB / 0.564 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.345, allocations: 0 / 0.564 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000572/0.3456, allocations: 427.1 kB / 0.5644 GB, free: 0.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3456, allocations: 0 / 0.5644 GB, free: 0.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.276e-05/0.3457, allocations: 12 kB / 0.5644 GB, free: 500 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.728e-06/0.3457, allocations: 4 kB / 0.5644 GB, free: 496 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.499e-05/0.3457, allocations: 7.984 kB / 0.5644 GB, free: 488 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.3457, allocations: 4 kB / 0.5644 GB, free: 484 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.3457, allocations: 0 / 0.5644 GB, free: 484 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003067/0.346, allocations: 253 kB / 0.5646 GB, free: 208 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.807e-05/0.346, allocations: 11.91 kB / 0.5646 GB, free: 196 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.71e-05/0.346, allocations: 4 kB / 0.5647 GB, free: 192 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.599e-05/0.3461, allocations: 4 kB / 0.5647 GB, free: 188 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.813e-05/0.3462, allocations: 15.98 kB / 0.5647 GB, free: 172 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.839e-05/0.3462, allocations: 4 kB / 0.5647 GB, free: 168 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000167/0.3463, allocations: 173.2 kB / 0.5648 GB, free: 15.99 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3463, allocations: 0 / 0.5648 GB, free: 15.99 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000298/0.3466, allocations: 35.88 kB / 0.5649 GB, free: 15.96 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.002594/0.3492, allocations: 1.223 MB / 0.5661 GB, free: 14.96 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002134/0.3494, allocations: 79.84 kB / 0.5661 GB, free: 14.88 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.3494, allocations: 0 / 0.5661 GB, free: 14.88 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.581e-05/0.3495, allocations: 39.92 kB / 0.5662 GB, free: 14.84 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003656/0.3499, allocations: 35.88 kB / 0.5662 GB, free: 14.8 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002092/0.352, allocations: 1.838 MB / 0.568 GB, free: 12.86 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.75e-05/0.3521, allocations: 101.8 kB / 0.5681 GB, free: 12.75 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.845e-05/0.3522, allocations: 20.41 kB / 0.5681 GB, free: 12.73 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001144/0.3523, allocations: 51.42 kB / 0.5682 GB, free: 12.68 MB / 414.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3523, allocations: 0 / 0.5682 GB, free: 12.68 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02493/0.3772, allocations: 4.244 MB / 0.5723 GB, free: 8.512 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/12, allocations: 15.5 kB / 0.5723 GB, free: 8.5 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test4_fmu --startTime=0 --stopTime=1 --stepSize=0.00019984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test4.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.98121686396189] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'd2_t_new.y'] 12.215194158023223 12.238935429 11.895313997 Calling exit ...