Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.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.001407/0.001407, allocations: 112.2 kB / 18.49 MB, free: 4.539 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.001433/0.001433, allocations: 218.9 kB / 21.46 MB, free: 1.586 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.551/1.551, allocations: 230.6 MB / 254.8 MB, free: 15.23 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.2217/0.2217, allocations: 44.9 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.CombiTable2Ds.Test9,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test9",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test9,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test9",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.001993/0.001993, allocations: 68.19 kB / 0.4886 GB, free: 11.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1257/0.1277, allocations: 65.41 MB / 0.5524 GB, free: 10.11 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test9): time 0.00428/0.132, allocations: 1.627 MB / 0.554 GB, free: 8.473 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001477/0.1335, allocations: 0.5472 MB / 0.5546 GB, free: 7.922 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.292e-05/0.1336, allocations: 0 / 0.5546 GB, free: 7.922 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008853/0.1344, allocations: 451.1 kB / 0.555 GB, free: 7.48 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006587/0.1351, allocations: 295.3 kB / 0.5553 GB, free: 7.191 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004978/0.1356, allocations: 127.6 kB / 0.5554 GB, free: 7.066 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003412/0.1359, allocations: 167.6 kB / 0.5556 GB, free: 6.902 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.136, allocations: 15.98 kB / 0.5556 GB, free: 6.887 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001752/0.1362, allocations: 107.8 kB / 0.5557 GB, free: 6.781 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000391/0.1366, allocations: 251.5 kB / 0.5559 GB, free: 6.535 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.108e-05/0.1366, allocations: 3.938 kB / 0.5559 GB, free: 6.531 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001014/0.1367, allocations: 27.98 kB / 0.5559 GB, free: 6.504 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001382/0.1369, allocations: 83.62 kB / 0.556 GB, free: 6.422 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001275/0.137, allocations: 103 kB / 0.5561 GB, free: 6.32 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004632/0.1375, allocations: 262.9 kB / 0.5564 GB, free: 6.062 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.1375, allocations: 0 / 0.5564 GB, free: 6.062 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1375, allocations: 0 / 0.5564 GB, free: 6.062 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.237e-05/0.1375, allocations: 0 / 0.5564 GB, free: 6.062 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.001137/0.1386, allocations: 0.6607 MB / 0.557 GB, free: 5.352 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/0.1387, allocations: 15.97 kB / 0.557 GB, free: 5.336 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.38e-05/0.1387, allocations: 192 / 0.557 GB, free: 5.336 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.168e-05/0.1387, allocations: 34.73 kB / 0.5571 GB, free: 5.293 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.754e-05/0.1388, allocations: 48.66 kB / 0.5571 GB, free: 5.246 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004088/0.1392, allocations: 300.6 kB / 0.5574 GB, free: 4.91 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.448e-05/0.1392, allocations: 8.375 kB / 0.5574 GB, free: 4.902 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.753e-05/0.1392, allocations: 4.125 kB / 0.5574 GB, free: 4.898 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002198/0.1395, allocations: 49.67 kB / 0.5575 GB, free: 4.844 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.1395, allocations: 4 kB / 0.5575 GB, free: 4.84 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.1395, allocations: 0 / 0.5575 GB, free: 4.84 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.1395, allocations: 0 / 0.5575 GB, free: 4.84 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002339/0.1397, allocations: 35.91 kB / 0.5575 GB, free: 4.805 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006588/0.1404, allocations: 380.8 kB / 0.5579 GB, free: 4.383 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001821/0.1406, allocations: 38.56 kB / 0.5579 GB, free: 4.336 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001034/0.1407, allocations: 20.88 kB / 0.5579 GB, free: 4.312 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.16e-05/0.1407, allocations: 7.984 kB / 0.5579 GB, free: 4.305 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.791e-05/0.1407, allocations: 38.56 kB / 0.558 GB, free: 4.258 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.704e-06/0.1407, allocations: 0 / 0.558 GB, free: 4.258 MB / 414.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005036/0.1412, allocations: 133.2 kB / 0.5581 GB, free: 4.121 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.635e-05/0.1413, allocations: 51.41 kB / 0.5581 GB, free: 4.059 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001488/0.1428, allocations: 0.866 MB / 0.559 GB, free: 3.18 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.476e-05/0.1428, allocations: 25.7 kB / 0.559 GB, free: 3.148 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000263/0.1431, allocations: 216 kB / 0.5592 GB, free: 2.934 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.51e-05/0.1431, allocations: 11.94 kB / 0.5592 GB, free: 2.922 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.618e-05/0.1431, allocations: 17.72 kB / 0.5592 GB, free: 2.898 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002558/0.1434, allocations: 362.7 kB / 0.5596 GB, free: 2.535 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001176/0.1435, allocations: 15.98 kB / 0.5596 GB, free: 2.52 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001128/0.1436, allocations: 15.98 kB / 0.5596 GB, free: 2.504 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002322/0.1439, allocations: 40.77 kB / 0.5597 GB, free: 2.461 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.1439, allocations: 4 kB / 0.5597 GB, free: 2.457 MB / 414.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003388/0.1442, allocations: 109.4 kB / 0.5598 GB, free: 2.344 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.1442, allocations: 4 kB / 0.5598 GB, free: 2.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.1442, allocations: 0 / 0.5598 GB, free: 2.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.962e-05/0.1442, allocations: 4 kB / 0.5598 GB, free: 2.336 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001158/0.1444, allocations: 4 kB / 0.5598 GB, free: 2.332 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.1444, allocations: 0 / 0.5598 GB, free: 2.332 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001101/0.1445, allocations: 11.94 kB / 0.5598 GB, free: 2.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.436e-05/0.1445, allocations: 11.98 kB / 0.5598 GB, free: 2.309 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.0002926/0.1448, allocations: 211.9 kB / 0.56 GB, free: 2.094 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.702e-05/0.1449, allocations: 43.72 kB / 0.56 GB, free: 2.051 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004077/0.1453, allocations: 121 kB / 0.5602 GB, free: 1.922 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.1453, allocations: 0 / 0.5602 GB, free: 1.922 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.1453, allocations: 0 / 0.5602 GB, free: 1.922 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.1453, allocations: 0 / 0.5602 GB, free: 1.922 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004961/0.1458, allocations: 301.4 kB / 0.5605 GB, free: 1.578 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.1458, allocations: 0 / 0.5605 GB, free: 1.578 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.569e-05/0.1459, allocations: 8 kB / 0.5605 GB, free: 1.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.1459, allocations: 3.984 kB / 0.5605 GB, free: 1.566 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.1459, allocations: 4 kB / 0.5605 GB, free: 1.562 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.1459, allocations: 0 / 0.5605 GB, free: 1.562 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.1459, allocations: 7.938 kB / 0.5605 GB, free: 1.555 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003818/0.1463, allocations: 207.1 kB / 0.5607 GB, free: 1.336 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000125/0.1464, allocations: 112.8 kB / 0.5608 GB, free: 1.207 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.089e-05/0.1465, allocations: 4 kB / 0.5608 GB, free: 1.203 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001517/0.1466, allocations: 432 / 0.5608 GB, free: 1.203 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.534e-05/0.1466, allocations: 7.984 kB / 0.5608 GB, free: 1.195 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.38e-06/0.1466, allocations: 0 / 0.5608 GB, free: 1.195 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001099/0.1477, allocations: 0.655 MB / 0.5614 GB, free: 0.543 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1477, allocations: 0 / 0.5614 GB, free: 0.543 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004271/0.1482, allocations: 23.92 kB / 0.5615 GB, free: 0.5195 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.001864/0.15, allocations: 1.004 MB / 0.5624 GB, free: 15.62 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001999/0.1502, allocations: 35.91 kB / 0.5625 GB, free: 15.59 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1502, allocations: 0 / 0.5625 GB, free: 15.59 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.026e-05/0.1503, allocations: 19.98 kB / 0.5625 GB, free: 15.57 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003805/0.1507, allocations: 22.3 kB / 0.5625 GB, free: 15.55 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004566/0.1553, allocations: 3.19 MB / 0.5656 GB, free: 12.27 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005702/0.1558, allocations: 0.8182 MB / 0.5664 GB, free: 11.42 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.442e-05/0.1559, allocations: 15.67 kB / 0.5664 GB, free: 11.41 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001924/0.1561, allocations: 107.4 kB / 0.5665 GB, free: 11.3 MB / 430.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1561, allocations: 4 kB / 0.5665 GB, free: 11.3 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02482/0.1809, allocations: 5.837 MB / 0.5722 GB, free: 5.531 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.986/9.167, allocations: 6.969 kB / 0.5723 GB, free: 5.527 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test9_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test9.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.385808775026817]