Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test87.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.001485/0.001485, 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.001459/0.001459, allocations: 213.6 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.487/1.487, allocations: 230.5 MB / 258.2 MB, free: 7.996 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.2411/0.2411, allocations: 46.94 MB / 361.6 MB, free: 4.18 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.Test87,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test87",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test87,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test87",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.002496/0.002496, allocations: 75.86 kB / 0.497 GB, free: 7.684 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4078/0.4103, allocations: 66.09 MB / 0.5616 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.004563/0.4149, allocations: 2.302 MB / 0.5638 GB, free: 1.953 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002769/0.4177, allocations: 1.338 MB / 0.5651 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001621/0.4178, allocations: 11.88 kB / 0.5652 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005327/0.4184, allocations: 139.3 kB / 0.5653 GB, free: 472 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006177/0.419, allocations: 262.8 kB / 0.5655 GB, free: 208 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004519/0.4194, allocations: 191.5 kB / 0.5657 GB, free: 16 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006807/0.4201, allocations: 478.6 kB / 0.5662 GB, free: 15.55 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001689/0.4203, allocations: 47.22 kB / 0.5662 GB, free: 15.5 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005599/0.4208, allocations: 346.9 kB / 0.5666 GB, free: 15.16 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000246/0.4211, allocations: 171.1 kB / 0.5667 GB, free: 14.99 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.489e-05/0.4211, allocations: 20 kB / 0.5667 GB, free: 14.97 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001684/0.4213, allocations: 67.98 kB / 0.5668 GB, free: 14.9 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000189/0.4215, allocations: 163.3 kB / 0.567 GB, free: 14.74 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001947/0.4217, allocations: 198.3 kB / 0.5671 GB, free: 14.55 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006063/0.4223, allocations: 485.4 kB / 0.5676 GB, free: 14.07 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.4223, allocations: 8 kB / 0.5676 GB, free: 14.06 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.4223, allocations: 0 / 0.5676 GB, free: 14.06 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.074e-05/0.4223, allocations: 3.984 kB / 0.5676 GB, free: 14.06 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.001396/0.4237, allocations: 0.8379 MB / 0.5684 GB, free: 13.19 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.923e-05/0.4238, allocations: 12.03 kB / 0.5684 GB, free: 13.18 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.814e-05/0.4238, allocations: 46.73 kB / 0.5685 GB, free: 13.12 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001256/0.4239, allocations: 72.47 kB / 0.5686 GB, free: 13.05 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006932/0.4246, allocations: 381.6 kB / 0.5689 GB, free: 12.65 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.36e-05/0.4247, allocations: 16.36 kB / 0.5689 GB, free: 12.64 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.969e-05/0.4247, allocations: 16.33 kB / 0.569 GB, free: 12.62 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005506/0.4253, allocations: 205 kB / 0.5692 GB, free: 12.4 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.079e-05/0.4253, allocations: 0 / 0.5692 GB, free: 12.4 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.632e-05/0.4253, allocations: 8 kB / 0.5692 GB, free: 12.39 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.186e-05/0.4253, allocations: 8 kB / 0.5692 GB, free: 12.39 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003866/0.4257, allocations: 91.86 kB / 0.5693 GB, free: 12.3 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001103/0.4268, allocations: 0.7929 MB / 0.57 GB, free: 11.45 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006784/0.4275, allocations: 234.5 kB / 0.5703 GB, free: 11.18 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001931/0.4277, allocations: 87.47 kB / 0.5703 GB, free: 11.09 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.565e-05/0.4277, allocations: 7.984 kB / 0.5703 GB, free: 11.08 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004311/0.4282, allocations: 204.3 kB / 0.5705 GB, free: 10.86 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 7.214e-06/0.4282, allocations: 3.984 kB / 0.5705 GB, free: 10.85 MB / 414.1 MB Notification: Performance of matching and sorting (n=44): time 0.002947/0.4311, allocations: 1.195 MB / 0.5717 GB, free: 9.648 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001244/0.4312, allocations: 140.5 kB / 0.5718 GB, free: 9.48 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001168/0.4324, allocations: 0.9652 MB / 0.5728 GB, free: 8.504 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.05e-05/0.4325, allocations: 41.69 kB / 0.5728 GB, free: 8.457 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002403/0.4327, allocations: 265 kB / 0.5731 GB, free: 8.195 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001401/0.4328, allocations: 150.8 kB / 0.5732 GB, free: 8.047 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001221/0.433, allocations: 74.09 kB / 0.5733 GB, free: 7.965 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001754/0.4331, allocations: 329.9 kB / 0.5736 GB, free: 7.637 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002508/0.4334, allocations: 116.8 kB / 0.5737 GB, free: 7.523 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000298/0.4337, allocations: 187.2 kB / 0.5739 GB, free: 7.32 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000582/0.4343, allocations: 315 kB / 0.5742 GB, free: 6.988 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.4343, allocations: 0 / 0.5742 GB, free: 6.988 MB / 414.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0009559/0.4352, allocations: 453.2 kB / 0.5746 GB, free: 6.539 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.839e-05/0.4352, allocations: 8 kB / 0.5746 GB, free: 6.531 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.4353, allocations: 0 / 0.5746 GB, free: 6.531 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.227e-05/0.4353, allocations: 7.984 kB / 0.5746 GB, free: 6.523 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002801/0.4356, allocations: 83.84 kB / 0.5747 GB, free: 6.441 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.078e-05/0.4356, allocations: 4 kB / 0.5747 GB, free: 6.438 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001598/0.4357, allocations: 19.98 kB / 0.5747 GB, free: 6.418 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.493e-05/0.4358, allocations: 23.94 kB / 0.5748 GB, free: 6.395 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.0003349/0.4361, allocations: 257 kB / 0.575 GB, free: 6.137 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001068/0.4362, allocations: 83.47 kB / 0.5751 GB, free: 6.055 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001039/0.4373, allocations: 0.4953 MB / 0.5756 GB, free: 5.543 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.616e-06/0.4373, allocations: 4 kB / 0.5756 GB, free: 5.539 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.4373, allocations: 4 kB / 0.5756 GB, free: 5.535 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-06/0.4373, allocations: 3.984 kB / 0.5756 GB, free: 5.531 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002516/0.4398, allocations: 1.31 MB / 0.5769 GB, free: 4.145 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-06/0.4398, allocations: 4.062 kB / 0.5769 GB, free: 4.141 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001854/0.44, allocations: 63.84 kB / 0.5769 GB, free: 4.078 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.795e-06/0.44, allocations: 4 kB / 0.5769 GB, free: 4.074 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.815e-05/0.44, allocations: 23.98 kB / 0.577 GB, free: 4.051 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.142e-06/0.44, allocations: 4 kB / 0.577 GB, free: 4.047 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.44, allocations: 0 / 0.577 GB, free: 4.047 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0012/0.4412, allocations: 0.8055 MB / 0.5778 GB, free: 3.195 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002047/0.4414, allocations: 111.4 kB / 0.5779 GB, free: 3.086 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.059e-05/0.4415, allocations: 12 kB / 0.5779 GB, free: 3.074 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002781/0.4418, allocations: 19.98 kB / 0.5779 GB, free: 3.055 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.526e-05/0.4419, allocations: 43.81 kB / 0.5779 GB, free: 3.012 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.633e-05/0.4419, allocations: 23.98 kB / 0.578 GB, free: 2.988 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000881/0.4428, allocations: 0.6982 MB / 0.5786 GB, free: 2.297 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4428, allocations: 4 kB / 0.5786 GB, free: 2.293 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005805/0.4434, allocations: 91.92 kB / 0.5787 GB, free: 2.203 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.003411/0.4468, allocations: 1.76 MB / 0.5804 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007156/0.4475, allocations: 300.2 kB / 0.5807 GB, free: 292 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.4475, allocations: 0 / 0.5807 GB, free: 292 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000295/0.4478, allocations: 152.4 kB / 0.5809 GB, free: 140 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001027/0.4488, allocations: 134.8 kB / 0.581 GB, free: 4 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007971/0.4568, allocations: 5.13 MB / 0.586 GB, free: 10.68 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006713/0.4575, allocations: 0.9094 MB / 0.5869 GB, free: 9.75 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002695/0.4578, allocations: 87.28 kB / 0.587 GB, free: 9.66 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003363/0.4581, allocations: 211.4 kB / 0.5872 GB, free: 9.453 MB / 430.1 MB Notification: Performance of SimCode: time 1.263e-06/0.4581, allocations: 0 / 0.5872 GB, free: 9.453 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04291/0.501, allocations: 11.82 MB / 0.5987 GB, free: 13.67 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.781/9.282, allocations: 11.86 kB / 0.5987 GB, free: 13.66 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test87.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test87.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test87_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test87_fmu --startTime=0 --stopTime=11 --stepSize=0.00219736 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test87.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test87.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.329696872737259] 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.430377297569066 9.458369445 9.030776465 Calling exit ...