Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test24",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 98.91 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 195.9 kB / 18.56 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.522/1.522, allocations: 222.9 MB / 242.3 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.233/0.233, allocations: 44.18 MB / 336.6 MB, free: 2.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 64.11 kB / 408.5 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.1357, allocations: 60.83 MB / 469.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test24): time 0.003742/0.1395, allocations: 1.541 MB / 470.9 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001844/0.1414, allocations: 1.027 MB / 471.9 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.653e-05/0.1415, allocations: 4 kB / 471.9 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002754/0.1418, allocations: 19.86 kB / 472 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002282/0.142, allocations: 43.78 kB / 472 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003995/0.1424, allocations: 106.5 kB / 472.1 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001617/0.1426, allocations: 59.83 kB / 472.2 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00013/0.1428, allocations: 23.97 kB / 472.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.954e-05/0.1428, allocations: 15.94 kB / 472.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001643/0.143, allocations: 31.83 kB / 472.2 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.933e-05/0.143, allocations: 4 kB / 472.2 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001122/0.1431, allocations: 51.92 kB / 472.3 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.408e-05/0.1432, allocations: 7.938 kB / 472.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.061e-05/0.1432, allocations: 27.84 kB / 472.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001954/0.1434, allocations: 88.06 kB / 472.4 MB, free: 11.19 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.1435, allocations: 0 / 472.4 MB, free: 11.19 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1435, allocations: 4 kB / 472.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.433e-06/0.1435, allocations: 0 / 472.4 MB, free: 11.18 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000641/0.1441, allocations: 375.3 kB / 472.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.12e-05/0.1442, allocations: 12.03 kB / 472.8 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.173e-05/0.1442, allocations: 30.75 kB / 472.8 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.16e-05/0.1443, allocations: 8.844 kB / 472.8 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002444/0.1445, allocations: 196.1 kB / 473 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.829e-06/0.1445, allocations: 4.375 kB / 473 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.654e-05/0.1446, allocations: 4.375 kB / 473 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001692/0.1448, allocations: 63.34 kB / 473.1 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.1448, allocations: 7.938 kB / 473.1 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.406e-05/0.1448, allocations: 0 / 473.1 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.1448, allocations: 3.938 kB / 473.1 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001093/0.1449, allocations: 23.97 kB / 473.1 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004647/0.1454, allocations: 284.8 kB / 473.4 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002378/0.1457, allocations: 42.56 kB / 473.4 MB, free: 9.984 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.72e-05/0.1457, allocations: 16.94 kB / 473.5 MB, free: 9.965 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.163e-05/0.1458, allocations: 0 / 473.5 MB, free: 9.965 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.095e-05/0.1458, allocations: 38.56 kB / 473.5 MB, free: 9.918 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 8.91e-07/0.1458, allocations: 0 / 473.5 MB, free: 9.918 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006046/0.1464, allocations: 149.3 kB / 473.6 MB, free: 9.766 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.758e-05/0.1465, allocations: 85.11 kB / 473.7 MB, free: 9.664 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001399/0.1466, allocations: 132.5 kB / 473.9 MB, free: 9.527 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.067e-05/0.1467, allocations: 29.7 kB / 473.9 MB, free: 9.492 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.215e-05/0.1467, allocations: 96.02 kB / 474 MB, free: 9.395 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.558e-05/0.1468, allocations: 15.8 kB / 474 MB, free: 9.379 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.788e-05/0.1468, allocations: 21.72 kB / 474 MB, free: 9.352 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001695/0.147, allocations: 318.8 kB / 474.3 MB, free: 9.031 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.342e-05/0.1471, allocations: 23.97 kB / 474.4 MB, free: 9.008 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.716e-05/0.1472, allocations: 37.7 kB / 474.4 MB, free: 8.965 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001414/0.1473, allocations: 44.83 kB / 474.4 MB, free: 8.918 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.1473, allocations: 4.031 kB / 474.4 MB, free: 8.914 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001873/0.1475, allocations: 89.56 kB / 474.5 MB, free: 8.82 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.1475, allocations: 4 kB / 474.5 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.1475, allocations: 0 / 474.5 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.1476, allocations: 0 / 474.5 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.203e-05/0.1476, allocations: 19.92 kB / 474.6 MB, free: 8.797 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.1476, allocations: 0 / 474.6 MB, free: 8.797 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.24e-05/0.1477, allocations: 4.25 kB / 474.6 MB, free: 8.793 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.189e-05/0.1477, allocations: 11.94 kB / 474.6 MB, free: 8.781 MB / 350.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.0001019/0.1478, allocations: 117.8 kB / 474.7 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.556e-05/0.1479, allocations: 7.906 kB / 474.7 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002478/0.1481, allocations: 97.59 kB / 474.8 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.103e-06/0.1481, allocations: 0 / 474.8 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.1481, allocations: 0 / 474.8 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.1482, allocations: 4 kB / 474.8 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004627/0.1486, allocations: 358.4 kB / 475.1 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.1486, allocations: 3.938 kB / 475.1 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.353e-05/0.1487, allocations: 15.98 kB / 475.2 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.1487, allocations: 0 / 475.2 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.1487, allocations: 0 / 475.2 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.1487, allocations: 3.938 kB / 475.2 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1487, allocations: 3.938 kB / 475.2 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002654/0.149, allocations: 187.6 kB / 475.3 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.969e-05/0.1491, allocations: 81.02 kB / 475.4 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.459e-05/0.1491, allocations: 11.98 kB / 475.4 MB, free: 7.801 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.025e-05/0.1492, allocations: 11.92 kB / 475.5 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.789e-05/0.1492, allocations: 0 / 475.5 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-06/0.1492, allocations: 0 / 475.5 MB, free: 7.789 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.254e-05/0.1493, allocations: 103.3 kB / 475.6 MB, free: 7.688 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1493, allocations: 4 kB / 475.6 MB, free: 7.684 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002601/0.1496, allocations: 27.98 kB / 475.6 MB, free: 7.656 MB / 350.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.001606/0.1512, allocations: 1.04 MB / 476.6 MB, free: 6.762 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002268/0.1515, allocations: 51.97 kB / 476.7 MB, free: 6.711 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1515, allocations: 0 / 476.7 MB, free: 6.711 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.23e-05/0.1516, allocations: 35.91 kB / 476.7 MB, free: 6.676 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003832/0.152, allocations: 24.09 kB / 476.7 MB, free: 6.66 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001702/0.1537, allocations: 1.401 MB / 478.1 MB, free: 5.18 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003236/0.154, allocations: 0.6885 MB / 478.8 MB, free: 4.465 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.692e-05/0.1541, allocations: 20.05 kB / 478.8 MB, free: 4.445 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.622e-05/0.1542, allocations: 23.42 kB / 478.9 MB, free: 4.422 MB / 350.1 MB Notification: Performance of SimCode: time 6.41e-07/0.1542, allocations: 0 / 478.9 MB, free: 4.422 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02304/0.1772, allocations: 2.689 MB / 481.6 MB, free: 1.797 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.435/7.612, allocations: 12.05 kB / 481.6 MB, free: 1.785 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test24.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches