Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.00123/0.00123, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001481/0.001481, allocations: 214.8 kB / 24.52 MB, free: 3.91 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.386/1.386, allocations: 230.5 MB / 258.2 MB, free: 7.977 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2211/0.2211, allocations: 46.95 MB / 361.6 MB, free: 3.973 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_ModelicaTest_Tables_CombiTimeTable_Test87",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test87,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test87",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002359/0.002359, allocations: 79.88 kB / 0.497 GB, free: 7.496 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3462/0.3485, allocations: 66.08 MB / 0.5615 GB, free: 4.047 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.003849/0.3524, allocations: 2.158 MB / 0.5636 GB, free: 1.875 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00219/0.3546, allocations: 1.266 MB / 0.5649 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001113/0.3547, allocations: 7.938 kB / 0.5649 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000369/0.3551, allocations: 135.3 kB / 0.565 GB, free: 476 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005444/0.3556, allocations: 270.8 kB / 0.5653 GB, free: 204 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000335/0.3559, allocations: 191.5 kB / 0.5654 GB, free: 12 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005395/0.3565, allocations: 478.6 kB / 0.5659 GB, free: 15.54 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001439/0.3566, allocations: 43.08 kB / 0.5659 GB, free: 15.5 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003859/0.357, allocations: 335 kB / 0.5663 GB, free: 15.17 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002333/0.3572, allocations: 179.1 kB / 0.5664 GB, free: 14.99 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.252e-05/0.3573, allocations: 16 kB / 0.5664 GB, free: 14.98 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001582/0.3574, allocations: 75.97 kB / 0.5665 GB, free: 14.9 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001932/0.3576, allocations: 155.4 kB / 0.5667 GB, free: 14.75 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001762/0.3578, allocations: 154.6 kB / 0.5668 GB, free: 14.6 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006135/0.3584, allocations: 0.4896 MB / 0.5673 GB, free: 14.11 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.3584, allocations: 4 kB / 0.5673 GB, free: 14.1 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.3584, allocations: 0 / 0.5673 GB, free: 14.1 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.275e-06/0.3584, allocations: 0 / 0.5673 GB, free: 14.1 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.001281/0.3597, allocations: 0.8379 MB / 0.5681 GB, free: 13.23 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.3598, allocations: 12.03 kB / 0.5681 GB, free: 13.22 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.344e-05/0.3598, allocations: 192 / 0.5681 GB, free: 13.22 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.225e-05/0.3598, allocations: 54.67 kB / 0.5682 GB, free: 13.16 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000103/0.3599, allocations: 68.47 kB / 0.5682 GB, free: 13.09 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006039/0.3605, allocations: 371.1 kB / 0.5686 GB, free: 12.7 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.25e-05/0.3606, allocations: 16.36 kB / 0.5686 GB, free: 12.68 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.613e-05/0.3606, allocations: 20.27 kB / 0.5686 GB, free: 12.66 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004139/0.361, allocations: 208.9 kB / 0.5688 GB, free: 12.44 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.723e-05/0.361, allocations: 0 / 0.5688 GB, free: 12.44 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.395e-05/0.3611, allocations: 8 kB / 0.5688 GB, free: 12.43 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.3611, allocations: 4 kB / 0.5688 GB, free: 12.43 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002623/0.3613, allocations: 95.86 kB / 0.5689 GB, free: 12.34 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001034/0.3624, allocations: 0.7851 MB / 0.5697 GB, free: 11.5 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006605/0.363, allocations: 250.4 kB / 0.5699 GB, free: 11.21 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002317/0.3633, allocations: 87.45 kB / 0.57 GB, free: 11.12 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.957e-05/0.3633, allocations: 4 kB / 0.57 GB, free: 11.11 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003943/0.3637, allocations: 208.2 kB / 0.5702 GB, free: 10.89 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 1.493e-06/0.3637, allocations: 0 / 0.5702 GB, free: 10.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=44): time 0.002761/0.3664, allocations: 1.23 MB / 0.5714 GB, free: 9.648 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.611e-05/0.3665, allocations: 132.5 kB / 0.5716 GB, free: 9.488 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001108/0.3676, allocations: 0.9731 MB / 0.5725 GB, free: 8.504 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.73e-05/0.3677, allocations: 41.7 kB / 0.5725 GB, free: 8.457 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002385/0.3679, allocations: 281 kB / 0.5728 GB, free: 8.18 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001201/0.368, allocations: 142.8 kB / 0.5729 GB, free: 8.039 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001232/0.3682, allocations: 82.08 kB / 0.573 GB, free: 7.949 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.3683, allocations: 325.9 kB / 0.5733 GB, free: 7.625 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002508/0.3685, allocations: 120.8 kB / 0.5735 GB, free: 7.508 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002905/0.3688, allocations: 191.1 kB / 0.5736 GB, free: 7.301 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005479/0.3694, allocations: 331 kB / 0.574 GB, free: 6.953 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3694, allocations: 0 / 0.574 GB, free: 6.953 MB / 414.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007647/0.3702, allocations: 452.8 kB / 0.5744 GB, free: 6.504 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/0.3702, allocations: 8 kB / 0.5744 GB, free: 6.496 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.3702, allocations: 0 / 0.5744 GB, free: 6.496 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.3702, allocations: 8.125 kB / 0.5744 GB, free: 6.488 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002804/0.3705, allocations: 91.83 kB / 0.5745 GB, free: 6.398 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/0.3705, allocations: 4.234 kB / 0.5745 GB, free: 6.395 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001654/0.3707, allocations: 27.86 kB / 0.5745 GB, free: 6.367 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.938e-05/0.3707, allocations: 19.94 kB / 0.5745 GB, free: 6.348 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.000327/0.371, allocations: 256.1 kB / 0.5748 GB, free: 6.09 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001036/0.3711, allocations: 87.47 kB / 0.5749 GB, free: 6.004 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001026/0.3721, allocations: 0.5388 MB / 0.5754 GB, free: 5.453 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.3721, allocations: 15.88 kB / 0.5754 GB, free: 5.438 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.3722, allocations: 0 / 0.5754 GB, free: 5.438 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.884e-06/0.3722, allocations: 3.938 kB / 0.5754 GB, free: 5.434 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001794/0.374, allocations: 1.302 MB / 0.5767 GB, free: 4.055 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/0.374, allocations: 8.25 kB / 0.5767 GB, free: 4.047 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001798/0.3741, allocations: 67.91 kB / 0.5768 GB, free: 3.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.554e-06/0.3741, allocations: 4 kB / 0.5768 GB, free: 3.977 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.096e-05/0.3742, allocations: 19.98 kB / 0.5768 GB, free: 3.957 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.781e-06/0.3742, allocations: 4 kB / 0.5768 GB, free: 3.953 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.204e-06/0.3742, allocations: 7.938 kB / 0.5768 GB, free: 3.945 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009932/0.3752, allocations: 0.836 MB / 0.5776 GB, free: 3.055 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001785/0.3754, allocations: 111.4 kB / 0.5777 GB, free: 2.945 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.74e-05/0.3754, allocations: 23.98 kB / 0.5777 GB, free: 2.922 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000278/0.3757, allocations: 15.98 kB / 0.5777 GB, free: 2.906 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.635e-05/0.3758, allocations: 47.81 kB / 0.5778 GB, free: 2.859 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.441e-05/0.3759, allocations: 24 kB / 0.5778 GB, free: 2.836 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008044/0.3767, allocations: 0.7099 MB / 0.5785 GB, free: 2.133 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3767, allocations: 0 / 0.5785 GB, free: 2.133 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000529/0.3772, allocations: 99.92 kB / 0.5786 GB, free: 2.035 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 (48): * Single equations (assignments): 40 * 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.003279/0.3805, allocations: 1.836 MB / 0.5804 GB, free: 364 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006591/0.3811, allocations: 310.6 kB / 0.5807 GB, free: 56 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3811, allocations: 0 / 0.5807 GB, free: 56 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003397/0.3815, allocations: 164.4 kB / 0.5809 GB, free: 15.89 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000912/0.3824, allocations: 119.8 kB / 0.581 GB, free: 15.77 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006457/0.3888, allocations: 5.191 MB / 0.586 GB, free: 10.4 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003508/0.3892, allocations: 329.6 kB / 0.5863 GB, free: 10.06 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002062/0.3894, allocations: 83.23 kB / 0.5864 GB, free: 9.973 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00028/0.3897, allocations: 211.3 kB / 0.5866 GB, free: 9.766 MB / 430.1 MB Notification: Performance of SimCode: time 6.41e-07/0.3897, allocations: 0 / 0.5866 GB, free: 9.766 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04539/0.4351, allocations: 12.42 MB / 0.5988 GB, free: 13.41 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/12.01, allocations: 10.88 kB / 0.5988 GB, free: 13.41 MB / 446.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test87_fmu --startTime=0 --stopTime=11 --stepSize=0.00219736 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test87.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.87137945194263] 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'] 12.232106409966946 12.255517942 11.89275042 Calling exit ...