Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test35.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.001364/0.001364, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.001456/0.001456, allocations: 212 kB / 24.54 MB, free: 4.016 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.48/1.48, allocations: 230.5 MB / 258.2 MB, free: 8.055 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.2357/0.2357, allocations: 46.93 MB / 361.6 MB, free: 4.215 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.Test35,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test35",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test35,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test35",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.002326/0.002326, allocations: 83.86 kB / 0.497 GB, free: 7.723 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3565/0.3588, allocations: 66.08 MB / 0.5616 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.00394/0.3627, allocations: 1.768 MB / 0.5633 GB, free: 2.504 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001986/0.3647, allocations: 1.053 MB / 0.5643 GB, free: 1.445 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.954e-05/0.3648, allocations: 0 / 0.5643 GB, free: 1.445 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000371/0.3652, allocations: 95.67 kB / 0.5644 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00038/0.3656, allocations: 123.5 kB / 0.5645 GB, free: 1.23 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002278/0.3658, allocations: 75.73 kB / 0.5646 GB, free: 1.156 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002352/0.366, allocations: 123.6 kB / 0.5647 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001291/0.3662, allocations: 25.92 kB / 0.5648 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001218/0.3663, allocations: 55.77 kB / 0.5648 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001446/0.3664, allocations: 79.66 kB / 0.5649 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.818e-05/0.3664, allocations: 8 kB / 0.5649 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001276/0.3666, allocations: 51.98 kB / 0.5649 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.223e-05/0.3666, allocations: 27.92 kB / 0.565 GB, free: 0.793 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.807e-05/0.3667, allocations: 47.67 kB / 0.565 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002791/0.367, allocations: 143.4 kB / 0.5651 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.367, allocations: 0 / 0.5651 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.367, allocations: 0 / 0.5651 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.244e-05/0.367, allocations: 0 / 0.5651 GB, free: 0.6055 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006734/0.3677, allocations: 373.3 kB / 0.5655 GB, free: 216 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.3677, allocations: 8.031 kB / 0.5655 GB, free: 208 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.434e-05/0.3678, allocations: 38.75 kB / 0.5656 GB, free: 160 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.316e-05/0.3678, allocations: 16.83 kB / 0.5656 GB, free: 144 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004006/0.3682, allocations: 171 kB / 0.5657 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.3682, allocations: 384 / 0.5657 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.477e-05/0.3682, allocations: 4.375 kB / 0.5657 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001834/0.3684, allocations: 65.73 kB / 0.5658 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.3684, allocations: 0 / 0.5658 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/0.3685, allocations: 0 / 0.5658 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.957e-06/0.3685, allocations: 7.922 kB / 0.5658 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8e-05/0.3685, allocations: 23.98 kB / 0.5658 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004156/0.369, allocations: 279.9 kB / 0.5661 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002428/0.3692, allocations: 50.56 kB / 0.5661 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.638e-05/0.3693, allocations: 28.91 kB / 0.5662 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.448e-05/0.3693, allocations: 0 / 0.5662 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001734/0.3695, allocations: 75.38 kB / 0.5662 GB, free: 15.35 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.3695, allocations: 0 / 0.5662 GB, free: 15.35 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007684/0.3702, allocations: 237.8 kB / 0.5665 GB, free: 15.11 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.082e-05/0.3703, allocations: 59.34 kB / 0.5665 GB, free: 15.04 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000252/0.3705, allocations: 238.9 kB / 0.5668 GB, free: 14.79 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.812e-05/0.3706, allocations: 25.7 kB / 0.5668 GB, free: 14.76 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.994e-05/0.3706, allocations: 116.1 kB / 0.5669 GB, free: 14.64 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.971e-05/0.3707, allocations: 31.73 kB / 0.5669 GB, free: 14.61 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.321e-05/0.3707, allocations: 37.7 kB / 0.567 GB, free: 14.57 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001572/0.3709, allocations: 326.8 kB / 0.5673 GB, free: 14.24 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.635e-05/0.371, allocations: 23.98 kB / 0.5673 GB, free: 14.22 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.343e-05/0.3711, allocations: 52.89 kB / 0.5673 GB, free: 14.16 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001499/0.3712, allocations: 85.69 kB / 0.5674 GB, free: 14.07 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.3712, allocations: 4 kB / 0.5674 GB, free: 14.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000228/0.3714, allocations: 129.5 kB / 0.5675 GB, free: 13.94 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.3714, allocations: 6.5 kB / 0.5676 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.3715, allocations: 4 kB / 0.5676 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.3715, allocations: 0 / 0.5676 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.825e-05/0.3715, allocations: 16 kB / 0.5676 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.3716, allocations: 4.219 kB / 0.5676 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.674e-05/0.3716, allocations: 7.938 kB / 0.5676 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.299e-05/0.3716, allocations: 11.98 kB / 0.5676 GB, free: 13.89 MB / 414.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 (13): * Single equations (assignments): 13 * 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.0001306/0.3717, allocations: 138.7 kB / 0.5677 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.158e-05/0.3718, allocations: 19.91 kB / 0.5677 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002942/0.3721, allocations: 143 kB / 0.5679 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.3721, allocations: 4 kB / 0.5679 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.3721, allocations: 0 / 0.5679 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.058e-05/0.3721, allocations: 7.922 kB / 0.5679 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005678/0.3727, allocations: 419.2 kB / 0.5683 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3727, allocations: 0 / 0.5683 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.148e-05/0.3727, allocations: 23.86 kB / 0.5683 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.063e-06/0.3727, allocations: 0 / 0.5683 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.207e-05/0.3727, allocations: 8 kB / 0.5683 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.3727, allocations: 0 / 0.5683 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.3727, allocations: 0 / 0.5683 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002861/0.373, allocations: 237.1 kB / 0.5686 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.49e-05/0.3731, allocations: 15.84 kB / 0.5686 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.941e-05/0.3731, allocations: 4.094 kB / 0.5686 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.42e-05/0.3732, allocations: 11.92 kB / 0.5686 GB, free: 12.78 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.261e-05/0.3732, allocations: 11.92 kB / 0.5686 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.875e-05/0.3732, allocations: 8 kB / 0.5686 GB, free: 12.76 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001685/0.3734, allocations: 171.2 kB / 0.5688 GB, free: 12.59 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3734, allocations: 0 / 0.5688 GB, free: 12.59 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002736/0.3737, allocations: 39.92 kB / 0.5688 GB, free: 12.55 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.002384/0.376, allocations: 1.154 MB / 0.5699 GB, free: 11.55 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002202/0.3763, allocations: 79.84 kB / 0.57 GB, free: 11.48 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.3763, allocations: 0 / 0.57 GB, free: 11.48 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.452e-05/0.3764, allocations: 39.92 kB / 0.57 GB, free: 11.44 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003682/0.3767, allocations: 43.62 kB / 0.5701 GB, free: 11.4 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002098/0.3788, allocations: 1.843 MB / 0.5719 GB, free: 9.457 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003316/0.3792, allocations: 0.7158 MB / 0.5726 GB, free: 8.715 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.181e-05/0.3792, allocations: 20.62 kB / 0.5726 GB, free: 8.695 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.816e-05/0.3793, allocations: 43.42 kB / 0.5726 GB, free: 8.652 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3793, allocations: 0 / 0.5726 GB, free: 8.652 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02763/0.4069, allocations: 4.043 MB / 0.5766 GB, free: 4.625 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.014/8.421, allocations: 11.62 kB / 0.5766 GB, free: 4.617 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test35.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test35_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00059976 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test35.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.518687952775508] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'd2_t_new.y'] 8.572313664946705 8.59985813 8.227563479 Calling exit ...