Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test78.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.001374/0.001374, allocations: 112.3 kB / 20.22 MB, free: 1.793 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.001546/0.001546, allocations: 215.5 kB / 23.48 MB, free: 5.227 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.477/1.477, allocations: 230.2 MB / 256.8 MB, free: 8.574 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.2238/0.2238, allocations: 46.9 MB / 360 MB, free: 4.719 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.Test78,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test78",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test78,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test78",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.002311/0.002311, allocations: 84.19 kB / 0.4952 GB, free: 8.441 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3694/0.3717, allocations: 65.99 MB / 0.5596 GB, free: 4.965 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.003545/0.3752, allocations: 1.932 MB / 0.5615 GB, free: 3.02 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002029/0.3773, allocations: 1.15 MB / 0.5626 GB, free: 1.863 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001014/0.3774, allocations: 7.938 kB / 0.5627 GB, free: 1.855 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005324/0.3779, allocations: 247.4 kB / 0.5629 GB, free: 1.613 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004935/0.3784, allocations: 243.1 kB / 0.5631 GB, free: 1.375 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003348/0.3787, allocations: 115.6 kB / 0.5632 GB, free: 1.262 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003526/0.3791, allocations: 267.4 kB / 0.5635 GB, free: 1 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000129/0.3792, allocations: 23.5 kB / 0.5635 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002/0.3794, allocations: 139.4 kB / 0.5636 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002518/0.3797, allocations: 203.4 kB / 0.5638 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.773e-05/0.3797, allocations: 11.94 kB / 0.5638 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001408/0.3798, allocations: 71.97 kB / 0.5639 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001221/0.38, allocations: 67.64 kB / 0.564 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001039/0.3801, allocations: 95.28 kB / 0.5641 GB, free: 408 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000347/0.3804, allocations: 254.7 kB / 0.5643 GB, free: 152 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.3804, allocations: 4 kB / 0.5643 GB, free: 148 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.3804, allocations: 0 / 0.5643 GB, free: 148 kB / 398.1 MB Notification: Performance of Transformations before backend: time 1.062e-05/0.3804, allocations: 0 / 0.5643 GB, free: 148 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008135/0.3812, allocations: 0.5948 MB / 0.5649 GB, free: 15.5 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.3813, allocations: 12.03 kB / 0.5649 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.613e-05/0.3813, allocations: 42.73 kB / 0.5649 GB, free: 15.44 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.029e-05/0.3814, allocations: 32.75 kB / 0.565 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000406/0.3818, allocations: 294.7 kB / 0.5653 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.221e-05/0.3818, allocations: 12.31 kB / 0.5653 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.285e-05/0.3818, allocations: 4.375 kB / 0.5653 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000242/0.3821, allocations: 114.4 kB / 0.5654 GB, free: 14.94 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/0.3821, allocations: 3.984 kB / 0.5654 GB, free: 14.94 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.3821, allocations: 8 kB / 0.5654 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.3821, allocations: 0 / 0.5654 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00014/0.3822, allocations: 47.95 kB / 0.5654 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005866/0.3828, allocations: 488.7 kB / 0.5659 GB, free: 14.35 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00038/0.3832, allocations: 117.2 kB / 0.566 GB, free: 14.22 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001006/0.3833, allocations: 41.81 kB / 0.5661 GB, free: 14.17 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.982e-05/0.3833, allocations: 8 kB / 0.5661 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002508/0.3836, allocations: 125 kB / 0.5662 GB, free: 14.02 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.293e-06/0.3836, allocations: 0 / 0.5662 GB, free: 14.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001321/0.3849, allocations: 0.5086 MB / 0.5667 GB, free: 13.51 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.714e-05/0.385, allocations: 81.11 kB / 0.5668 GB, free: 13.41 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005256/0.3855, allocations: 0.4937 MB / 0.5672 GB, free: 12.91 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.446e-05/0.3855, allocations: 29.7 kB / 0.5673 GB, free: 12.87 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001315/0.3857, allocations: 168.5 kB / 0.5674 GB, free: 12.7 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.329e-05/0.3857, allocations: 79.41 kB / 0.5675 GB, free: 12.62 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.559e-05/0.3858, allocations: 41.7 kB / 0.5675 GB, free: 12.57 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001822/0.386, allocations: 346.8 kB / 0.5679 GB, free: 12.23 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001245/0.3861, allocations: 55.97 kB / 0.5679 GB, free: 12.17 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001555/0.3863, allocations: 99.27 kB / 0.568 GB, free: 12.06 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003035/0.3866, allocations: 167.5 kB / 0.5682 GB, free: 11.89 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.3866, allocations: 0 / 0.5682 GB, free: 11.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003987/0.387, allocations: 233.3 kB / 0.5684 GB, free: 11.65 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.387, allocations: 11.98 kB / 0.5684 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.387, allocations: 3.938 kB / 0.5684 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.387, allocations: 4.062 kB / 0.5684 GB, free: 11.63 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001437/0.3872, allocations: 47.86 kB / 0.5685 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.194e-06/0.3872, allocations: 0 / 0.5685 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.234e-05/0.3872, allocations: 11.98 kB / 0.5685 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.435e-05/0.3873, allocations: 8 kB / 0.5685 GB, free: 11.57 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001673/0.3874, allocations: 173.8 kB / 0.5687 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.918e-05/0.3875, allocations: 35.77 kB / 0.5687 GB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00056/0.388, allocations: 273.2 kB / 0.569 GB, free: 11.08 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.012e-06/0.388, allocations: 4 kB / 0.569 GB, free: 11.08 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.388, allocations: 0 / 0.569 GB, free: 11.08 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.3881, allocations: 3.984 kB / 0.569 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009972/0.389, allocations: 0.7351 MB / 0.5697 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.3891, allocations: 8.031 kB / 0.5697 GB, free: 10.26 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.305e-05/0.3891, allocations: 31.92 kB / 0.5697 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.3891, allocations: 0 / 0.5697 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.909e-05/0.3892, allocations: 8 kB / 0.5697 GB, free: 10.22 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.3892, allocations: 4 kB / 0.5697 GB, free: 10.22 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.3892, allocations: 4 kB / 0.5697 GB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005335/0.3897, allocations: 425.8 kB / 0.5701 GB, free: 9.77 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.711e-05/0.3898, allocations: 104.9 kB / 0.5702 GB, free: 9.648 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.28e-05/0.3898, allocations: 11.98 kB / 0.5703 GB, free: 9.637 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001343/0.39, allocations: 8 kB / 0.5703 GB, free: 9.629 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.342e-05/0.39, allocations: 31.89 kB / 0.5703 GB, free: 9.598 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.705e-05/0.3901, allocations: 11.94 kB / 0.5703 GB, free: 9.586 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004185/0.3905, allocations: 375.1 kB / 0.5707 GB, free: 9.219 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3905, allocations: 0 / 0.5707 GB, free: 9.219 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003614/0.3909, allocations: 51.92 kB / 0.5707 GB, free: 9.168 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002952/0.3938, allocations: 1.373 MB / 0.572 GB, free: 7.957 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003579/0.3942, allocations: 147.8 kB / 0.5722 GB, free: 7.812 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3942, allocations: 4.062 kB / 0.5722 GB, free: 7.809 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001497/0.3943, allocations: 75.84 kB / 0.5723 GB, free: 7.734 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005536/0.3949, allocations: 68.83 kB / 0.5723 GB, free: 7.676 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003628/0.3985, allocations: 3.017 MB / 0.5753 GB, free: 4.531 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004201/0.3989, allocations: 0.787 MB / 0.576 GB, free: 3.719 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.00011/0.399, allocations: 37.91 kB / 0.5761 GB, free: 3.684 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002179/0.3992, allocations: 107.4 kB / 0.5762 GB, free: 3.578 MB / 414.1 MB Notification: Performance of SimCode: time 8.42e-07/0.3992, allocations: 0 / 0.5762 GB, free: 3.578 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02983/0.4291, allocations: 6.689 MB / 0.5827 GB, free: 12.91 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.267/8.696, allocations: 8.625 kB / 0.5827 GB, free: 12.9 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test78.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test78_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0029988 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test78.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.72492269903887] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 't_new_2.y[1]', 'd_t_new_2.y', 'd2_t_new.y', 'd2_t_new_2.y'] 8.821015576948412 8.837212502 8.453565129 Calling exit ...