Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001785/0.001785, allocations: 107.5 kB / 21.21 MB, free: 0.6523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002354/0.002354, allocations: 212.5 kB / 24.51 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.503/1.503, allocations: 230.6 MB / 258.3 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2283/0.2283, allocations: 44.94 MB / 359.6 MB, free: 6.043 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test87,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test87",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test87,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test87",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002095/0.002095, allocations: 59.91 kB / 0.4939 GB, free: 10.45 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3823/0.3843, allocations: 65.47 MB / 0.5578 GB, free: 7.316 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.004349/0.3887, allocations: 2.162 MB / 0.5599 GB, free: 5.32 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002502/0.3912, allocations: 1.267 MB / 0.5612 GB, free: 4.051 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001487/0.3914, allocations: 7.938 kB / 0.5612 GB, free: 4.043 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004802/0.3918, allocations: 139.3 kB / 0.5613 GB, free: 3.906 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000609/0.3924, allocations: 258.9 kB / 0.5615 GB, free: 3.652 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004333/0.3929, allocations: 203.5 kB / 0.5617 GB, free: 3.453 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005321/0.3934, allocations: 466.6 kB / 0.5622 GB, free: 2.996 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001568/0.3936, allocations: 51.06 kB / 0.5622 GB, free: 2.941 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003779/0.3939, allocations: 339 kB / 0.5626 GB, free: 2.609 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002212/0.3942, allocations: 171.1 kB / 0.5627 GB, free: 2.441 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.282e-05/0.3942, allocations: 20 kB / 0.5627 GB, free: 2.422 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001721/0.3944, allocations: 75.95 kB / 0.5628 GB, free: 2.348 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001837/0.3946, allocations: 151.4 kB / 0.563 GB, free: 2.199 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001706/0.3947, allocations: 162.6 kB / 0.5631 GB, free: 2.039 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005892/0.3953, allocations: 497.4 kB / 0.5636 GB, free: 1.551 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.3953, allocations: 4 kB / 0.5636 GB, free: 1.547 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3953, allocations: 0 / 0.5636 GB, free: 1.547 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.637e-06/0.3953, allocations: 0 / 0.5636 GB, free: 1.547 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001252/0.3966, allocations: 0.834 MB / 0.5644 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/0.3966, allocations: 8.031 kB / 0.5644 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.105e-05/0.3967, allocations: 8.188 kB / 0.5644 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.52e-05/0.3967, allocations: 46.67 kB / 0.5645 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001195/0.3968, allocations: 76.47 kB / 0.5645 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006134/0.3975, allocations: 375.1 kB / 0.5649 GB, free: 144 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.881e-05/0.3975, allocations: 12.12 kB / 0.5649 GB, free: 132 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.559e-05/0.3975, allocations: 23.89 kB / 0.5649 GB, free: 108 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004509/0.398, allocations: 205.5 kB / 0.5651 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.772e-05/0.398, allocations: 0 / 0.5651 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.203e-05/0.398, allocations: 4 kB / 0.5651 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.706e-06/0.398, allocations: 4 kB / 0.5651 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002745/0.3983, allocations: 103.9 kB / 0.5652 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001094/0.3994, allocations: 0.789 MB / 0.566 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007156/0.4001, allocations: 242.4 kB / 0.5662 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002043/0.4003, allocations: 87.52 kB / 0.5663 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.658e-05/0.4003, allocations: 4 kB / 0.5663 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004242/0.4008, allocations: 212.2 kB / 0.5665 GB, free: 14.33 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 2.074e-06/0.4008, allocations: 0 / 0.5665 GB, free: 14.33 MB / 414.1 MB Notification: Performance of matching and sorting (n=44): time 0.002894/0.4037, allocations: 1.226 MB / 0.5677 GB, free: 13.09 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001313/0.4038, allocations: 140.5 kB / 0.5678 GB, free: 12.93 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001236/0.405, allocations: 0.9771 MB / 0.5688 GB, free: 11.94 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.896e-05/0.4051, allocations: 41.64 kB / 0.5688 GB, free: 11.89 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002492/0.4053, allocations: 281 kB / 0.5691 GB, free: 11.61 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001379/0.4055, allocations: 142.8 kB / 0.5692 GB, free: 11.47 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001239/0.4056, allocations: 86.08 kB / 0.5693 GB, free: 11.38 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001542/0.4057, allocations: 318 kB / 0.5696 GB, free: 11.06 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002633/0.406, allocations: 116.8 kB / 0.5697 GB, free: 10.95 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003163/0.4063, allocations: 195 kB / 0.5699 GB, free: 10.73 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005823/0.4069, allocations: 330.7 kB / 0.5702 GB, free: 10.39 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.4069, allocations: 0 / 0.5702 GB, free: 10.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008285/0.4077, allocations: 452.9 kB / 0.5707 GB, free: 9.938 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.431e-05/0.4078, allocations: 4 kB / 0.5707 GB, free: 9.934 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.4078, allocations: 8.125 kB / 0.5707 GB, free: 9.926 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.382e-05/0.4078, allocations: 4 kB / 0.5707 GB, free: 9.922 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002934/0.4081, allocations: 91.83 kB / 0.5708 GB, free: 9.832 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.365e-05/0.4081, allocations: 7.938 kB / 0.5708 GB, free: 9.824 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001698/0.4083, allocations: 23.86 kB / 0.5708 GB, free: 9.801 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.024e-05/0.4083, allocations: 16 kB / 0.5708 GB, free: 9.785 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.0003044/0.4086, allocations: 256.1 kB / 0.5711 GB, free: 9.527 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001096/0.4087, allocations: 79.47 kB / 0.5711 GB, free: 9.449 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001064/0.4098, allocations: 0.5427 MB / 0.5717 GB, free: 8.895 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.294e-06/0.4098, allocations: 7.938 kB / 0.5717 GB, free: 8.887 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.337e-06/0.4098, allocations: 7.938 kB / 0.5717 GB, free: 8.879 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.4098, allocations: 0 / 0.5717 GB, free: 8.879 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001935/0.4117, allocations: 1.314 MB / 0.573 GB, free: 7.488 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.576e-06/0.4117, allocations: 4 kB / 0.573 GB, free: 7.484 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001892/0.4119, allocations: 63.91 kB / 0.573 GB, free: 7.422 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.454e-06/0.4119, allocations: 4 kB / 0.573 GB, free: 7.418 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.496e-05/0.412, allocations: 19.98 kB / 0.5731 GB, free: 7.398 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.013e-05/0.412, allocations: 8 kB / 0.5731 GB, free: 7.391 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.185e-05/0.412, allocations: 11.88 kB / 0.5731 GB, free: 7.379 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001165/0.4132, allocations: 0.8318 MB / 0.5739 GB, free: 6.496 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001959/0.4134, allocations: 115.5 kB / 0.574 GB, free: 6.383 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.796e-05/0.4134, allocations: 19.98 kB / 0.574 GB, free: 6.363 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002777/0.4137, allocations: 15.98 kB / 0.574 GB, free: 6.348 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001199/0.4138, allocations: 47.81 kB / 0.5741 GB, free: 6.301 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.415e-05/0.4139, allocations: 20 kB / 0.5741 GB, free: 6.281 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007892/0.4147, allocations: 0.7138 MB / 0.5748 GB, free: 5.574 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4147, allocations: 0 / 0.5748 GB, free: 5.574 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005377/0.4152, allocations: 91.92 kB / 0.5749 GB, free: 5.484 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.003416/0.4186, allocations: 1.851 MB / 0.5767 GB, free: 3.828 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007026/0.4193, allocations: 310.7 kB / 0.577 GB, free: 3.527 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.4193, allocations: 0 / 0.577 GB, free: 3.527 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003331/0.4197, allocations: 168.4 kB / 0.5772 GB, free: 3.363 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009523/0.4206, allocations: 130.7 kB / 0.5773 GB, free: 3.238 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007098/0.4277, allocations: 5.183 MB / 0.5823 GB, free: 13.88 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003846/0.4281, allocations: 326 kB / 0.5826 GB, free: 13.54 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002512/0.4283, allocations: 79.23 kB / 0.5827 GB, free: 13.45 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003138/0.4287, allocations: 216.1 kB / 0.5829 GB, free: 13.24 MB / 430.1 MB Notification: Performance of SimCode: time 8.11e-07/0.4287, allocations: 0 / 0.5829 GB, free: 13.24 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03902/0.4677, allocations: 12.42 MB / 0.5951 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.3/12.77, allocations: 12.06 kB / 0.5951 GB, free: 0.9414 MB / 430.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test87_fmu --startTime=0 --stopTime=11 --stepSize=0.00219736 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test87.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.942236923030578] 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.9957226900151 13.020416475 12.620404428 Calling exit ...