Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.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.001323/0.001323, allocations: 118.2 kB / 18.49 MB, free: 4.566 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.001326/0.001326, allocations: 218.3 kB / 21.46 MB, free: 1.613 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.474/1.474, allocations: 230.4 MB / 254.7 MB, free: 15.02 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.2322/0.2322, allocations: 46.92 MB / 357.7 MB, free: 10.19 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.CombiTable2Dv.Test31,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test31",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test31,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test31",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002154/0.002154, allocations: 83.88 kB / 0.4917 GB, free: 7.676 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.1361, allocations: 66.05 MB / 0.5562 GB, free: 5.5 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test31): time 0.002984/0.1391, allocations: 1.654 MB / 0.5578 GB, free: 3.832 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001899/0.141, allocations: 1.217 MB / 0.559 GB, free: 2.609 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.22e-05/0.141, allocations: 0 / 0.559 GB, free: 2.609 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000248/0.1413, allocations: 27.84 kB / 0.559 GB, free: 2.582 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003026/0.1416, allocations: 87.55 kB / 0.5591 GB, free: 2.496 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004542/0.142, allocations: 176.6 kB / 0.5593 GB, free: 2.328 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000169/0.1422, allocations: 79.81 kB / 0.5593 GB, free: 2.25 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.1423, allocations: 11.98 kB / 0.5593 GB, free: 2.238 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.898e-05/0.1424, allocations: 31.8 kB / 0.5594 GB, free: 2.207 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001692/0.1425, allocations: 43.83 kB / 0.5594 GB, free: 2.164 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.677e-05/0.1425, allocations: 4 kB / 0.5594 GB, free: 2.16 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001922/0.1427, allocations: 107.9 kB / 0.5595 GB, free: 2.055 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.729e-05/0.1428, allocations: 23.92 kB / 0.5595 GB, free: 2.031 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.701e-05/0.1428, allocations: 27.8 kB / 0.5596 GB, free: 2.004 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002874/0.1431, allocations: 151.5 kB / 0.5597 GB, free: 1.855 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.1431, allocations: 0 / 0.5597 GB, free: 1.855 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.355e-06/0.1431, allocations: 0 / 0.5597 GB, free: 1.855 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.1431, allocations: 0 / 0.5597 GB, free: 1.855 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006114/0.1438, allocations: 434.6 kB / 0.5601 GB, free: 1.379 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.1438, allocations: 8.031 kB / 0.5601 GB, free: 1.371 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.994e-05/0.1438, allocations: 8.172 kB / 0.5602 GB, free: 1.363 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.393e-05/0.1438, allocations: 34.75 kB / 0.5602 GB, free: 1.32 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.862e-05/0.1439, allocations: 16.83 kB / 0.5602 GB, free: 1.305 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002305/0.1441, allocations: 200.2 kB / 0.5604 GB, free: 1.07 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.1441, allocations: 4.375 kB / 0.5604 GB, free: 1.066 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.622e-05/0.1441, allocations: 384 / 0.5604 GB, free: 1.066 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002009/0.1443, allocations: 83.67 kB / 0.5605 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.1444, allocations: 3.938 kB / 0.5605 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.1444, allocations: 4 kB / 0.5605 GB, free: 0.9648 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.1444, allocations: 4 kB / 0.5605 GB, free: 0.9609 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001436/0.1445, allocations: 35.97 kB / 0.5605 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004801/0.145, allocations: 320.7 kB / 0.5608 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001487/0.1451, allocations: 46.55 kB / 0.5609 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.99e-05/0.1452, allocations: 32.88 kB / 0.5609 GB, free: 484 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.314e-05/0.1452, allocations: 0 / 0.5609 GB, free: 484 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.146e-05/0.1453, allocations: 34.56 kB / 0.5609 GB, free: 440 kB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.1453, allocations: 0 / 0.5609 GB, free: 440 kB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.000893/0.1462, allocations: 233.3 kB / 0.5612 GB, free: 200 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.768e-05/0.1463, allocations: 81.11 kB / 0.5612 GB, free: 100 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002125/0.1465, allocations: 156 kB / 0.5614 GB, free: 15.94 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.322e-05/0.1465, allocations: 33.64 kB / 0.5614 GB, free: 15.9 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.059e-05/0.1466, allocations: 96.09 kB / 0.5615 GB, free: 15.8 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.59e-05/0.1466, allocations: 23.78 kB / 0.5615 GB, free: 15.78 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.432e-05/0.1466, allocations: 21.72 kB / 0.5616 GB, free: 15.75 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001673/0.1468, allocations: 330.8 kB / 0.5619 GB, free: 15.42 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001287/0.1469, allocations: 35.97 kB / 0.5619 GB, free: 15.38 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001433/0.1471, allocations: 53.67 kB / 0.562 GB, free: 15.32 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002481/0.1473, allocations: 88.86 kB / 0.562 GB, free: 15.23 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1473, allocations: 4.031 kB / 0.562 GB, free: 15.23 MB / 430.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003228/0.1477, allocations: 129.5 kB / 0.5622 GB, free: 15.1 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.1477, allocations: 4 kB / 0.5622 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.1477, allocations: 0 / 0.5622 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.1477, allocations: 0 / 0.5622 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001303/0.1478, allocations: 19.98 kB / 0.5622 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.1478, allocations: 0 / 0.5622 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.356e-05/0.1479, allocations: 15.98 kB / 0.5622 GB, free: 15.06 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.987e-06/0.1479, allocations: 3.938 kB / 0.5622 GB, free: 15.05 MB / 430.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 (7): * Single equations (assignments): 7 * 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 9.976e-05/0.148, allocations: 121.8 kB / 0.5623 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.134e-05/0.1481, allocations: 11.91 kB / 0.5623 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003835/0.1484, allocations: 138.3 kB / 0.5625 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.1484, allocations: 4 kB / 0.5625 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.1484, allocations: 0 / 0.5625 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.1484, allocations: 0 / 0.5625 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006223/0.1491, allocations: 426.7 kB / 0.5629 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.1491, allocations: 3.938 kB / 0.5629 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.5e-05/0.1492, allocations: 15.98 kB / 0.5629 GB, free: 14.27 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.1492, allocations: 0 / 0.5629 GB, free: 14.27 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.286e-06/0.1492, allocations: 8 kB / 0.5629 GB, free: 14.27 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.1492, allocations: 3.938 kB / 0.5629 GB, free: 14.26 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.1492, allocations: 80 / 0.5629 GB, free: 14.26 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003869/0.1496, allocations: 219.4 kB / 0.5631 GB, free: 14.03 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.431e-05/0.1496, allocations: 93.05 kB / 0.5632 GB, free: 13.92 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.047e-05/0.1496, allocations: 8.219 kB / 0.5632 GB, free: 13.91 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/0.1498, allocations: 15.92 kB / 0.5632 GB, free: 13.9 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.429e-05/0.1498, allocations: 7.938 kB / 0.5632 GB, free: 13.89 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.354e-06/0.1498, allocations: 4 kB / 0.5632 GB, free: 13.89 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001153/0.1499, allocations: 116.8 kB / 0.5634 GB, free: 13.77 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1499, allocations: 0 / 0.5634 GB, free: 13.77 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000304/0.1502, allocations: 43.86 kB / 0.5634 GB, free: 13.73 MB / 430.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 (7): * Single equations (assignments): 7 * 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.002375/0.1526, allocations: 1.146 MB / 0.5645 GB, free: 12.72 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003406/0.1529, allocations: 99.78 kB / 0.5646 GB, free: 12.62 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.1529, allocations: 4 kB / 0.5646 GB, free: 12.62 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001372/0.1531, allocations: 43.97 kB / 0.5647 GB, free: 12.58 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004064/0.1535, allocations: 22.88 kB / 0.5647 GB, free: 12.56 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002336/0.1558, allocations: 1.651 MB / 0.5663 GB, free: 10.82 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003406/0.1562, allocations: 0.7039 MB / 0.567 GB, free: 10.09 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.051e-05/0.1562, allocations: 16.42 kB / 0.567 GB, free: 10.08 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.66e-05/0.1563, allocations: 39.41 kB / 0.567 GB, free: 10.04 MB / 430.1 MB Notification: Performance of SimCode: time 3.7e-07/0.1563, allocations: 0 / 0.567 GB, free: 10.04 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02109/0.1774, allocations: 3.646 MB / 0.5706 GB, free: 6.406 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.076/8.253, allocations: 18.31 kB / 0.5706 GB, free: 6.391 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test31_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test31.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.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: 11.36324960005004]