Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.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.001923/0.001923, allocations: 112.2 kB / 21.22 MB, free: 0.7266 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.002424/0.002424, allocations: 208.2 kB / 24.52 MB, free: 4.066 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: 8.012 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.2442/0.2442, allocations: 44.92 MB / 359.6 MB, free: 6.266 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.Test28,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test28",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test28,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test28",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.00207/0.00207, allocations: 63.89 kB / 0.4939 GB, free: 10.64 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3506/0.3527, allocations: 65.47 MB / 0.5579 GB, free: 7.512 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.003053/0.3557, allocations: 1.736 MB / 0.5596 GB, free: 6 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001711/0.3574, allocations: 1.049 MB / 0.5606 GB, free: 4.945 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.783e-05/0.3575, allocations: 0 / 0.5606 GB, free: 4.945 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002509/0.3578, allocations: 39.77 kB / 0.5606 GB, free: 4.906 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003012/0.3581, allocations: 103.5 kB / 0.5607 GB, free: 4.805 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001901/0.3583, allocations: 79.67 kB / 0.5608 GB, free: 4.727 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001792/0.3584, allocations: 107.7 kB / 0.5609 GB, free: 4.621 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.921e-05/0.3585, allocations: 5.969 kB / 0.5609 GB, free: 4.617 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001034/0.3586, allocations: 51.72 kB / 0.561 GB, free: 4.566 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.019e-05/0.3587, allocations: 35.84 kB / 0.561 GB, free: 4.531 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.35e-05/0.3587, allocations: 4 kB / 0.561 GB, free: 4.527 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.293e-05/0.3588, allocations: 43.92 kB / 0.561 GB, free: 4.484 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.05e-05/0.3589, allocations: 19.92 kB / 0.561 GB, free: 4.465 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.768e-05/0.3589, allocations: 35.73 kB / 0.5611 GB, free: 4.43 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002082/0.3591, allocations: 123.5 kB / 0.5612 GB, free: 4.309 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.3591, allocations: 3.984 kB / 0.5612 GB, free: 4.305 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.3591, allocations: 0 / 0.5612 GB, free: 4.305 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.125e-06/0.3592, allocations: 3.938 kB / 0.5612 GB, free: 4.301 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.0005047/0.3597, allocations: 345.6 kB / 0.5615 GB, free: 3.934 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.3597, allocations: 8.031 kB / 0.5615 GB, free: 3.926 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.265e-05/0.3597, allocations: 4.172 kB / 0.5615 GB, free: 3.922 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.333e-05/0.3597, allocations: 38.69 kB / 0.5616 GB, free: 3.875 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.502e-05/0.3598, allocations: 8.891 kB / 0.5616 GB, free: 3.867 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002533/0.36, allocations: 155 kB / 0.5617 GB, free: 3.691 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.568e-05/0.36, allocations: 8.125 kB / 0.5618 GB, free: 3.684 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.117e-05/0.3601, allocations: 4 kB / 0.5618 GB, free: 3.68 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001465/0.3602, allocations: 57.67 kB / 0.5618 GB, free: 3.617 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.3602, allocations: 0 / 0.5618 GB, free: 3.617 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.358e-06/0.3602, allocations: 0 / 0.5618 GB, free: 3.617 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.3602, allocations: 0 / 0.5618 GB, free: 3.617 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.052e-05/0.3603, allocations: 27.92 kB / 0.5618 GB, free: 3.59 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003503/0.3607, allocations: 260 kB / 0.5621 GB, free: 3.293 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001719/0.3608, allocations: 54.67 kB / 0.5621 GB, free: 3.23 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.692e-05/0.3609, allocations: 20.84 kB / 0.5622 GB, free: 3.207 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.748e-05/0.3609, allocations: 0 / 0.5622 GB, free: 3.207 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001532/0.3611, allocations: 71.33 kB / 0.5622 GB, free: 3.125 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.243e-06/0.3611, allocations: 0 / 0.5622 GB, free: 3.125 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005279/0.3616, allocations: 177.3 kB / 0.5624 GB, free: 2.945 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.262e-05/0.3616, allocations: 63.34 kB / 0.5625 GB, free: 2.871 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001981/0.3618, allocations: 198.2 kB / 0.5626 GB, free: 2.668 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.044e-05/0.3619, allocations: 29.7 kB / 0.5627 GB, free: 2.633 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.841e-05/0.3619, allocations: 100.1 kB / 0.5628 GB, free: 2.531 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.939e-05/0.362, allocations: 23.8 kB / 0.5628 GB, free: 2.508 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.563e-05/0.362, allocations: 25.7 kB / 0.5628 GB, free: 2.477 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.3621, allocations: 326.8 kB / 0.5631 GB, free: 2.148 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.899e-05/0.3622, allocations: 16 kB / 0.5631 GB, free: 2.133 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.412e-05/0.3623, allocations: 41.64 kB / 0.5632 GB, free: 2.086 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000122/0.3624, allocations: 65.62 kB / 0.5632 GB, free: 2.016 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.3624, allocations: 0 / 0.5632 GB, free: 2.016 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001881/0.3626, allocations: 97.59 kB / 0.5633 GB, free: 1.914 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.3626, allocations: 4 kB / 0.5633 GB, free: 1.91 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.359e-06/0.3626, allocations: 0 / 0.5633 GB, free: 1.91 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.763e-05/0.3626, allocations: 7.984 kB / 0.5633 GB, free: 1.902 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.955e-05/0.3627, allocations: 19.97 kB / 0.5634 GB, free: 1.883 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.3627, allocations: 4.094 kB / 0.5634 GB, free: 1.879 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.18e-05/0.3628, allocations: 8 kB / 0.5634 GB, free: 1.871 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.238e-06/0.3628, allocations: 4 kB / 0.5634 GB, free: 1.867 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.0001173/0.3629, allocations: 128.8 kB / 0.5635 GB, free: 1.734 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.457e-05/0.3629, allocations: 12.28 kB / 0.5635 GB, free: 1.723 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000256/0.3632, allocations: 115 kB / 0.5636 GB, free: 1.594 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.3632, allocations: 4 kB / 0.5636 GB, free: 1.59 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.82e-06/0.3632, allocations: 7.938 kB / 0.5636 GB, free: 1.582 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.906e-06/0.3632, allocations: 7.984 kB / 0.5636 GB, free: 1.574 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004638/0.3637, allocations: 366.4 kB / 0.564 GB, free: 1.164 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3637, allocations: 0 / 0.564 GB, free: 1.164 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.83e-05/0.3637, allocations: 8 kB / 0.564 GB, free: 1.156 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.3637, allocations: 3.938 kB / 0.564 GB, free: 1.152 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.433e-05/0.3637, allocations: 8 kB / 0.564 GB, free: 1.145 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.3637, allocations: 0 / 0.564 GB, free: 1.145 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3637, allocations: 4.031 kB / 0.564 GB, free: 1.141 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002432/0.364, allocations: 200.2 kB / 0.5642 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.173e-05/0.364, allocations: 19.81 kB / 0.5642 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.453e-05/0.364, allocations: 4 kB / 0.5642 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.129e-05/0.3641, allocations: 4 kB / 0.5642 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.983e-05/0.3641, allocations: 11.97 kB / 0.5642 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.55e-05/0.3641, allocations: 8 kB / 0.5643 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001333/0.3643, allocations: 148.2 kB / 0.5644 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3643, allocations: 0 / 0.5644 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002674/0.3645, allocations: 23.94 kB / 0.5644 GB, free: 0.7109 MB / 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 (8): * Single equations (assignments): 6 * 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.002223/0.3668, allocations: 1.106 MB / 0.5655 GB, free: 15.77 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001887/0.367, allocations: 47.98 kB / 0.5655 GB, free: 15.72 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.367, allocations: 0 / 0.5655 GB, free: 15.72 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.238e-05/0.367, allocations: 31.98 kB / 0.5656 GB, free: 15.69 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003476/0.3674, allocations: 27.3 kB / 0.5656 GB, free: 15.66 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001869/0.3693, allocations: 1.658 MB / 0.5672 GB, free: 13.91 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003323/0.3696, allocations: 0.7158 MB / 0.5679 GB, free: 13.17 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.923e-05/0.3696, allocations: 9.297 kB / 0.5679 GB, free: 13.16 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.331e-05/0.3697, allocations: 35.42 kB / 0.568 GB, free: 13.12 MB / 414.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3697, allocations: 0 / 0.568 GB, free: 13.12 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02243/0.3921, allocations: 3.667 MB / 0.5715 GB, free: 9.543 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.49, allocations: 8.812 kB / 0.5716 GB, free: 9.535 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test28_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test28.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.62019073299598] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.70646089699585 11.734879886 11.370961325 Calling exit ...