Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test88.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001883/0.001883, allocations: 110.5 kB / 21.23 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002027/0.002027, allocations: 213.2 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.465/1.465, allocations: 230.5 MB / 258.2 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2332/0.2332, allocations: 46.93 MB / 361.6 MB, free: 4.211 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test88,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test88",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test88,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test88",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002392/0.002392, allocations: 76.14 kB / 0.497 GB, free: 7.707 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3432/0.3456, allocations: 66.1 MB / 0.5616 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.003812/0.3494, allocations: 2.286 MB / 0.5638 GB, free: 1.988 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002458/0.3519, allocations: 1.342 MB / 0.5651 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001716/0.3521, allocations: 7.938 kB / 0.5651 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004281/0.3525, allocations: 131.3 kB / 0.5653 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005357/0.353, allocations: 242.9 kB / 0.5655 GB, free: 272 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004058/0.3534, allocations: 195.5 kB / 0.5657 GB, free: 76 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006624/0.3541, allocations: 470.6 kB / 0.5661 GB, free: 15.61 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001485/0.3543, allocations: 47.16 kB / 0.5662 GB, free: 15.56 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000497/0.3548, allocations: 319 kB / 0.5665 GB, free: 15.25 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002235/0.355, allocations: 167.1 kB / 0.5666 GB, free: 15.09 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.035e-05/0.355, allocations: 16 kB / 0.5667 GB, free: 15.07 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001624/0.3552, allocations: 71.97 kB / 0.5667 GB, free: 15 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001559/0.3553, allocations: 135.5 kB / 0.5669 GB, free: 14.87 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001747/0.3555, allocations: 182.5 kB / 0.567 GB, free: 14.69 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005599/0.3561, allocations: 445.7 kB / 0.5675 GB, free: 14.25 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.3561, allocations: 0 / 0.5675 GB, free: 14.25 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.3561, allocations: 0 / 0.5675 GB, free: 14.25 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.3561, allocations: 0 / 0.5675 GB, free: 14.25 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001138/0.3572, allocations: 0.7682 MB / 0.5682 GB, free: 13.45 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.3573, allocations: 12.03 kB / 0.5682 GB, free: 13.44 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.485e-05/0.3573, allocations: 46.73 kB / 0.5683 GB, free: 13.38 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.897e-05/0.3574, allocations: 64.52 kB / 0.5683 GB, free: 13.32 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006975/0.3581, allocations: 353.8 kB / 0.5687 GB, free: 12.95 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.183e-05/0.3581, allocations: 12.38 kB / 0.5687 GB, free: 12.94 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.064e-05/0.3582, allocations: 24.31 kB / 0.5687 GB, free: 12.91 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004885/0.3587, allocations: 201 kB / 0.5689 GB, free: 12.7 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.122e-05/0.3587, allocations: 7.984 kB / 0.5689 GB, free: 12.69 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.659e-05/0.3587, allocations: 4 kB / 0.5689 GB, free: 12.69 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.283e-06/0.3587, allocations: 4 kB / 0.5689 GB, free: 12.68 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002318/0.3589, allocations: 87.88 kB / 0.569 GB, free: 12.6 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009642/0.3599, allocations: 0.7734 MB / 0.5697 GB, free: 11.77 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000644/0.3605, allocations: 238.5 kB / 0.57 GB, free: 11.5 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001864/0.3607, allocations: 87.52 kB / 0.5701 GB, free: 11.4 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3e-05/0.3608, allocations: 4 kB / 0.5701 GB, free: 11.4 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003815/0.3611, allocations: 200.2 kB / 0.5703 GB, free: 11.18 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 1.483e-06/0.3611, allocations: 0 / 0.5703 GB, free: 11.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=44): time 0.002582/0.3637, allocations: 1.14 MB / 0.5714 GB, free: 10.03 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001009/0.3638, allocations: 140.5 kB / 0.5715 GB, free: 9.863 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009809/0.3648, allocations: 0.797 MB / 0.5723 GB, free: 9.055 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.397e-05/0.3649, allocations: 45.69 kB / 0.5723 GB, free: 9.004 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002139/0.3651, allocations: 237 kB / 0.5725 GB, free: 8.77 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001402/0.3652, allocations: 142.8 kB / 0.5727 GB, free: 8.629 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001253/0.3653, allocations: 82.08 kB / 0.5728 GB, free: 8.539 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002111/0.3656, allocations: 374.7 kB / 0.5731 GB, free: 8.164 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002518/0.3658, allocations: 112.8 kB / 0.5732 GB, free: 8.055 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002997/0.3661, allocations: 187.2 kB / 0.5734 GB, free: 7.852 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005645/0.3667, allocations: 323 kB / 0.5737 GB, free: 7.512 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.3667, allocations: 0 / 0.5737 GB, free: 7.512 MB / 414.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008045/0.3675, allocations: 436.9 kB / 0.5741 GB, free: 7.078 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.3675, allocations: 14.27 kB / 0.5741 GB, free: 7.066 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.3675, allocations: 8.125 kB / 0.5742 GB, free: 7.059 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.416e-05/0.3675, allocations: 4 kB / 0.5742 GB, free: 7.055 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003161/0.3678, allocations: 87.84 kB / 0.5742 GB, free: 6.969 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.585e-05/0.3679, allocations: 7.984 kB / 0.5742 GB, free: 6.961 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001611/0.368, allocations: 12 kB / 0.5743 GB, free: 6.949 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.471e-05/0.3681, allocations: 19.94 kB / 0.5743 GB, free: 6.93 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0003067/0.3684, allocations: 237 kB / 0.5745 GB, free: 6.691 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.636e-05/0.3685, allocations: 71.52 kB / 0.5746 GB, free: 6.621 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001013/0.3695, allocations: 0.4913 MB / 0.5751 GB, free: 6.113 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.107e-06/0.3695, allocations: 8 kB / 0.5751 GB, free: 6.105 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.3695, allocations: 0 / 0.5751 GB, free: 6.105 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.857e-06/0.3695, allocations: 3.984 kB / 0.5751 GB, free: 6.102 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002094/0.3716, allocations: 1.286 MB / 0.5763 GB, free: 4.738 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.483e-06/0.3716, allocations: 4 kB / 0.5763 GB, free: 4.734 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001708/0.3718, allocations: 60.16 kB / 0.5764 GB, free: 4.676 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.457e-06/0.3718, allocations: 8 kB / 0.5764 GB, free: 4.668 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.803e-05/0.3718, allocations: 19.98 kB / 0.5764 GB, free: 4.648 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.544e-06/0.3718, allocations: 4.375 kB / 0.5764 GB, free: 4.645 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.893e-06/0.3718, allocations: 4 kB / 0.5764 GB, free: 4.641 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001142/0.373, allocations: 0.7977 MB / 0.5772 GB, free: 3.797 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002445/0.3732, allocations: 95.52 kB / 0.5773 GB, free: 3.703 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.563e-05/0.3733, allocations: 16 kB / 0.5773 GB, free: 3.688 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002655/0.3736, allocations: 15.98 kB / 0.5773 GB, free: 3.672 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001048/0.3737, allocations: 47.81 kB / 0.5774 GB, free: 3.625 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.679e-05/0.3737, allocations: 23.98 kB / 0.5774 GB, free: 3.602 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007811/0.3745, allocations: 0.5811 MB / 0.578 GB, free: 3.027 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3745, allocations: 4 kB / 0.578 GB, free: 3.023 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005341/0.375, allocations: 87.92 kB / 0.578 GB, free: 2.938 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.003254/0.3783, allocations: 1.76 MB / 0.5798 GB, free: 1.312 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007087/0.379, allocations: 299.5 kB / 0.58 GB, free: 1.02 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.379, allocations: 0 / 0.58 GB, free: 1.02 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003105/0.3793, allocations: 144.4 kB / 0.5802 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009611/0.3803, allocations: 121.7 kB / 0.5803 GB, free: 0.7617 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006806/0.3871, allocations: 4.748 MB / 0.5849 GB, free: 11.82 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005879/0.3877, allocations: 0.8899 MB / 0.5858 GB, free: 10.9 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002253/0.3879, allocations: 87.27 kB / 0.5859 GB, free: 10.82 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002645/0.3882, allocations: 191.4 kB / 0.5861 GB, free: 10.63 MB / 430.1 MB Notification: Performance of SimCode: time 8.62e-07/0.3882, allocations: 0 / 0.5861 GB, free: 10.63 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03975/0.4279, allocations: 11.14 MB / 0.5969 GB, free: 15.52 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.075/9.502, allocations: 6.406 kB / 0.597 GB, free: 15.51 MB / 446.1 MB " [Timeout remaining time 650] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test88.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test88.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test88_res.csv --start-time 0 --stop-time 9 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00179784 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test88.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test88.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.583164339885116] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'd2_t_new.y', 't_new_2.y[1]', 'd_t_new_2.y', 'd2_t_new_2.y', 't_new_3.y[1]', 'd_t_new_3.y', 'd2_t_new_3.y', 't_new_4.y[1]', 'd_t_new_4.y', 'd2_t_new_4.y'] 9.65114943915978 9.673823823 9.312717542 Calling exit ...