Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.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.00133/0.00133, 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.001736/0.001736, allocations: 214.1 kB / 24.51 MB, free: 3.945 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.504/1.504, allocations: 230.6 MB / 258.3 MB, free: 7.789 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.2262/0.2262, allocations: 44.93 MB / 359.6 MB, free: 6.082 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.Test56,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test56",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test56,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test56",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.002039/0.002039, allocations: 67.89 kB / 0.4939 GB, free: 10.52 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3664/0.3684, allocations: 65.48 MB / 0.5578 GB, free: 7.352 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.003362/0.3718, allocations: 1.701 MB / 0.5595 GB, free: 5.824 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002631/0.3744, allocations: 1.665 MB / 0.5611 GB, free: 4.152 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.029e-05/0.3745, allocations: 4 kB / 0.5611 GB, free: 4.148 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002862/0.3748, allocations: 31.77 kB / 0.5611 GB, free: 4.117 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003698/0.3751, allocations: 103.5 kB / 0.5612 GB, free: 4.016 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000199/0.3753, allocations: 75.67 kB / 0.5613 GB, free: 3.941 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001781/0.3755, allocations: 111.6 kB / 0.5614 GB, free: 3.832 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.814e-05/0.3756, allocations: 21.81 kB / 0.5614 GB, free: 3.812 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.522e-05/0.3757, allocations: 43.78 kB / 0.5615 GB, free: 3.77 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001231/0.3758, allocations: 43.84 kB / 0.5615 GB, free: 3.727 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.932e-05/0.3758, allocations: 4 kB / 0.5615 GB, free: 3.723 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000182/0.376, allocations: 107.9 kB / 0.5616 GB, free: 3.617 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.997e-05/0.3761, allocations: 19.92 kB / 0.5616 GB, free: 3.598 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.431e-05/0.3761, allocations: 31.78 kB / 0.5617 GB, free: 3.566 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002897/0.3764, allocations: 171.3 kB / 0.5618 GB, free: 3.398 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.3764, allocations: 0 / 0.5618 GB, free: 3.398 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3764, allocations: 0 / 0.5618 GB, free: 3.398 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.237e-06/0.3764, allocations: 8 kB / 0.5618 GB, free: 3.391 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.0005911/0.377, allocations: 351.5 kB / 0.5622 GB, free: 3.02 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.3771, allocations: 8.031 kB / 0.5622 GB, free: 3.012 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.189e-05/0.3771, allocations: 192 / 0.5622 GB, free: 3.012 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.801e-05/0.3771, allocations: 38.75 kB / 0.5622 GB, free: 2.965 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.482e-05/0.3772, allocations: 12.84 kB / 0.5622 GB, free: 2.953 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002871/0.3775, allocations: 150.5 kB / 0.5624 GB, free: 2.781 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/0.3775, allocations: 4 kB / 0.5624 GB, free: 2.777 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.487e-05/0.3775, allocations: 3.938 kB / 0.5624 GB, free: 2.773 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000198/0.3777, allocations: 93.09 kB / 0.5625 GB, free: 2.664 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.3777, allocations: 4 kB / 0.5625 GB, free: 2.66 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.953e-05/0.3777, allocations: 11.98 kB / 0.5625 GB, free: 2.648 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.3777, allocations: 0 / 0.5625 GB, free: 2.648 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.151e-05/0.3778, allocations: 23.97 kB / 0.5625 GB, free: 2.625 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003979/0.3782, allocations: 256 kB / 0.5627 GB, free: 2.332 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000196/0.3784, allocations: 58.61 kB / 0.5628 GB, free: 2.266 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.114e-05/0.3785, allocations: 16.86 kB / 0.5628 GB, free: 2.246 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.741e-05/0.3785, allocations: 4 kB / 0.5628 GB, free: 2.242 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000178/0.3787, allocations: 71.38 kB / 0.5629 GB, free: 2.16 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.453e-06/0.3787, allocations: 4 kB / 0.5629 GB, free: 2.156 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006703/0.3793, allocations: 177.3 kB / 0.5631 GB, free: 1.977 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.781e-05/0.3794, allocations: 85.11 kB / 0.5631 GB, free: 1.875 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001924/0.3796, allocations: 162.5 kB / 0.5633 GB, free: 1.703 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.895e-05/0.3796, allocations: 29.7 kB / 0.5633 GB, free: 1.668 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.945e-05/0.3797, allocations: 96.12 kB / 0.5634 GB, free: 1.57 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.328e-05/0.3797, allocations: 27.75 kB / 0.5634 GB, free: 1.543 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.313e-05/0.3798, allocations: 33.64 kB / 0.5635 GB, free: 1.504 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001871/0.38, allocations: 322.8 kB / 0.5638 GB, free: 1.18 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.237e-05/0.38, allocations: 16 kB / 0.5638 GB, free: 1.164 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.905e-05/0.3801, allocations: 80.19 kB / 0.5639 GB, free: 1.07 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000131/0.3803, allocations: 57.7 kB / 0.5639 GB, free: 1.008 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.3803, allocations: 0 / 0.5639 GB, free: 1.008 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002269/0.3805, allocations: 105.9 kB / 0.564 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.3805, allocations: 4 kB / 0.564 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.3805, allocations: 7.938 kB / 0.564 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.3805, allocations: 3.938 kB / 0.564 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001025/0.3806, allocations: 24.05 kB / 0.5641 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.3806, allocations: 3.938 kB / 0.5641 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.697e-05/0.3807, allocations: 8 kB / 0.5641 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.1e-05/0.3807, allocations: 4 kB / 0.5641 GB, free: 0.8438 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.0001176/0.3808, allocations: 117.8 kB / 0.5642 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.001e-05/0.3809, allocations: 11.95 kB / 0.5642 GB, free: 0.707 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002897/0.3812, allocations: 118.3 kB / 0.5643 GB, free: 0.582 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.3812, allocations: 3.938 kB / 0.5643 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.3812, allocations: 0 / 0.5643 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.3812, allocations: 0 / 0.5643 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005162/0.3817, allocations: 378.5 kB / 0.5647 GB, free: 160 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.3817, allocations: 0 / 0.5647 GB, free: 160 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.214e-05/0.3817, allocations: 15.98 kB / 0.5647 GB, free: 144 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.3817, allocations: 0 / 0.5647 GB, free: 144 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.3817, allocations: 0 / 0.5647 GB, free: 144 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.236e-06/0.3817, allocations: 4.078 kB / 0.5647 GB, free: 140 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.3818, allocations: 3.984 kB / 0.5647 GB, free: 136 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003041/0.3821, allocations: 220.2 kB / 0.5649 GB, free: 15.9 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.082e-05/0.3821, allocations: 7.938 kB / 0.5649 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.882e-05/0.3821, allocations: 8.406 kB / 0.5649 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.258e-05/0.3822, allocations: 8 kB / 0.5649 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.874e-05/0.3822, allocations: 3.984 kB / 0.5649 GB, free: 15.87 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.946e-05/0.3822, allocations: 4 kB / 0.5649 GB, free: 15.87 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001267/0.3824, allocations: 138.8 kB / 0.5651 GB, free: 15.73 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3824, allocations: 0 / 0.5651 GB, free: 15.73 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003205/0.3827, allocations: 55.81 kB / 0.5651 GB, free: 15.68 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.00265/0.3853, allocations: 1.234 MB / 0.5663 GB, free: 14.67 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000235/0.3856, allocations: 59.91 kB / 0.5664 GB, free: 14.61 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3856, allocations: 0 / 0.5664 GB, free: 14.61 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.796e-05/0.3857, allocations: 31.98 kB / 0.5664 GB, free: 14.58 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003722/0.386, allocations: 30.78 kB / 0.5665 GB, free: 14.55 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002047/0.3881, allocations: 1.617 MB / 0.568 GB, free: 12.84 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.104e-05/0.3882, allocations: 85.31 kB / 0.5681 GB, free: 12.74 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.84e-05/0.3882, allocations: 12.97 kB / 0.5681 GB, free: 12.73 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.54e-05/0.3883, allocations: 39.41 kB / 0.5682 GB, free: 12.69 MB / 414.1 MB Notification: Performance of SimCode: time 4e-07/0.3883, allocations: 4 kB / 0.5682 GB, free: 12.69 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02523/0.4136, allocations: 4.395 MB / 0.5725 GB, free: 8.34 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/11.82, allocations: 14.52 kB / 0.5725 GB, free: 8.332 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test56_fmu --startTime=0 --stopTime=100 --stepSize=0.0198452 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test56.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.974407671019435] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 12.042673029005527 12.063194639 11.683588674 Calling exit ...