Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.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.001683/0.001683, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.002031/0.002031, allocations: 211.8 kB / 24.51 MB, free: 3.914 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.527/1.527, allocations: 230.6 MB / 258.3 MB, free: 7.738 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.235/0.235, allocations: 44.95 MB / 359.6 MB, free: 6.027 MB / 286.1 MB " [Timeout remaining time 179] 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.Test41,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test41",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test41,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test41",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.001979/0.001979, allocations: 63.89 kB / 0.4939 GB, free: 10.46 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3394/0.3414, allocations: 65.48 MB / 0.5578 GB, free: 7.324 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.00332/0.3447, allocations: 1.7 MB / 0.5595 GB, free: 5.793 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001768/0.3465, allocations: 0.9676 MB / 0.5604 GB, free: 4.82 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.742e-05/0.3466, allocations: 7.938 kB / 0.5604 GB, free: 4.812 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003167/0.3469, allocations: 79.75 kB / 0.5605 GB, free: 4.734 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003182/0.3472, allocations: 119.5 kB / 0.5606 GB, free: 4.617 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001938/0.3474, allocations: 83.67 kB / 0.5607 GB, free: 4.535 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001965/0.3476, allocations: 115.7 kB / 0.5608 GB, free: 4.422 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.066e-05/0.3477, allocations: 9.828 kB / 0.5608 GB, free: 4.414 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.609e-05/0.3478, allocations: 55.7 kB / 0.5609 GB, free: 4.359 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000119/0.3479, allocations: 71.73 kB / 0.5609 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.844e-05/0.3479, allocations: 4 kB / 0.5609 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.122e-05/0.348, allocations: 43.98 kB / 0.561 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.343e-05/0.3481, allocations: 23.86 kB / 0.561 GB, free: 4.219 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.399e-05/0.3481, allocations: 31.78 kB / 0.561 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002138/0.3483, allocations: 127.4 kB / 0.5611 GB, free: 4.062 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3483, allocations: 4 kB / 0.5611 GB, free: 4.059 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3483, allocations: 0 / 0.5611 GB, free: 4.059 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.3483, allocations: 0 / 0.5611 GB, free: 4.059 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.0005496/0.3489, allocations: 353.5 kB / 0.5615 GB, free: 3.684 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.3489, allocations: 12.03 kB / 0.5615 GB, free: 3.672 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.677e-05/0.349, allocations: 192 / 0.5615 GB, free: 3.672 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.413e-05/0.349, allocations: 34.73 kB / 0.5615 GB, free: 3.629 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.385e-05/0.349, allocations: 16.84 kB / 0.5615 GB, free: 3.613 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002794/0.3493, allocations: 158.8 kB / 0.5617 GB, free: 3.434 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.605e-05/0.3493, allocations: 8.125 kB / 0.5617 GB, free: 3.426 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.955e-05/0.3494, allocations: 8 kB / 0.5617 GB, free: 3.418 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001454/0.3495, allocations: 53.67 kB / 0.5618 GB, free: 3.359 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.219e-05/0.3495, allocations: 0 / 0.5618 GB, free: 3.359 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.3495, allocations: 0 / 0.5618 GB, free: 3.359 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.3495, allocations: 0 / 0.5618 GB, free: 3.359 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.6e-05/0.3496, allocations: 27.92 kB / 0.5618 GB, free: 3.332 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003855/0.35, allocations: 267.9 kB / 0.562 GB, free: 3.027 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001762/0.3502, allocations: 54.69 kB / 0.5621 GB, free: 2.965 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.956e-05/0.3502, allocations: 20.84 kB / 0.5621 GB, free: 2.941 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.474e-05/0.3503, allocations: 4 kB / 0.5621 GB, free: 2.938 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001625/0.3504, allocations: 71.33 kB / 0.5622 GB, free: 2.855 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.363e-06/0.3504, allocations: 0 / 0.5622 GB, free: 2.855 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005784/0.351, allocations: 181.3 kB / 0.5624 GB, free: 2.672 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.623e-05/0.351, allocations: 55.41 kB / 0.5624 GB, free: 2.605 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002456/0.3513, allocations: 239.4 kB / 0.5626 GB, free: 2.352 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.404e-05/0.3513, allocations: 25.7 kB / 0.5627 GB, free: 2.32 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.245e-05/0.3514, allocations: 108.1 kB / 0.5628 GB, free: 2.211 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.478e-05/0.3514, allocations: 27.78 kB / 0.5628 GB, free: 2.184 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.448e-05/0.3515, allocations: 29.7 kB / 0.5628 GB, free: 2.148 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001537/0.3516, allocations: 322.8 kB / 0.5631 GB, free: 1.824 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.384e-05/0.3517, allocations: 20 kB / 0.5632 GB, free: 1.805 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.627e-05/0.3518, allocations: 41.64 kB / 0.5632 GB, free: 1.758 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001242/0.3519, allocations: 61.64 kB / 0.5632 GB, free: 1.691 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.3519, allocations: 0 / 0.5632 GB, free: 1.691 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002056/0.3521, allocations: 109.5 kB / 0.5634 GB, free: 1.578 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.3521, allocations: 8 kB / 0.5634 GB, free: 1.57 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.3521, allocations: 32 / 0.5634 GB, free: 1.57 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.3521, allocations: 7.984 kB / 0.5634 GB, free: 1.562 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.895e-05/0.3522, allocations: 19.98 kB / 0.5634 GB, free: 1.543 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.3522, allocations: 3.938 kB / 0.5634 GB, free: 1.539 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.41e-05/0.3523, allocations: 0 / 0.5634 GB, free: 1.539 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.948e-06/0.3523, allocations: 4.375 kB / 0.5634 GB, free: 1.535 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.0001254/0.3524, allocations: 136.8 kB / 0.5635 GB, free: 1.395 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.798e-05/0.3524, allocations: 11.91 kB / 0.5635 GB, free: 1.383 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002736/0.3527, allocations: 123 kB / 0.5637 GB, free: 1.25 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.3527, allocations: 0 / 0.5637 GB, free: 1.25 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.235e-06/0.3527, allocations: 11.94 kB / 0.5637 GB, free: 1.238 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.3527, allocations: 0 / 0.5637 GB, free: 1.238 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005152/0.3532, allocations: 378.6 kB / 0.564 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.3532, allocations: 0 / 0.564 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.572e-05/0.3533, allocations: 11.94 kB / 0.564 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.3533, allocations: 3.938 kB / 0.564 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/0.3533, allocations: 4 kB / 0.564 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.3533, allocations: 80 / 0.564 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.3533, allocations: 3.984 kB / 0.5641 GB, free: 0.793 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002813/0.3536, allocations: 224.2 kB / 0.5643 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.323e-05/0.3536, allocations: 15.84 kB / 0.5643 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.579e-05/0.3536, allocations: 4 kB / 0.5643 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.358e-05/0.3537, allocations: 4 kB / 0.5643 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.175e-05/0.3537, allocations: 8.359 kB / 0.5643 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.449e-05/0.3538, allocations: 7.938 kB / 0.5643 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001549/0.3539, allocations: 173.1 kB / 0.5645 GB, free: 356 kB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3539, allocations: 0 / 0.5645 GB, free: 356 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002606/0.3542, allocations: 31.88 kB / 0.5645 GB, free: 324 kB / 398.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.002288/0.3565, allocations: 1.131 MB / 0.5656 GB, free: 15.37 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002013/0.3567, allocations: 67.91 kB / 0.5657 GB, free: 15.3 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3567, allocations: 0 / 0.5657 GB, free: 15.3 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.282e-05/0.3567, allocations: 28.05 kB / 0.5657 GB, free: 15.28 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003749/0.3571, allocations: 40.88 kB / 0.5657 GB, free: 15.24 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001959/0.3591, allocations: 1.726 MB / 0.5674 GB, free: 13.43 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001046/0.3592, allocations: 96.61 kB / 0.5675 GB, free: 13.32 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.872e-05/0.3592, allocations: 25.27 kB / 0.5675 GB, free: 13.29 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.418e-05/0.3593, allocations: 39.36 kB / 0.5676 GB, free: 13.25 MB / 414.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3593, allocations: 0 / 0.5676 GB, free: 13.25 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02349/0.3828, allocations: 3.922 MB / 0.5714 GB, free: 9.398 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/11.63, allocations: 16.45 kB / 0.5714 GB, free: 9.391 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test41_fmu --startTime=0 --stopTime=100 --stepSize=0.0197433 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test41.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.81068882101681] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.855820998898707 11.882659629 11.529193156 Calling exit ...