Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5.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.001265/0.001265, allocations: 109 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.001383/0.001383, allocations: 213.9 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.455/1.455, allocations: 230.5 MB / 258.2 MB, free: 8.027 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.2433/0.2433, allocations: 46.93 MB / 361.6 MB, free: 4.207 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.Test5,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test5,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test5",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.002726/0.002726, allocations: 75.88 kB / 0.4971 GB, free: 7.699 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3594/0.3621, allocations: 66.08 MB / 0.5616 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.00451/0.3666, allocations: 1.78 MB / 0.5633 GB, free: 2.492 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002535/0.3692, allocations: 1.057 MB / 0.5644 GB, free: 1.43 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001019/0.3693, allocations: 0 / 0.5644 GB, free: 1.43 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004487/0.3697, allocations: 111.6 kB / 0.5645 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004711/0.3702, allocations: 127.5 kB / 0.5646 GB, free: 1.195 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003582/0.3706, allocations: 79.67 kB / 0.5647 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003199/0.3709, allocations: 143.6 kB / 0.5648 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000148/0.371, allocations: 15.55 kB / 0.5648 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001613/0.3712, allocations: 63.77 kB / 0.5649 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001785/0.3714, allocations: 87.66 kB / 0.565 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.342e-05/0.3714, allocations: 4 kB / 0.565 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001904/0.3716, allocations: 59.98 kB / 0.565 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.3e-05/0.3717, allocations: 43.83 kB / 0.5651 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.197e-05/0.3718, allocations: 51.56 kB / 0.5651 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003636/0.3721, allocations: 167.3 kB / 0.5653 GB, free: 500 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.3721, allocations: 0 / 0.5653 GB, free: 500 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3721, allocations: 0 / 0.5653 GB, free: 500 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.773e-06/0.3721, allocations: 0 / 0.5653 GB, free: 500 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0008083/0.373, allocations: 393.2 kB / 0.5656 GB, free: 76 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.893e-05/0.373, allocations: 8.031 kB / 0.5656 GB, free: 68 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.797e-05/0.373, allocations: 34.75 kB / 0.5657 GB, free: 24 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.984e-05/0.3731, allocations: 16.84 kB / 0.5657 GB, free: 8 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004762/0.3736, allocations: 175.1 kB / 0.5659 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.415e-05/0.3736, allocations: 8.359 kB / 0.5659 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.641e-05/0.3736, allocations: 8.375 kB / 0.5659 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002488/0.3739, allocations: 77.72 kB / 0.566 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.849e-05/0.3739, allocations: 3.953 kB / 0.566 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.3739, allocations: 0 / 0.566 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.3739, allocations: 4 kB / 0.566 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001492/0.3741, allocations: 35.97 kB / 0.566 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000605/0.3747, allocations: 299.8 kB / 0.5663 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004175/0.3751, allocations: 78.55 kB / 0.5664 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001084/0.3752, allocations: 20.84 kB / 0.5664 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.016e-05/0.3752, allocations: 4 kB / 0.5664 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002487/0.3755, allocations: 79.31 kB / 0.5665 GB, free: 15.13 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.894e-06/0.3755, allocations: 4 kB / 0.5665 GB, free: 15.12 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.001254/0.3767, allocations: 305.7 kB / 0.5668 GB, free: 14.82 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.67e-05/0.3768, allocations: 55.34 kB / 0.5668 GB, free: 14.75 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004213/0.3772, allocations: 259.7 kB / 0.5671 GB, free: 14.49 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.805e-05/0.3772, allocations: 33.7 kB / 0.5671 GB, free: 14.45 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001219/0.3774, allocations: 112.1 kB / 0.5672 GB, free: 14.34 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.951e-05/0.3774, allocations: 51.58 kB / 0.5672 GB, free: 14.29 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.2e-05/0.3775, allocations: 37.7 kB / 0.5673 GB, free: 14.24 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000187/0.3777, allocations: 330.8 kB / 0.5676 GB, free: 13.91 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001377/0.3778, allocations: 35.98 kB / 0.5676 GB, free: 13.88 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001433/0.378, allocations: 56.8 kB / 0.5677 GB, free: 13.82 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002796/0.3783, allocations: 105.6 kB / 0.5678 GB, free: 13.71 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.3783, allocations: 0 / 0.5678 GB, free: 13.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004217/0.3787, allocations: 161.6 kB / 0.5679 GB, free: 13.54 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.3787, allocations: 6.5 kB / 0.5679 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.3787, allocations: 0 / 0.5679 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.014e-05/0.3787, allocations: 4 kB / 0.5679 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001503/0.3789, allocations: 28.03 kB / 0.568 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/0.3789, allocations: 7.875 kB / 0.568 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.851e-05/0.379, allocations: 7.984 kB / 0.568 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.736e-05/0.379, allocations: 8 kB / 0.568 GB, free: 13.48 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 (16): * Single equations (assignments): 16 * 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.0001759/0.3792, allocations: 134.7 kB / 0.5681 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.391e-05/0.3792, allocations: 23.86 kB / 0.5681 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005813/0.3798, allocations: 186.5 kB / 0.5683 GB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.3798, allocations: 0 / 0.5683 GB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.223e-05/0.3798, allocations: 7.922 kB / 0.5683 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.3798, allocations: 0 / 0.5683 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009157/0.3807, allocations: 471.1 kB / 0.5688 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.3807, allocations: 8.062 kB / 0.5688 GB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.914e-05/0.3808, allocations: 23.92 kB / 0.5688 GB, free: 12.58 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.3808, allocations: 0 / 0.5688 GB, free: 12.58 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.107e-05/0.3808, allocations: 8 kB / 0.5688 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.541e-06/0.3809, allocations: 4 kB / 0.5688 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.3809, allocations: 0 / 0.5688 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004679/0.3813, allocations: 265 kB / 0.5691 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.622e-05/0.3814, allocations: 15.84 kB / 0.5691 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.347e-05/0.3814, allocations: 8 kB / 0.5691 GB, free: 12.26 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001447/0.3815, allocations: 7.984 kB / 0.5691 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.129e-05/0.3816, allocations: 7.984 kB / 0.5691 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.405e-05/0.3816, allocations: 8 kB / 0.5691 GB, free: 12.24 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002573/0.3819, allocations: 189.8 kB / 0.5693 GB, free: 12.05 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3819, allocations: 0 / 0.5693 GB, free: 12.05 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004652/0.3824, allocations: 43.88 kB / 0.5693 GB, free: 12.01 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 (14): * Single equations (assignments): 12 * 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.003397/0.3858, allocations: 1.191 MB / 0.5705 GB, free: 10.97 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004303/0.3862, allocations: 103.3 kB / 0.5706 GB, free: 10.88 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.046e-05/0.3862, allocations: 4 kB / 0.5706 GB, free: 10.87 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001483/0.3864, allocations: 39.92 kB / 0.5706 GB, free: 10.83 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004487/0.3868, allocations: 35.92 kB / 0.5707 GB, free: 10.8 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002438/0.3892, allocations: 2.005 MB / 0.5726 GB, free: 8.695 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003361/0.3896, allocations: 0.724 MB / 0.5733 GB, free: 7.945 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.816e-05/0.3897, allocations: 41.33 kB / 0.5734 GB, free: 7.906 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.409e-05/0.3897, allocations: 55.41 kB / 0.5734 GB, free: 7.852 MB / 414.1 MB Notification: Performance of SimCode: time 6.91e-07/0.3897, allocations: 7.875 kB / 0.5734 GB, free: 7.844 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2796/0.6694, allocations: 4.456 MB / 0.5778 GB, free: 3.414 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.566/9.235, allocations: 6.344 kB / 0.5778 GB, free: 3.41 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019984 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test5.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.603203311096877] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 't_new.y[2]', 'd_t_new.y', 'd_t_new2.y', 'd2_t_new.y'] 9.474595384672284 9.406068327 9.029747776 Calling exit ...