Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test20.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.001929/0.001929, allocations: 113 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.002182/0.002182, allocations: 217.4 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.537/1.537, allocations: 230.6 MB / 254.8 MB, free: 15.1 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.2371/0.2371, allocations: 46.91 MB / 357.8 MB, free: 10.3 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.Test20,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test20",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test20,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test20",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00213/0.00213, allocations: 71.89 kB / 0.4916 GB, free: 7.949 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1285, allocations: 66 MB / 0.5561 GB, free: 5.828 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test20): time 0.004424/0.1329, allocations: 2.046 MB / 0.5581 GB, free: 3.77 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00199/0.1349, allocations: 1.021 MB / 0.5591 GB, free: 2.742 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001411/0.1351, allocations: 4 kB / 0.5591 GB, free: 2.738 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004976/0.1356, allocations: 255.2 kB / 0.5593 GB, free: 2.488 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005822/0.1362, allocations: 263 kB / 0.5596 GB, free: 2.23 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001135/0.1373, allocations: 493.7 kB / 0.56 GB, free: 1.762 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005118/0.1378, allocations: 334.8 kB / 0.5604 GB, free: 1.434 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001902/0.138, allocations: 56.7 kB / 0.5604 GB, free: 1.379 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002256/0.1382, allocations: 147.4 kB / 0.5606 GB, free: 1.234 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000295/0.1385, allocations: 223.2 kB / 0.5608 GB, free: 1.016 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.782e-05/0.1386, allocations: 15.94 kB / 0.5608 GB, free: 1 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001729/0.1387, allocations: 75.91 kB / 0.5609 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001379/0.1389, allocations: 91.61 kB / 0.5609 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001296/0.139, allocations: 135 kB / 0.5611 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004827/0.1395, allocations: 342.2 kB / 0.5614 GB, free: 376 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.1395, allocations: 4 kB / 0.5614 GB, free: 372 kB / 414.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1395, allocations: 0 / 0.5614 GB, free: 372 kB / 414.1 MB Notification: Performance of Transformations before backend: time 9.849e-06/0.1395, allocations: 3.938 kB / 0.5614 GB, free: 368 kB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.000955/0.1404, allocations: 0.6919 MB / 0.5621 GB, free: 15.62 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.1405, allocations: 8.031 kB / 0.5621 GB, free: 15.61 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.31e-05/0.1405, allocations: 4.188 kB / 0.5621 GB, free: 15.61 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.294e-05/0.1405, allocations: 38.75 kB / 0.5621 GB, free: 15.56 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.828e-05/0.1406, allocations: 48.61 kB / 0.5622 GB, free: 15.51 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004927/0.1411, allocations: 346.4 kB / 0.5625 GB, free: 15.13 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.432e-05/0.1412, allocations: 4.375 kB / 0.5625 GB, free: 15.13 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.48e-05/0.1412, allocations: 20.11 kB / 0.5625 GB, free: 15.11 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002553/0.1414, allocations: 111.7 kB / 0.5626 GB, free: 15 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.482e-05/0.1415, allocations: 0 / 0.5626 GB, free: 15 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.769e-05/0.1415, allocations: 4 kB / 0.5626 GB, free: 14.99 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.074e-06/0.1415, allocations: 4 kB / 0.5626 GB, free: 14.99 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001965/0.1417, allocations: 67.95 kB / 0.5627 GB, free: 14.92 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007724/0.1425, allocations: 0.5081 MB / 0.5632 GB, free: 14.36 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001951/0.1426, allocations: 86.48 kB / 0.5633 GB, free: 14.27 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.636e-05/0.1427, allocations: 32.84 kB / 0.5633 GB, free: 14.23 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.705e-05/0.1428, allocations: 0 / 0.5633 GB, free: 14.23 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.07e-05/0.1428, allocations: 34.5 kB / 0.5633 GB, free: 14.19 MB / 430.1 MB Notification: Performance of pre-optimization done (n=11): time 1.102e-06/0.1428, allocations: 8 kB / 0.5634 GB, free: 14.18 MB / 430.1 MB Notification: Performance of matching and sorting (n=17): time 0.001032/0.1438, allocations: 398.8 kB / 0.5637 GB, free: 13.79 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.896e-05/0.1439, allocations: 59.31 kB / 0.5638 GB, free: 13.72 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007045/0.1446, allocations: 0.5877 MB / 0.5644 GB, free: 13.12 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.186e-05/0.1446, allocations: 29.7 kB / 0.5644 GB, free: 13.09 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002123/0.1448, allocations: 212.4 kB / 0.5646 GB, free: 12.87 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.79e-05/0.1449, allocations: 63.48 kB / 0.5647 GB, free: 12.81 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.192e-05/0.1449, allocations: 33.7 kB / 0.5647 GB, free: 12.77 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001748/0.1451, allocations: 362.7 kB / 0.565 GB, free: 12.41 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000127/0.1452, allocations: 55.91 kB / 0.5651 GB, free: 12.35 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001177/0.1453, allocations: 47.98 kB / 0.5651 GB, free: 12.3 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002579/0.1456, allocations: 122.8 kB / 0.5653 GB, free: 12.18 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-06/0.1456, allocations: 7.938 kB / 0.5653 GB, free: 12.18 MB / 430.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000393/0.146, allocations: 193.3 kB / 0.5654 GB, free: 11.98 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.146, allocations: 4 kB / 0.5654 GB, free: 11.98 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.146, allocations: 4 kB / 0.5655 GB, free: 11.97 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/0.146, allocations: 3.984 kB / 0.5655 GB, free: 11.97 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001699/0.1462, allocations: 39.92 kB / 0.5655 GB, free: 11.93 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.263e-06/0.1462, allocations: 0 / 0.5655 GB, free: 11.93 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.717e-05/0.1463, allocations: 4 kB / 0.5655 GB, free: 11.93 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.719e-05/0.1463, allocations: 11.98 kB / 0.5655 GB, free: 11.91 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 (17): * Single equations (assignments): 17 * 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.0001913/0.1465, allocations: 177.8 kB / 0.5657 GB, free: 11.73 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.125e-05/0.1466, allocations: 39.72 kB / 0.5657 GB, free: 11.69 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005228/0.1471, allocations: 252.2 kB / 0.566 GB, free: 11.43 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.1471, allocations: 0 / 0.566 GB, free: 11.43 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.1471, allocations: 0 / 0.566 GB, free: 11.43 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.1471, allocations: 0 / 0.566 GB, free: 11.43 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009276/0.1481, allocations: 0.6426 MB / 0.5666 GB, free: 10.73 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.1481, allocations: 0 / 0.5666 GB, free: 10.73 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001223/0.1482, allocations: 31.98 kB / 0.5666 GB, free: 10.7 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.1482, allocations: 0 / 0.5666 GB, free: 10.7 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.75e-05/0.1482, allocations: 8 kB / 0.5666 GB, free: 10.69 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.111e-06/0.1482, allocations: 11.86 kB / 0.5666 GB, free: 10.68 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1482, allocations: 0 / 0.5666 GB, free: 10.68 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004599/0.1487, allocations: 308.8 kB / 0.5669 GB, free: 10.36 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.937e-05/0.1488, allocations: 120.8 kB / 0.567 GB, free: 10.23 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.023e-05/0.1488, allocations: 4 kB / 0.567 GB, free: 10.22 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001205/0.1489, allocations: 15.92 kB / 0.5671 GB, free: 10.21 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.963e-05/0.149, allocations: 7.984 kB / 0.5671 GB, free: 10.2 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.405e-05/0.149, allocations: 4 kB / 0.5671 GB, free: 10.2 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005488/0.1495, allocations: 447.1 kB / 0.5675 GB, free: 9.766 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1495, allocations: 4 kB / 0.5675 GB, free: 9.762 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003416/0.1499, allocations: 47.94 kB / 0.5675 GB, free: 9.715 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 (17): * Single equations (assignments): 17 * 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.003577/0.1534, allocations: 1.436 MB / 0.569 GB, free: 8.566 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003672/0.1538, allocations: 134.6 kB / 0.5691 GB, free: 8.438 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1538, allocations: 0 / 0.5691 GB, free: 8.438 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001542/0.154, allocations: 71.89 kB / 0.5691 GB, free: 8.367 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006034/0.1546, allocations: 73.39 kB / 0.5692 GB, free: 8.305 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004644/0.1592, allocations: 3.172 MB / 0.5723 GB, free: 5.047 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004795/0.1597, allocations: 0.8104 MB / 0.5731 GB, free: 4.211 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001435/0.1598, allocations: 54.23 kB / 0.5732 GB, free: 4.16 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002005/0.16, allocations: 135.4 kB / 0.5733 GB, free: 4.027 MB / 430.1 MB Notification: Performance of SimCode: time 5.61e-07/0.16, allocations: 0 / 0.5733 GB, free: 4.027 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02634/0.1864, allocations: 7.721 MB / 0.5808 GB, free: 12.33 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.055/9.241, allocations: 12.8 kB / 0.5808 GB, free: 12.32 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test20_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test20_fmu --startTime=0 --stopTime=6 --stepSize=0.00119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test20.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test20.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.824418073985726]