Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.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.001694/0.001694, allocations: 121 kB / 18.5 MB, free: 4.562 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.001639/0.001639, allocations: 213.5 kB / 21.45 MB, free: 1.617 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.561/1.561, allocations: 230.6 MB / 254.8 MB, free: 15.09 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.2305/0.2305, allocations: 44.91 MB / 355.8 MB, free: 12.32 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.Test19,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test19",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test19,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test19",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.001999/0.001999, allocations: 71.89 kB / 0.4886 GB, free: 11.61 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.127, allocations: 65.42 MB / 0.5525 GB, free: 10.06 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.003162/0.1302, allocations: 1.733 MB / 0.5542 GB, free: 8.312 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001768/0.1319, allocations: 1.034 MB / 0.5552 GB, free: 7.273 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.154e-05/0.132, allocations: 0 / 0.5552 GB, free: 7.273 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002749/0.1323, allocations: 51.75 kB / 0.5553 GB, free: 7.223 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003061/0.1326, allocations: 99.53 kB / 0.5554 GB, free: 7.125 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001991/0.1328, allocations: 71.73 kB / 0.5554 GB, free: 7.055 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001765/0.133, allocations: 103.7 kB / 0.5555 GB, free: 6.953 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.957e-05/0.1331, allocations: 20.2 kB / 0.5556 GB, free: 6.934 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.01e-05/0.1332, allocations: 39.8 kB / 0.5556 GB, free: 6.895 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.533e-05/0.1332, allocations: 35.83 kB / 0.5556 GB, free: 6.859 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.67e-05/0.1333, allocations: 4 kB / 0.5556 GB, free: 6.855 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.769e-05/0.1334, allocations: 47.98 kB / 0.5557 GB, free: 6.809 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.467e-05/0.1334, allocations: 23.86 kB / 0.5557 GB, free: 6.785 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.349e-05/0.1335, allocations: 35.73 kB / 0.5557 GB, free: 6.75 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002238/0.1337, allocations: 119.4 kB / 0.5559 GB, free: 6.633 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.1337, allocations: 0 / 0.5559 GB, free: 6.633 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1337, allocations: 0 / 0.5559 GB, free: 6.633 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.1337, allocations: 0 / 0.5559 GB, free: 6.633 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006415/0.1343, allocations: 426.6 kB / 0.5563 GB, free: 6.168 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.1344, allocations: 8.031 kB / 0.5563 GB, free: 6.16 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.743e-05/0.1344, allocations: 4.188 kB / 0.5563 GB, free: 6.156 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.835e-05/0.1344, allocations: 42.73 kB / 0.5563 GB, free: 6.105 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.879e-05/0.1345, allocations: 16.77 kB / 0.5563 GB, free: 6.09 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003169/0.1348, allocations: 211.2 kB / 0.5565 GB, free: 5.848 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/0.1348, allocations: 8.125 kB / 0.5565 GB, free: 5.84 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.618e-05/0.1348, allocations: 4 kB / 0.5565 GB, free: 5.836 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001498/0.135, allocations: 53.67 kB / 0.5566 GB, free: 5.777 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.135, allocations: 0 / 0.5566 GB, free: 5.777 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.869e-06/0.135, allocations: 0 / 0.5566 GB, free: 5.777 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.135, allocations: 7.984 kB / 0.5566 GB, free: 5.77 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.768e-05/0.1351, allocations: 19.98 kB / 0.5566 GB, free: 5.75 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004124/0.1355, allocations: 288.8 kB / 0.5569 GB, free: 5.418 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001782/0.1357, allocations: 58.67 kB / 0.557 GB, free: 5.352 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.959e-05/0.1357, allocations: 20.86 kB / 0.557 GB, free: 5.328 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.529e-05/0.1357, allocations: 0 / 0.557 GB, free: 5.328 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001473/0.1359, allocations: 75.27 kB / 0.557 GB, free: 5.242 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.543e-06/0.1359, allocations: 0 / 0.557 GB, free: 5.242 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005608/0.1365, allocations: 177.3 kB / 0.5572 GB, free: 5.062 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.321e-05/0.1365, allocations: 51.41 kB / 0.5573 GB, free: 5 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002147/0.1367, allocations: 202.3 kB / 0.5575 GB, free: 4.793 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.764e-05/0.1367, allocations: 29.7 kB / 0.5575 GB, free: 4.758 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.771e-05/0.1368, allocations: 100.1 kB / 0.5576 GB, free: 4.656 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.964e-05/0.1368, allocations: 23.84 kB / 0.5576 GB, free: 4.633 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.48e-05/0.1369, allocations: 21.72 kB / 0.5576 GB, free: 4.605 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001664/0.137, allocations: 326.8 kB / 0.5579 GB, free: 4.277 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.233e-05/0.1371, allocations: 15.98 kB / 0.5579 GB, free: 4.262 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.165e-05/0.1372, allocations: 37.7 kB / 0.558 GB, free: 4.219 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001235/0.1373, allocations: 66.02 kB / 0.558 GB, free: 4.148 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.1373, allocations: 3.984 kB / 0.5581 GB, free: 4.145 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002029/0.1375, allocations: 101.6 kB / 0.5581 GB, free: 4.039 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.1375, allocations: 4 kB / 0.5582 GB, free: 4.035 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.1375, allocations: 4 kB / 0.5582 GB, free: 4.031 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.1375, allocations: 4 kB / 0.5582 GB, free: 4.027 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.915e-05/0.1376, allocations: 19.92 kB / 0.5582 GB, free: 4.008 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.1376, allocations: 3.938 kB / 0.5582 GB, free: 4.004 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.622e-05/0.1377, allocations: 8.031 kB / 0.5582 GB, free: 3.996 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.1377, allocations: 0 / 0.5582 GB, free: 3.996 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 (10): * Single equations (assignments): 10 * 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.000111/0.1378, allocations: 132 kB / 0.5583 GB, free: 3.859 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.512e-05/0.1378, allocations: 12.09 kB / 0.5583 GB, free: 3.848 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.465e-05/0.1379, allocations: 13.41 kB / 0.5583 GB, free: 3.828 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.1379, allocations: 7.938 kB / 0.5583 GB, free: 3.82 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.333e-05/0.1379, allocations: 3.938 kB / 0.5584 GB, free: 3.816 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.1379, allocations: 3.984 kB / 0.5584 GB, free: 3.812 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004743/0.1384, allocations: 399.3 kB / 0.5587 GB, free: 3.363 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.1384, allocations: 0 / 0.5587 GB, free: 3.363 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.493e-05/0.1384, allocations: 8 kB / 0.5587 GB, free: 3.355 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.1384, allocations: 3.938 kB / 0.5587 GB, free: 3.352 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.976e-05/0.1384, allocations: 3.984 kB / 0.5588 GB, free: 3.348 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.1384, allocations: 7.938 kB / 0.5588 GB, free: 3.34 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1384, allocations: 0 / 0.5588 GB, free: 3.34 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000246/0.1387, allocations: 204.3 kB / 0.559 GB, free: 3.121 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.684e-05/0.1388, allocations: 92.95 kB / 0.559 GB, free: 3.012 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.38e-05/0.1388, allocations: 4 kB / 0.559 GB, free: 3.008 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.231e-05/0.1388, allocations: 4 kB / 0.559 GB, free: 3.004 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.444e-05/0.1389, allocations: 7.984 kB / 0.5591 GB, free: 2.996 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.343e-05/0.1389, allocations: 0 / 0.5591 GB, free: 2.996 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001435/0.1391, allocations: 148.2 kB / 0.5592 GB, free: 2.852 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1391, allocations: 8 kB / 0.5592 GB, free: 2.844 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002672/0.1393, allocations: 20 kB / 0.5592 GB, free: 2.824 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 6 * 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.002227/0.1415, allocations: 1.1 MB / 0.5603 GB, free: 1.887 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001867/0.1417, allocations: 55.92 kB / 0.5604 GB, free: 1.832 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.1417, allocations: 0 / 0.5604 GB, free: 1.832 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.492e-05/0.1418, allocations: 27.92 kB / 0.5604 GB, free: 1.805 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003471/0.1422, allocations: 43.91 kB / 0.5604 GB, free: 1.762 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001972/0.1441, allocations: 1.658 MB / 0.562 GB, free: 8 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000376/0.1445, allocations: 0.7041 MB / 0.5627 GB, free: 15.28 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.891e-05/0.1446, allocations: 25.16 kB / 0.5628 GB, free: 15.25 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.835e-05/0.1446, allocations: 35.42 kB / 0.5628 GB, free: 15.22 MB / 430.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1446, allocations: 0 / 0.5628 GB, free: 15.22 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01954/0.1642, allocations: 3.519 MB / 0.5662 GB, free: 11.78 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.393/8.558, allocations: 64 / 0.5662 GB, free: 11.78 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test19_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test19.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.753263526014052] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.737636075995397 8.756054098 8.617596254 Calling exit ...