Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test14.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.001815/0.001815, allocations: 123.4 kB / 17.79 MB, free: 5.266 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.002221/0.002221, allocations: 200.3 kB / 20.74 MB, free: 2.32 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.522/1.522, allocations: 230.6 MB / 254.1 MB, free: 15.11 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.23/0.23, allocations: 46.92 MB / 357.1 MB, free: 10.34 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.CombiTable2Dv.Test14,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test14",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test14,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test14",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00192/0.00192, allocations: 67.91 kB / 0.491 GB, free: 7.98 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1338/0.1357, allocations: 65.99 MB / 0.5554 GB, free: 5.867 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test14): time 0.003159/0.1389, allocations: 1.666 MB / 0.557 GB, free: 4.191 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001844/0.1407, allocations: 1.214 MB / 0.5582 GB, free: 2.969 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.688e-05/0.1408, allocations: 0 / 0.5582 GB, free: 2.969 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002003/0.141, allocations: 23.8 kB / 0.5582 GB, free: 2.945 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002762/0.1413, allocations: 91.55 kB / 0.5583 GB, free: 2.855 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004242/0.1417, allocations: 178.5 kB / 0.5585 GB, free: 2.684 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000159/0.1418, allocations: 79.81 kB / 0.5586 GB, free: 2.605 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.874e-05/0.1419, allocations: 12 kB / 0.5586 GB, free: 2.594 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.429e-05/0.142, allocations: 27.86 kB / 0.5586 GB, free: 2.566 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001483/0.1421, allocations: 43.77 kB / 0.5586 GB, free: 2.523 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.622e-05/0.1422, allocations: 8 kB / 0.5586 GB, free: 2.516 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001793/0.1423, allocations: 103.9 kB / 0.5587 GB, free: 2.414 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.949e-05/0.1424, allocations: 15.92 kB / 0.5588 GB, free: 2.398 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.494e-05/0.1424, allocations: 39.73 kB / 0.5588 GB, free: 2.359 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002706/0.1427, allocations: 155.4 kB / 0.5589 GB, free: 2.207 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.1427, allocations: 0 / 0.5589 GB, free: 2.207 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1427, allocations: 0 / 0.5589 GB, free: 2.207 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.1427, allocations: 0 / 0.5589 GB, free: 2.207 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.0006079/0.1433, allocations: 430.6 kB / 0.5594 GB, free: 1.738 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.1434, allocations: 12.03 kB / 0.5594 GB, free: 1.727 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.324e-05/0.1434, allocations: 34.75 kB / 0.5594 GB, free: 1.684 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.815e-05/0.1435, allocations: 8.891 kB / 0.5594 GB, free: 1.676 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002303/0.1437, allocations: 200.1 kB / 0.5596 GB, free: 1.441 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.1437, allocations: 8.375 kB / 0.5596 GB, free: 1.434 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.998e-05/0.1438, allocations: 4.375 kB / 0.5596 GB, free: 1.43 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001996/0.144, allocations: 79.31 kB / 0.5597 GB, free: 1.34 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.144, allocations: 0 / 0.5597 GB, free: 1.34 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.144, allocations: 3.984 kB / 0.5597 GB, free: 1.336 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.144, allocations: 0 / 0.5597 GB, free: 1.336 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001518/0.1441, allocations: 39.97 kB / 0.5597 GB, free: 1.297 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004679/0.1446, allocations: 324.7 kB / 0.56 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001372/0.1447, allocations: 46.56 kB / 0.5601 GB, free: 0.875 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.746e-05/0.1448, allocations: 20.94 kB / 0.5601 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.222e-05/0.1448, allocations: 4 kB / 0.5601 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.062e-05/0.1449, allocations: 34.56 kB / 0.5601 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.1449, allocations: 0 / 0.5601 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008688/0.1457, allocations: 233.3 kB / 0.5604 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.408e-05/0.1458, allocations: 81.11 kB / 0.5604 GB, free: 484 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000176/0.146, allocations: 162.7 kB / 0.5606 GB, free: 312 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.842e-05/0.146, allocations: 25.7 kB / 0.5606 GB, free: 280 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.733e-05/0.1461, allocations: 108 kB / 0.5607 GB, free: 168 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.126e-05/0.1461, allocations: 23.8 kB / 0.5607 GB, free: 144 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.705e-05/0.1461, allocations: 21.72 kB / 0.5608 GB, free: 116 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001593/0.1463, allocations: 318.8 kB / 0.5611 GB, free: 15.79 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001317/0.1464, allocations: 39.97 kB / 0.5611 GB, free: 15.75 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001415/0.1466, allocations: 57.73 kB / 0.5612 GB, free: 15.69 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002578/0.1468, allocations: 89.02 kB / 0.5613 GB, free: 15.6 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1468, allocations: 0 / 0.5613 GB, free: 15.6 MB / 430.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003222/0.1472, allocations: 125.6 kB / 0.5614 GB, free: 15.47 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.1472, allocations: 9.812 kB / 0.5614 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.1472, allocations: 0 / 0.5614 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.1472, allocations: 4 kB / 0.5614 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001488/0.1473, allocations: 19.98 kB / 0.5614 GB, free: 15.44 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.159e-06/0.1473, allocations: 0 / 0.5614 GB, free: 15.44 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.934e-05/0.1474, allocations: 19.92 kB / 0.5614 GB, free: 15.42 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.768e-06/0.1474, allocations: 8 kB / 0.5614 GB, free: 15.41 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 0.0001008/0.1475, allocations: 124 kB / 0.5615 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.385e-05/0.1476, allocations: 11.91 kB / 0.5616 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003845/0.148, allocations: 138.3 kB / 0.5617 GB, free: 15.13 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.148, allocations: 4 kB / 0.5617 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.148, allocations: 0 / 0.5617 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.148, allocations: 7.938 kB / 0.5617 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006242/0.1486, allocations: 414.5 kB / 0.5621 GB, free: 14.66 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1486, allocations: 0 / 0.5621 GB, free: 14.66 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.944e-05/0.1487, allocations: 19.98 kB / 0.5621 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.1487, allocations: 3.938 kB / 0.5621 GB, free: 14.63 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.1487, allocations: 3.938 kB / 0.5621 GB, free: 14.63 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.1487, allocations: 0 / 0.5621 GB, free: 14.63 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1487, allocations: 4 kB / 0.5621 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003654/0.1491, allocations: 223.4 kB / 0.5623 GB, free: 14.39 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.808e-05/0.1491, allocations: 89.05 kB / 0.5624 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.521e-05/0.1492, allocations: 7.938 kB / 0.5624 GB, free: 14.28 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001068/0.1493, allocations: 15.92 kB / 0.5625 GB, free: 14.26 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.645e-05/0.1493, allocations: 8 kB / 0.5625 GB, free: 14.25 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.655e-06/0.1493, allocations: 3.984 kB / 0.5625 GB, free: 14.25 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001147/0.1494, allocations: 118.5 kB / 0.5626 GB, free: 14.14 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1494, allocations: 0 / 0.5626 GB, free: 14.14 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003038/0.1497, allocations: 43.86 kB / 0.5626 GB, free: 14.09 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.002367/0.1521, allocations: 1.161 MB / 0.5638 GB, free: 13.1 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003457/0.1524, allocations: 83.92 kB / 0.5638 GB, free: 13.02 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1524, allocations: 0 / 0.5638 GB, free: 13.02 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001508/0.1526, allocations: 47.91 kB / 0.5639 GB, free: 12.97 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003531/0.1529, allocations: 19.98 kB / 0.5639 GB, free: 12.95 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002392/0.1553, allocations: 1.647 MB / 0.5655 GB, free: 11.22 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000396/0.1557, allocations: 0.7078 MB / 0.5662 GB, free: 10.49 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001159/0.1559, allocations: 32.7 kB / 0.5662 GB, free: 10.46 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.917e-05/0.1559, allocations: 35.41 kB / 0.5663 GB, free: 10.42 MB / 430.1 MB Notification: Performance of SimCode: time 1.052e-06/0.1559, allocations: 0 / 0.5663 GB, free: 10.42 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02901/0.185, allocations: 3.622 MB / 0.5698 GB, free: 6.809 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.284/8.469, allocations: 15.92 kB / 0.5698 GB, free: 6.793 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test14.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test14_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test14_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test14.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test14_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test14/Test14.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test14.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.634614160982892]