Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.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.001946/0.001946, allocations: 118.8 kB / 18.49 MB, free: 4.586 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.001694/0.001694, allocations: 213.5 kB / 21.45 MB, free: 1.637 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.541/1.541, allocations: 230.6 MB / 254.8 MB, free: 15.13 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.2558/0.2558, allocations: 44.91 MB / 355.8 MB, free: 12.33 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.CombiTable2Dv.Test22,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test22",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test22,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test22",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.002154/0.002154, allocations: 59.91 kB / 0.4886 GB, free: 11.71 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.1375, allocations: 65.42 MB / 0.5524 GB, free: 10.16 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.004154/0.1416, allocations: 2.044 MB / 0.5544 GB, free: 8.098 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002735/0.1444, allocations: 1.368 MB / 0.5558 GB, free: 6.723 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002373/0.1446, allocations: 7.938 kB / 0.5558 GB, free: 6.715 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003594/0.1449, allocations: 63.48 kB / 0.5558 GB, free: 6.652 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006528/0.1456, allocations: 199.2 kB / 0.556 GB, free: 6.457 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00157/0.1472, allocations: 0.6066 MB / 0.5566 GB, free: 5.867 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006651/0.1478, allocations: 327 kB / 0.5569 GB, free: 5.547 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002106/0.148, allocations: 56.67 kB / 0.557 GB, free: 5.492 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003774/0.1484, allocations: 147.3 kB / 0.5571 GB, free: 5.348 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003604/0.1488, allocations: 203.3 kB / 0.5573 GB, free: 5.148 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.156e-05/0.1488, allocations: 12 kB / 0.5573 GB, free: 5.137 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001978/0.149, allocations: 67.92 kB / 0.5574 GB, free: 5.07 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002021/0.1492, allocations: 151.5 kB / 0.5575 GB, free: 4.922 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001921/0.1494, allocations: 174.6 kB / 0.5577 GB, free: 4.75 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006167/0.15, allocations: 425.8 kB / 0.5581 GB, free: 4.332 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.1501, allocations: 4 kB / 0.5581 GB, free: 4.328 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.1501, allocations: 0 / 0.5581 GB, free: 4.328 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.536e-05/0.1501, allocations: 3.938 kB / 0.5581 GB, free: 4.324 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001344/0.1514, allocations: 0.8295 MB / 0.5589 GB, free: 3.445 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.1515, allocations: 8.031 kB / 0.5589 GB, free: 3.438 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.779e-05/0.1515, allocations: 8.125 kB / 0.559 GB, free: 3.43 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.708e-05/0.1515, allocations: 42.75 kB / 0.559 GB, free: 3.379 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000347/0.1519, allocations: 80.48 kB / 0.5591 GB, free: 3.301 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007859/0.1527, allocations: 489 kB / 0.5595 GB, free: 2.781 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.1527, allocations: 16.12 kB / 0.5596 GB, free: 2.766 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.636e-05/0.1527, allocations: 8 kB / 0.5596 GB, free: 2.758 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000327/0.153, allocations: 150.3 kB / 0.5597 GB, free: 2.602 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/0.153, allocations: 0 / 0.5597 GB, free: 2.602 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.653e-05/0.1531, allocations: 4 kB / 0.5597 GB, free: 2.598 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.842e-06/0.1531, allocations: 4 kB / 0.5597 GB, free: 2.594 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002535/0.1533, allocations: 95.88 kB / 0.5598 GB, free: 2.5 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001185/0.1545, allocations: 0.7112 MB / 0.5605 GB, free: 1.734 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002545/0.1548, allocations: 109.4 kB / 0.5606 GB, free: 1.609 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001165/0.1549, allocations: 49.77 kB / 0.5606 GB, free: 1.555 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.764e-05/0.1549, allocations: 7.922 kB / 0.5607 GB, free: 1.547 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.201e-05/0.1549, allocations: 34.56 kB / 0.5607 GB, free: 1.504 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.694e-06/0.1549, allocations: 0 / 0.5607 GB, free: 1.504 MB / 414.1 MB Notification: Performance of matching and sorting (n=16): time 0.001752/0.1567, allocations: 0.5663 MB / 0.5612 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.021e-05/0.1568, allocations: 81.11 kB / 0.5613 GB, free: 0.832 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001269/0.158, allocations: 0.9298 MB / 0.5622 GB, free: 15.89 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.028e-05/0.1581, allocations: 33.7 kB / 0.5623 GB, free: 15.85 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002816/0.1583, allocations: 272.3 kB / 0.5625 GB, free: 15.58 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.873e-05/0.1584, allocations: 55.48 kB / 0.5626 GB, free: 15.52 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.302e-05/0.1585, allocations: 37.7 kB / 0.5626 GB, free: 15.48 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001586/0.1587, allocations: 313.9 kB / 0.5629 GB, free: 15.17 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001938/0.1588, allocations: 64.14 kB / 0.563 GB, free: 15.11 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002093/0.1591, allocations: 87.91 kB / 0.5631 GB, free: 15.02 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003959/0.1595, allocations: 157.6 kB / 0.5632 GB, free: 14.86 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.1595, allocations: 0 / 0.5632 GB, free: 14.86 MB / 430.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000583/0.16, allocations: 245.2 kB / 0.5634 GB, free: 14.61 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.28e-05/0.1601, allocations: 8 kB / 0.5634 GB, free: 14.6 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.1601, allocations: 0 / 0.5634 GB, free: 14.6 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.002e-05/0.1601, allocations: 0 / 0.5634 GB, free: 14.6 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002235/0.1603, allocations: 39.97 kB / 0.5635 GB, free: 14.56 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.1603, allocations: 7.938 kB / 0.5635 GB, free: 14.55 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001636/0.1605, allocations: 11.98 kB / 0.5635 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.953e-05/0.1605, allocations: 8 kB / 0.5635 GB, free: 14.54 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * 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.0002554/0.1608, allocations: 215.9 kB / 0.5637 GB, free: 14.32 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001385/0.1609, allocations: 63.58 kB / 0.5638 GB, free: 14.25 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000722/0.1616, allocations: 302.8 kB / 0.5641 GB, free: 13.95 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.1616, allocations: 4 kB / 0.5641 GB, free: 13.94 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.1616, allocations: 0 / 0.5641 GB, free: 13.94 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.1616, allocations: 0 / 0.5641 GB, free: 13.94 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001469/0.1631, allocations: 0.8176 MB / 0.5649 GB, free: 13.07 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.945e-06/0.1631, allocations: 7.984 kB / 0.5649 GB, free: 13.06 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001788/0.1633, allocations: 31.92 kB / 0.5649 GB, free: 13.03 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.917e-06/0.1633, allocations: 11.92 kB / 0.5649 GB, free: 13.02 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.934e-05/0.1633, allocations: 7.938 kB / 0.5649 GB, free: 13.01 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.659e-06/0.1633, allocations: 4 kB / 0.5649 GB, free: 13 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.1633, allocations: 4 kB / 0.5649 GB, free: 13 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006894/0.164, allocations: 426.2 kB / 0.5653 GB, free: 12.57 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001723/0.1642, allocations: 152.7 kB / 0.5655 GB, free: 12.4 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.919e-05/0.1642, allocations: 7.938 kB / 0.5655 GB, free: 12.39 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002095/0.1645, allocations: 15.97 kB / 0.5655 GB, free: 12.38 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.963e-05/0.1645, allocations: 19.97 kB / 0.5655 GB, free: 12.36 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.567e-05/0.1646, allocations: 8 kB / 0.5655 GB, free: 12.35 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0009082/0.1655, allocations: 0.6786 MB / 0.5662 GB, free: 11.68 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1655, allocations: 0 / 0.5662 GB, free: 11.68 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004133/0.1659, allocations: 52 kB / 0.5662 GB, free: 11.62 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * 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.002507/0.1684, allocations: 1.256 MB / 0.5675 GB, free: 10.5 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0005427/0.1689, allocations: 163.9 kB / 0.5676 GB, free: 10.34 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.1689, allocations: 0 / 0.5676 GB, free: 10.34 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002269/0.1692, allocations: 83.89 kB / 0.5677 GB, free: 10.26 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007013/0.1699, allocations: 86.27 kB / 0.5678 GB, free: 10.18 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007762/0.1776, allocations: 5.199 MB / 0.5729 GB, free: 4.875 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006125/0.1782, allocations: 0.8769 MB / 0.5737 GB, free: 3.969 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002308/0.1785, allocations: 95.67 kB / 0.5738 GB, free: 3.875 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000266/0.1787, allocations: 171.4 kB / 0.574 GB, free: 3.707 MB / 430.1 MB Notification: Performance of SimCode: time 7.22e-07/0.1787, allocations: 0 / 0.574 GB, free: 3.707 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0314/0.2101, allocations: 10.22 MB / 0.584 GB, free: 9.543 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.177/9.388, allocations: 12.94 kB / 0.584 GB, free: 9.531 MB / 446.1 MB " [Timeout remaining time 650] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test22_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test22.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.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: 13.259503616951406]