Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001531/0.001531, allocations: 119 kB / 18.5 MB, free: 4.434 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001705/0.001705, allocations: 190.9 kB / 21.44 MB, free: 1.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.499/1.499, allocations: 225.6 MB / 249.8 MB, free: 3.684 MB / 190.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.2138/0.2138, allocations: 44.91 MB / 349.6 MB, free: 1.82 MB / 270.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test33,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test33,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test33",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001917/0.001917, allocations: 68.78 kB / 491.8 MB, free: 29.8 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.1224, allocations: 64.27 MB / 0.543 GB, free: 4.09 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test33): time 0.003312/0.1258, allocations: 1.825 MB / 0.5448 GB, free: 2.246 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001381/0.1271, allocations: 0.8769 MB / 0.5457 GB, free: 1.363 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.423e-05/0.1272, allocations: 0 / 0.5457 GB, free: 1.363 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002468/0.1274, allocations: 55.73 kB / 0.5457 GB, free: 1.309 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002411/0.1277, allocations: 83.53 kB / 0.5458 GB, free: 1.227 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003887/0.1281, allocations: 163.1 kB / 0.546 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002909/0.1284, allocations: 187.5 kB / 0.5461 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.991e-05/0.1285, allocations: 25.31 kB / 0.5462 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001224/0.1286, allocations: 79.75 kB / 0.5462 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001636/0.1288, allocations: 107.6 kB / 0.5463 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.08e-05/0.1288, allocations: 12 kB / 0.5463 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.785e-05/0.1289, allocations: 39.98 kB / 0.5464 GB, free: 0.625 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.984e-05/0.129, allocations: 43.81 kB / 0.5464 GB, free: 0.582 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.605e-05/0.129, allocations: 71.59 kB / 0.5465 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002726/0.1293, allocations: 183.3 kB / 0.5467 GB, free: 340 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1293, allocations: 0 / 0.5467 GB, free: 340 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1293, allocations: 0 / 0.5467 GB, free: 340 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.1293, allocations: 3.938 kB / 0.5467 GB, free: 336 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.00114/0.1305, allocations: 0.5642 MB / 0.5472 GB, free: 15.7 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.1305, allocations: 16.02 kB / 0.5472 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.168e-05/0.1306, allocations: 38.75 kB / 0.5473 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.615e-05/0.1306, allocations: 16.84 kB / 0.5473 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002772/0.1309, allocations: 240 kB / 0.5475 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.1309, allocations: 4.375 kB / 0.5475 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.786e-05/0.1309, allocations: 11.94 kB / 0.5475 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004773/0.1314, allocations: 145.4 kB / 0.5477 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.1314, allocations: 4 kB / 0.5477 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.424e-05/0.1314, allocations: 0 / 0.5477 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.1314, allocations: 0 / 0.5477 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006489/0.1321, allocations: 159.8 kB / 0.5478 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005255/0.1326, allocations: 376.6 kB / 0.5482 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007258/0.1333, allocations: 194.3 kB / 0.5484 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003388/0.1337, allocations: 92.7 kB / 0.5485 GB, free: 14.32 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.935e-05/0.1337, allocations: 3.984 kB / 0.5485 GB, free: 14.31 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005325/0.1342, allocations: 159.2 kB / 0.5486 GB, free: 14.14 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.443e-06/0.1342, allocations: 0 / 0.5486 GB, free: 14.14 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.003407/0.1377, allocations: 0.8205 MB / 0.5494 GB, free: 13.32 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.989e-05/0.1377, allocations: 59.34 kB / 0.5495 GB, free: 13.25 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002627/0.138, allocations: 239.2 kB / 0.5497 GB, free: 13 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.472e-05/0.138, allocations: 33.7 kB / 0.5497 GB, free: 12.96 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.169e-05/0.1381, allocations: 124.1 kB / 0.5499 GB, free: 12.84 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.396e-05/0.1382, allocations: 39.83 kB / 0.5499 GB, free: 12.8 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.54e-05/0.1382, allocations: 33.7 kB / 0.5499 GB, free: 12.76 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001623/0.1384, allocations: 334.8 kB / 0.5502 GB, free: 12.42 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006692/0.1391, allocations: 163.8 kB / 0.5504 GB, free: 12.26 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006159/0.1397, allocations: 171.8 kB / 0.5506 GB, free: 12.09 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001199/0.1409, allocations: 369.3 kB / 0.5509 GB, free: 11.72 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.1409, allocations: 0 / 0.5509 GB, free: 11.72 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001415/0.1423, allocations: 454.3 kB / 0.5513 GB, free: 11.26 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.091e-05/0.1424, allocations: 59.41 kB / 0.5514 GB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.1424, allocations: 0 / 0.5514 GB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.1424, allocations: 0 / 0.5514 GB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004146/0.1428, allocations: 79.83 kB / 0.5515 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.1428, allocations: 4 kB / 0.5515 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004008/0.1432, allocations: 55.91 kB / 0.5515 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.315e-05/0.1432, allocations: 12 kB / 0.5515 GB, free: 11.04 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 (trapezoid2.count,$PRE.trapezoid2.count,trapezoid2.T_start,$PRE.trapezoid2.T_start,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 2 * 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.0001946/0.1434, allocations: 141.7 kB / 0.5517 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.814e-05/0.1435, allocations: 20.42 kB / 0.5517 GB, free: 10.87 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001417/0.1449, allocations: 394.8 kB / 0.5521 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.521e-06/0.1449, allocations: 7.938 kB / 0.5521 GB, free: 10.47 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.1449, allocations: 4 kB / 0.5521 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.1449, allocations: 0 / 0.5521 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001703/0.1466, allocations: 0.7012 MB / 0.5528 GB, free: 9.707 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.1466, allocations: 7.938 kB / 0.5528 GB, free: 9.699 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003622/0.147, allocations: 75.84 kB / 0.5529 GB, free: 9.625 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.147, allocations: 4 kB / 0.5529 GB, free: 9.621 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.555e-05/0.147, allocations: 0 / 0.5529 GB, free: 9.621 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.147, allocations: 3.984 kB / 0.5529 GB, free: 9.617 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.147, allocations: 0 / 0.5529 GB, free: 9.617 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001355/0.1483, allocations: 484.2 kB / 0.5533 GB, free: 9.129 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.699e-05/0.1484, allocations: 100.9 kB / 0.5534 GB, free: 9.012 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.654e-05/0.1485, allocations: 0 / 0.5534 GB, free: 9.012 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003892/0.1488, allocations: 63.89 kB / 0.5535 GB, free: 8.949 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001547/0.149, allocations: 55.94 kB / 0.5535 GB, free: 8.895 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.627e-05/0.149, allocations: 4 kB / 0.5535 GB, free: 8.891 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001726/0.1492, allocations: 172.7 kB / 0.5537 GB, free: 8.723 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1492, allocations: 0 / 0.5537 GB, free: 8.723 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003012/0.1495, allocations: 51.98 kB / 0.5538 GB, free: 8.672 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,trapezoid2.T_start,trapezoid2.count) * Number of discrete states: 2 (trapezoid2.count,trapezoid1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.003039/0.1525, allocations: 1.308 MB / 0.555 GB, free: 7.512 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001453/0.154, allocations: 466.3 kB / 0.5555 GB, free: 7.031 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.154, allocations: 7.938 kB / 0.5555 GB, free: 7.023 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000665/0.1547, allocations: 175.8 kB / 0.5557 GB, free: 6.852 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000375/0.155, allocations: 31.36 kB / 0.5557 GB, free: 6.824 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00587/0.1609, allocations: 2.803 MB / 0.5584 GB, free: 3.926 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000397/0.1613, allocations: 0.7318 MB / 0.5591 GB, free: 3.164 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001256/0.1614, allocations: 21.41 kB / 0.5592 GB, free: 3.145 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000133/0.1616, allocations: 51.42 kB / 0.5592 GB, free: 3.094 MB / 414.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1616, allocations: 0 / 0.5592 GB, free: 3.094 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02762/0.1892, allocations: 5.659 MB / 0.5647 GB, free: 13.48 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.042/8.231, allocations: 8.047 kB / 0.5647 GB, free: 13.47 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test33_fmu --startTime=0 --stopTime=14 --stepSize=0.0056 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test33.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.189190558623523] Failed to read output from testmodel.py, exit status != 0: 8.352552216034383 8.376759446 8.243281249 Calling exit ...