Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test8.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.001747/0.001747, 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.002106/0.002106, allocations: 213.2 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.574/1.574, allocations: 230.5 MB / 258.2 MB, free: 8.047 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.2241/0.2241, allocations: 46.94 MB / 361.6 MB, free: 4.195 MB / 286.1 MB " [Timeout remaining time 179] 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.Test8,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test8,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test8",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.002346/0.002346, allocations: 79.88 kB / 0.497 GB, free: 7.691 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3381/0.3405, allocations: 66.08 MB / 0.5616 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.00289/0.3434, allocations: 1.765 MB / 0.5633 GB, free: 2.512 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001696/0.3451, allocations: 1.056 MB / 0.5643 GB, free: 1.449 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.033e-05/0.3451, allocations: 4 kB / 0.5643 GB, free: 1.445 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000319/0.3455, allocations: 111.7 kB / 0.5644 GB, free: 1.336 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003096/0.3458, allocations: 127.5 kB / 0.5646 GB, free: 1.211 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001906/0.346, allocations: 79.72 kB / 0.5646 GB, free: 1.133 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002051/0.3462, allocations: 131.6 kB / 0.5648 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.935e-05/0.3463, allocations: 21.92 kB / 0.5648 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.92e-05/0.3464, allocations: 55.78 kB / 0.5648 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001262/0.3465, allocations: 75.78 kB / 0.5649 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.524e-05/0.3465, allocations: 7.938 kB / 0.5649 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001148/0.3466, allocations: 71.91 kB / 0.565 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.513e-05/0.3467, allocations: 23.92 kB / 0.565 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.049e-05/0.3467, allocations: 47.61 kB / 0.5651 GB, free: 0.707 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002464/0.347, allocations: 159.3 kB / 0.5652 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.347, allocations: 0 / 0.5652 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.347, allocations: 0 / 0.5652 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.839e-06/0.347, allocations: 0 / 0.5652 GB, free: 0.5508 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000623/0.3476, allocations: 393.2 kB / 0.5656 GB, free: 140 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.3477, allocations: 8.031 kB / 0.5656 GB, free: 132 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.757e-05/0.3477, allocations: 42.69 kB / 0.5656 GB, free: 80 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.862e-05/0.3477, allocations: 16.84 kB / 0.5657 GB, free: 64 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002837/0.348, allocations: 171.2 kB / 0.5658 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/0.348, allocations: 4.375 kB / 0.5658 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.429e-05/0.3481, allocations: 4.375 kB / 0.5658 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001689/0.3482, allocations: 73.72 kB / 0.5659 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.3482, allocations: 0 / 0.5659 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.3483, allocations: 0 / 0.5659 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.3483, allocations: 7.938 kB / 0.5659 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.623e-05/0.3484, allocations: 35.97 kB / 0.5659 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000414/0.3488, allocations: 287.8 kB / 0.5662 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002597/0.349, allocations: 70.58 kB / 0.5663 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.546e-05/0.3491, allocations: 20.86 kB / 0.5663 GB, free: 15.31 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.127e-05/0.3491, allocations: 0 / 0.5663 GB, free: 15.31 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001756/0.3493, allocations: 83.52 kB / 0.5664 GB, free: 15.22 MB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 1.192e-06/0.3493, allocations: 0 / 0.5664 GB, free: 15.22 MB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.0007871/0.3501, allocations: 277.6 kB / 0.5666 GB, free: 14.94 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.304e-05/0.3501, allocations: 51.41 kB / 0.5667 GB, free: 14.88 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002559/0.3504, allocations: 263.7 kB / 0.5669 GB, free: 14.61 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.648e-05/0.3504, allocations: 29.7 kB / 0.567 GB, free: 14.57 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.851e-05/0.3505, allocations: 116.1 kB / 0.5671 GB, free: 14.45 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.527e-05/0.3505, allocations: 43.61 kB / 0.5671 GB, free: 14.41 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.038e-05/0.3506, allocations: 33.7 kB / 0.5672 GB, free: 14.37 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001496/0.3508, allocations: 326.8 kB / 0.5675 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.784e-05/0.3508, allocations: 31.98 kB / 0.5675 GB, free: 14.01 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.099e-05/0.3509, allocations: 53.69 kB / 0.5675 GB, free: 13.95 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001642/0.3511, allocations: 81.72 kB / 0.5676 GB, free: 13.87 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.3511, allocations: 4 kB / 0.5676 GB, free: 13.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002403/0.3513, allocations: 145.5 kB / 0.5678 GB, free: 13.71 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.3513, allocations: 10.33 kB / 0.5678 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.3514, allocations: 240 / 0.5678 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.3514, allocations: 4 kB / 0.5678 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.309e-05/0.3514, allocations: 19.94 kB / 0.5678 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.3515, allocations: 7.984 kB / 0.5678 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.941e-05/0.3515, allocations: 19.88 kB / 0.5678 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.44e-05/0.3515, allocations: 8.031 kB / 0.5678 GB, free: 13.65 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 (14): * Single equations (assignments): 14 * 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.0001129/0.3516, allocations: 134.7 kB / 0.568 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.792e-05/0.3517, allocations: 15.91 kB / 0.568 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000325/0.352, allocations: 167.1 kB / 0.5681 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.352, allocations: 0 / 0.5681 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.352, allocations: 0 / 0.5681 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.352, allocations: 3.938 kB / 0.5681 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005704/0.3526, allocations: 447.2 kB / 0.5686 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.3526, allocations: 96 / 0.5686 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.795e-05/0.3526, allocations: 31.8 kB / 0.5686 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.3526, allocations: 0 / 0.5686 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.3526, allocations: 4 kB / 0.5686 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.3526, allocations: 0 / 0.5686 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.3526, allocations: 0 / 0.5686 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003007/0.3529, allocations: 249.1 kB / 0.5688 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.405e-05/0.353, allocations: 19.78 kB / 0.5689 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.669e-05/0.353, allocations: 8 kB / 0.5689 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.113e-05/0.3531, allocations: 0 / 0.5689 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.717e-05/0.3531, allocations: 15.97 kB / 0.5689 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.547e-05/0.3531, allocations: 4 kB / 0.5689 GB, free: 12.48 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001678/0.3533, allocations: 193.5 kB / 0.5691 GB, free: 12.29 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3533, allocations: 0 / 0.5691 GB, free: 12.29 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002727/0.3536, allocations: 39.92 kB / 0.5691 GB, free: 12.25 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 (12): * Single equations (assignments): 10 * 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.002317/0.3559, allocations: 1.181 MB / 0.5703 GB, free: 11.22 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002446/0.3561, allocations: 79.91 kB / 0.5703 GB, free: 11.14 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.3561, allocations: 0 / 0.5703 GB, free: 11.14 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.745e-05/0.3562, allocations: 39.92 kB / 0.5704 GB, free: 11.11 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003599/0.3566, allocations: 39.72 kB / 0.5704 GB, free: 11.07 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002344/0.3589, allocations: 1.957 MB / 0.5723 GB, free: 9.012 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003627/0.3593, allocations: 0.724 MB / 0.573 GB, free: 8.262 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.038e-05/0.3594, allocations: 25.08 kB / 0.5731 GB, free: 8.238 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.548e-05/0.3595, allocations: 47.42 kB / 0.5731 GB, free: 8.191 MB / 414.1 MB Notification: Performance of SimCode: time 3e-07/0.3595, allocations: 0 / 0.5731 GB, free: 8.191 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1577/0.5172, allocations: 4.315 MB / 0.5773 GB, free: 3.898 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.603/9.121, allocations: 0 / 0.5773 GB, free: 3.898 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test8.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test8_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_Test8.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.331132422201335] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 't_new.y[2]', 'd_t_new.y', 'd2_t_new.y'] 9.271423401776701 9.28788753 8.937669708 Calling exit ...