Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.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.001421/0.001421, allocations: 127.4 kB / 17.79 MB, free: 5.246 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.001494/0.001494, allocations: 208.3 kB / 20.75 MB, free: 2.297 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.52/1.52, allocations: 230.6 MB / 254.1 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2348/0.2348, allocations: 46.92 MB / 357.1 MB, free: 10.29 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test4,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test4,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00196/0.00196, allocations: 71.88 kB / 0.491 GB, free: 7.895 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.135, allocations: 66 MB / 0.5554 GB, free: 5.773 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test4): time 0.003113/0.1381, allocations: 1.652 MB / 0.557 GB, free: 4.109 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001057/0.1392, allocations: 0.5572 MB / 0.5576 GB, free: 3.547 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.12e-05/0.1393, allocations: 0 / 0.5576 GB, free: 3.547 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006246/0.1399, allocations: 459.1 kB / 0.558 GB, free: 3.098 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004853/0.1404, allocations: 283.3 kB / 0.5583 GB, free: 2.82 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003526/0.1407, allocations: 131 kB / 0.5584 GB, free: 2.695 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002556/0.141, allocations: 175.6 kB / 0.5586 GB, free: 2.523 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.1411, allocations: 8 kB / 0.5586 GB, free: 2.516 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001403/0.1412, allocations: 115.7 kB / 0.5587 GB, free: 2.402 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003172/0.1415, allocations: 251.5 kB / 0.5589 GB, free: 2.156 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.875e-05/0.1416, allocations: 4 kB / 0.5589 GB, free: 2.152 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001033/0.1417, allocations: 39.97 kB / 0.559 GB, free: 2.113 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001113/0.1418, allocations: 79.7 kB / 0.559 GB, free: 2.035 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.218e-05/0.1419, allocations: 103 kB / 0.5591 GB, free: 1.934 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003564/0.1422, allocations: 270.5 kB / 0.5594 GB, free: 1.668 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.1422, allocations: 0 / 0.5594 GB, free: 1.668 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1422, allocations: 0 / 0.5594 GB, free: 1.668 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.1422, allocations: 0 / 0.5594 GB, free: 1.668 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.0008119/0.1431, allocations: 0.6607 MB / 0.56 GB, free: 0.957 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.1431, allocations: 12.03 kB / 0.5601 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.42e-05/0.1431, allocations: 30.75 kB / 0.5601 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.365e-05/0.1432, allocations: 48.61 kB / 0.5601 GB, free: 0.8594 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003107/0.1435, allocations: 304.6 kB / 0.5604 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.818e-06/0.1435, allocations: 384 / 0.5604 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.079e-05/0.1435, allocations: 4.375 kB / 0.5604 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001537/0.1437, allocations: 61.55 kB / 0.5605 GB, free: 460 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.1437, allocations: 0 / 0.5605 GB, free: 460 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.1437, allocations: 7.938 kB / 0.5605 GB, free: 452 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.1437, allocations: 4 kB / 0.5605 GB, free: 448 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.796e-05/0.1438, allocations: 23.98 kB / 0.5605 GB, free: 424 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005138/0.1443, allocations: 392.6 kB / 0.5609 GB, free: 15.98 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002273/0.1446, allocations: 46.5 kB / 0.5609 GB, free: 15.93 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.581e-05/0.1446, allocations: 16.94 kB / 0.5609 GB, free: 15.91 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.15e-05/0.1446, allocations: 4 kB / 0.561 GB, free: 15.9 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.725e-05/0.1447, allocations: 34.56 kB / 0.561 GB, free: 15.86 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.1447, allocations: 0 / 0.561 GB, free: 15.86 MB / 430.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006453/0.1453, allocations: 232.7 kB / 0.5612 GB, free: 15.62 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.654e-05/0.1454, allocations: 55.34 kB / 0.5613 GB, free: 15.56 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009594/0.1463, allocations: 0.8815 MB / 0.5621 GB, free: 14.66 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.047e-05/0.1463, allocations: 25.7 kB / 0.5621 GB, free: 14.63 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002167/0.1466, allocations: 220.1 kB / 0.5624 GB, free: 14.41 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.916e-05/0.1466, allocations: 19.84 kB / 0.5624 GB, free: 14.39 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.575e-05/0.1466, allocations: 21.7 kB / 0.5624 GB, free: 14.37 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001831/0.1468, allocations: 354.8 kB / 0.5627 GB, free: 14.01 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.997e-05/0.1469, allocations: 24.05 kB / 0.5628 GB, free: 13.99 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.603e-05/0.147, allocations: 23.98 kB / 0.5628 GB, free: 13.96 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001461/0.1471, allocations: 48.77 kB / 0.5628 GB, free: 13.91 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1471, allocations: 4 kB / 0.5628 GB, free: 13.91 MB / 430.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002357/0.1473, allocations: 113.3 kB / 0.5629 GB, free: 13.79 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.1474, allocations: 8 kB / 0.5629 GB, free: 13.79 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.1474, allocations: 0 / 0.5629 GB, free: 13.79 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.1474, allocations: 3.984 kB / 0.5629 GB, free: 13.78 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.138e-05/0.1475, allocations: 12 kB / 0.563 GB, free: 13.77 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.1475, allocations: 0 / 0.563 GB, free: 13.77 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.956e-05/0.1475, allocations: 11.92 kB / 0.563 GB, free: 13.76 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.1475, allocations: 4 kB / 0.563 GB, free: 13.75 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 (5): * Single equations (assignments): 5 * 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.0002006/0.1477, allocations: 212 kB / 0.5632 GB, free: 13.54 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.81e-05/0.1478, allocations: 39.72 kB / 0.5632 GB, free: 13.5 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003149/0.1481, allocations: 149.1 kB / 0.5634 GB, free: 13.34 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.1481, allocations: 0 / 0.5634 GB, free: 13.34 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.1481, allocations: 0 / 0.5634 GB, free: 13.34 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.1481, allocations: 4.219 kB / 0.5634 GB, free: 13.34 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006297/0.1488, allocations: 462.4 kB / 0.5638 GB, free: 12.83 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.1488, allocations: 320 / 0.5638 GB, free: 12.83 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.17e-05/0.1488, allocations: 15.98 kB / 0.5638 GB, free: 12.82 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.71e-06/0.1488, allocations: 3.984 kB / 0.5638 GB, free: 12.81 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.635e-05/0.1489, allocations: 11.94 kB / 0.5638 GB, free: 12.8 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1489, allocations: 4 kB / 0.5638 GB, free: 12.8 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1489, allocations: 0 / 0.5638 GB, free: 12.8 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002788/0.1491, allocations: 223.1 kB / 0.5641 GB, free: 12.56 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.322e-05/0.1492, allocations: 108.8 kB / 0.5642 GB, free: 12.44 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.826e-05/0.1492, allocations: 7.938 kB / 0.5642 GB, free: 12.43 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.204e-05/0.1493, allocations: 7.922 kB / 0.5642 GB, free: 12.42 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.128e-05/0.1494, allocations: 12 kB / 0.5642 GB, free: 12.41 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/0.1494, allocations: 3.938 kB / 0.5642 GB, free: 12.41 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006945/0.1501, allocations: 0.6589 MB / 0.5648 GB, free: 11.75 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1501, allocations: 0 / 0.5648 GB, free: 11.75 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002821/0.1503, allocations: 20 kB / 0.5648 GB, free: 11.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 (5): * Single equations (assignments): 5 * 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.002216/0.1526, allocations: 1.057 MB / 0.5659 GB, free: 10.8 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002139/0.1528, allocations: 51.84 kB / 0.5659 GB, free: 10.75 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1528, allocations: 0 / 0.5659 GB, free: 10.75 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.997e-05/0.1529, allocations: 23.98 kB / 0.566 GB, free: 10.73 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004123/0.1533, allocations: 30.05 kB / 0.566 GB, free: 10.71 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00401/0.1573, allocations: 3.248 MB / 0.5692 GB, free: 7.367 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004845/0.1578, allocations: 0.8221 MB / 0.57 GB, free: 6.516 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.866e-05/0.1578, allocations: 8 kB / 0.57 GB, free: 6.508 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001835/0.158, allocations: 103.4 kB / 0.5701 GB, free: 6.41 MB / 430.1 MB Notification: Performance of SimCode: time 8.32e-07/0.158, allocations: 4 kB / 0.5701 GB, free: 6.406 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03259/0.1906, allocations: 6.083 MB / 0.576 GB, free: 380 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.751/8.942, allocations: 7.453 kB / 0.576 GB, free: 376 kB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test4_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test4.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test4.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.095775490859523]