Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.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.00139/0.00139, 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.001743/0.001743, allocations: 216.8 kB / 24.52 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.467/1.467, allocations: 230.6 MB / 258.3 MB, free: 7.781 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.2275/0.2275, allocations: 44.94 MB / 359.6 MB, free: 6.047 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.Test15,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test15",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test15,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test15",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.00198/0.00198, allocations: 65.47 kB / 0.4939 GB, free: 10.47 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3431/0.345, allocations: 65.48 MB / 0.5578 GB, free: 7.32 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.003701/0.3487, allocations: 1.704 MB / 0.5595 GB, free: 5.809 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001935/0.3507, allocations: 0.9666 MB / 0.5604 GB, free: 4.84 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.347e-05/0.3508, allocations: 3.938 kB / 0.5604 GB, free: 4.836 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003369/0.3511, allocations: 43.77 kB / 0.5605 GB, free: 4.793 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004065/0.3515, allocations: 95.59 kB / 0.5605 GB, free: 4.699 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002118/0.3517, allocations: 75.67 kB / 0.5606 GB, free: 4.625 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001827/0.3519, allocations: 103.7 kB / 0.5607 GB, free: 4.523 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.352, allocations: 13.81 kB / 0.5607 GB, free: 4.512 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001101/0.3521, allocations: 39.8 kB / 0.5608 GB, free: 4.473 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.6e-05/0.3522, allocations: 39.78 kB / 0.5608 GB, free: 4.434 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.3522, allocations: 4 kB / 0.5608 GB, free: 4.43 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.646e-05/0.3523, allocations: 39.98 kB / 0.5608 GB, free: 4.391 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.054e-05/0.3524, allocations: 27.86 kB / 0.5609 GB, free: 4.363 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.196e-05/0.3524, allocations: 27.84 kB / 0.5609 GB, free: 4.336 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002247/0.3527, allocations: 115.5 kB / 0.561 GB, free: 4.223 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.3527, allocations: 4 kB / 0.561 GB, free: 4.219 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.3527, allocations: 0 / 0.561 GB, free: 4.219 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.3527, allocations: 3.938 kB / 0.561 GB, free: 4.215 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.0005721/0.3532, allocations: 341.6 kB / 0.5613 GB, free: 3.852 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/0.3533, allocations: 16.03 kB / 0.5614 GB, free: 3.836 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.831e-05/0.3533, allocations: 192 / 0.5614 GB, free: 3.836 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.651e-05/0.3533, allocations: 34.75 kB / 0.5614 GB, free: 3.793 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.495e-05/0.3534, allocations: 12.84 kB / 0.5614 GB, free: 3.781 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000325/0.3537, allocations: 146.3 kB / 0.5615 GB, free: 3.613 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.797e-05/0.3537, allocations: 8.125 kB / 0.5615 GB, free: 3.605 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2e-05/0.3537, allocations: 4 kB / 0.5616 GB, free: 3.602 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001846/0.3539, allocations: 57.66 kB / 0.5616 GB, free: 3.539 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.3539, allocations: 0 / 0.5616 GB, free: 3.539 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.533e-05/0.354, allocations: 8 kB / 0.5616 GB, free: 3.531 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.354, allocations: 3.938 kB / 0.5616 GB, free: 3.527 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.549e-05/0.3541, allocations: 23.98 kB / 0.5616 GB, free: 3.504 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004552/0.3545, allocations: 256 kB / 0.5619 GB, free: 3.211 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001939/0.3547, allocations: 50.67 kB / 0.5619 GB, free: 3.152 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.812e-05/0.3548, allocations: 24.8 kB / 0.562 GB, free: 3.125 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.536e-05/0.3548, allocations: 0 / 0.562 GB, free: 3.125 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002006/0.355, allocations: 71.38 kB / 0.562 GB, free: 3.043 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.312e-06/0.355, allocations: 0 / 0.562 GB, free: 3.043 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000645/0.3556, allocations: 189.2 kB / 0.5622 GB, free: 2.852 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.833e-05/0.3557, allocations: 59.41 kB / 0.5623 GB, free: 2.781 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002301/0.3559, allocations: 187.2 kB / 0.5624 GB, free: 2.586 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.313e-05/0.3559, allocations: 29.7 kB / 0.5625 GB, free: 2.551 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.889e-05/0.356, allocations: 100.1 kB / 0.5626 GB, free: 2.449 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.448e-05/0.356, allocations: 27.78 kB / 0.5626 GB, free: 2.422 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.874e-05/0.3561, allocations: 21.72 kB / 0.5626 GB, free: 2.395 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.3562, allocations: 322.8 kB / 0.5629 GB, free: 2.07 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.683e-05/0.3563, allocations: 23.98 kB / 0.5629 GB, free: 2.047 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.648e-05/0.3564, allocations: 37.7 kB / 0.563 GB, free: 2.004 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001345/0.3565, allocations: 65.7 kB / 0.563 GB, free: 1.934 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.51e-07/0.3565, allocations: 4 kB / 0.563 GB, free: 1.93 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002096/0.3567, allocations: 109.5 kB / 0.5632 GB, free: 1.816 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.3567, allocations: 8 kB / 0.5632 GB, free: 1.809 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.974e-06/0.3567, allocations: 3.984 kB / 0.5632 GB, free: 1.805 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.3568, allocations: 0 / 0.5632 GB, free: 1.805 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.826e-05/0.3569, allocations: 12 kB / 0.5632 GB, free: 1.793 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.103e-05/0.3569, allocations: 11.92 kB / 0.5632 GB, free: 1.781 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.467e-05/0.3569, allocations: 7.938 kB / 0.5632 GB, free: 1.773 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.054e-05/0.3569, allocations: 8.031 kB / 0.5632 GB, free: 1.766 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.0001184/0.3571, allocations: 117.8 kB / 0.5633 GB, free: 1.641 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.346e-05/0.3571, allocations: 8.328 kB / 0.5633 GB, free: 1.633 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002917/0.3574, allocations: 130.9 kB / 0.5634 GB, free: 1.488 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.3574, allocations: 0 / 0.5634 GB, free: 1.488 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.3574, allocations: 3.938 kB / 0.5634 GB, free: 1.484 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.3574, allocations: 4 kB / 0.5635 GB, free: 1.48 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00051/0.3579, allocations: 370.4 kB / 0.5638 GB, free: 1.066 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3579, allocations: 0 / 0.5638 GB, free: 1.066 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.291e-05/0.3579, allocations: 15.97 kB / 0.5638 GB, free: 1.051 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.3579, allocations: 3.938 kB / 0.5638 GB, free: 1.047 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.339e-05/0.358, allocations: 4.281 kB / 0.5638 GB, free: 1.043 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.358, allocations: 0 / 0.5638 GB, free: 1.043 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.358, allocations: 0 / 0.5638 GB, free: 1.043 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002794/0.3582, allocations: 224.2 kB / 0.564 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.111e-05/0.3583, allocations: 11.89 kB / 0.5641 GB, free: 0.793 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.509e-05/0.3583, allocations: 0 / 0.5641 GB, free: 0.793 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.458e-05/0.3584, allocations: 7.984 kB / 0.5641 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.733e-05/0.3584, allocations: 8 kB / 0.5641 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.651e-05/0.3584, allocations: 8 kB / 0.5641 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000131/0.3585, allocations: 141.8 kB / 0.5642 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3585, allocations: 0 / 0.5642 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002619/0.3588, allocations: 27.92 kB / 0.5642 GB, free: 0.6055 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 (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.002382/0.3612, allocations: 1.133 MB / 0.5653 GB, free: 15.66 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002383/0.3614, allocations: 67.89 kB / 0.5654 GB, free: 15.6 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3614, allocations: 0 / 0.5654 GB, free: 15.6 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.868e-05/0.3615, allocations: 31.86 kB / 0.5654 GB, free: 15.57 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003692/0.3619, allocations: 30.98 kB / 0.5655 GB, free: 15.54 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002064/0.3639, allocations: 1.647 MB / 0.5671 GB, free: 13.8 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001016/0.364, allocations: 100.1 kB / 0.5672 GB, free: 13.68 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.228e-05/0.3641, allocations: 12.97 kB / 0.5672 GB, free: 13.67 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.342e-05/0.3642, allocations: 35.42 kB / 0.5672 GB, free: 13.63 MB / 414.1 MB Notification: Performance of SimCode: time 7.52e-07/0.3642, allocations: 0 / 0.5672 GB, free: 13.63 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02302/0.3872, allocations: 3.764 MB / 0.5709 GB, free: 9.945 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/11.7, allocations: 6.469 kB / 0.5709 GB, free: 9.941 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test15_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test15.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.779288468998857] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.935766223003156 11.96386911 11.606293502 Calling exit ...