Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.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.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test2",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.001116/0.001116, allocations: 100.8 kB / 17.63 MB, free: 5.547 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.001158/0.001158, allocations: 195.8 kB / 18.57 MB, free: 4.617 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.322/1.322, allocations: 222.9 MB / 242.3 MB, free: 15.26 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.3035/0.3035, allocations: 44.19 MB / 336.6 MB, free: 2.777 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 65.14 kB / 408.5 MB, free: 27.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.1316, allocations: 60.82 MB / 469.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test2): time 0.003294/0.135, allocations: 1.557 MB / 470.9 MB, free: 12.72 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007831/0.1358, allocations: 403.3 kB / 471.3 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.74e-05/0.1359, allocations: 0 / 471.3 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002158/0.1361, allocations: 23.86 kB / 471.3 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002408/0.1364, allocations: 47.72 kB / 471.4 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003466/0.1367, allocations: 106.9 kB / 471.5 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001442/0.1369, allocations: 63.78 kB / 471.5 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.137, allocations: 15.98 kB / 471.6 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.041e-05/0.1371, allocations: 19.92 kB / 471.6 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.151e-05/0.1371, allocations: 15.86 kB / 471.6 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.911e-05/0.1372, allocations: 4 kB / 471.6 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.4e-05/0.1373, allocations: 35.98 kB / 471.6 MB, free: 12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.212e-05/0.1373, allocations: 15.92 kB / 471.7 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.406e-05/0.1374, allocations: 15.88 kB / 471.7 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000164/0.1375, allocations: 76.02 kB / 471.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.1376, allocations: 0 / 471.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.1376, allocations: 3.984 kB / 471.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.1376, allocations: 0 / 471.7 MB, free: 11.89 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.0004958/0.1381, allocations: 367.3 kB / 472.1 MB, free: 11.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.1381, allocations: 8.031 kB / 472.1 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.835e-05/0.1382, allocations: 30.75 kB / 472.1 MB, free: 11.44 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.156e-05/0.1382, allocations: 8.844 kB / 472.1 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002012/0.1384, allocations: 195.1 kB / 472.3 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.1384, allocations: 8.375 kB / 472.3 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.934e-05/0.1385, allocations: 4.312 kB / 472.4 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001642/0.1386, allocations: 57.56 kB / 472.4 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.1387, allocations: 0 / 472.4 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.1387, allocations: 3.984 kB / 472.4 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.1387, allocations: 0 / 472.4 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001081/0.1388, allocations: 19.98 kB / 472.4 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003993/0.1392, allocations: 284.9 kB / 472.7 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002075/0.1394, allocations: 46.5 kB / 472.8 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.496e-05/0.1395, allocations: 16.94 kB / 472.8 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.385e-05/0.1395, allocations: 4 kB / 472.8 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.1396, allocations: 30.56 kB / 472.8 MB, free: 10.66 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.482e-06/0.1396, allocations: 4 kB / 472.8 MB, free: 10.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005872/0.1402, allocations: 149.2 kB / 473 MB, free: 10.5 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.117e-05/0.1402, allocations: 55.41 kB / 473 MB, free: 10.44 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001349/0.1404, allocations: 138.1 kB / 473.1 MB, free: 10.29 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.338e-05/0.1404, allocations: 25.7 kB / 473.2 MB, free: 10.26 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.609e-05/0.1404, allocations: 96.12 kB / 473.3 MB, free: 10.16 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.38e-05/0.1405, allocations: 19.75 kB / 473.3 MB, free: 10.14 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.673e-05/0.1405, allocations: 17.72 kB / 473.3 MB, free: 10.12 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001133/0.1406, allocations: 322.8 kB / 473.6 MB, free: 9.793 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.468e-05/0.1407, allocations: 19.98 kB / 473.6 MB, free: 9.773 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.487e-05/0.1408, allocations: 19.98 kB / 473.7 MB, free: 9.754 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001481/0.1409, allocations: 64.94 kB / 473.7 MB, free: 9.688 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.141, allocations: 4 kB / 473.7 MB, free: 9.684 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001914/0.1412, allocations: 85.52 kB / 473.8 MB, free: 9.594 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.1412, allocations: 4 kB / 473.8 MB, free: 9.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.1412, allocations: 0 / 473.8 MB, free: 9.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.1412, allocations: 4 kB / 473.8 MB, free: 9.586 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.332e-05/0.1413, allocations: 11.98 kB / 473.8 MB, free: 9.574 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.275e-06/0.1413, allocations: 3.984 kB / 473.8 MB, free: 9.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.893e-05/0.1413, allocations: 4 kB / 473.8 MB, free: 9.566 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.695e-06/0.1413, allocations: 3.938 kB / 473.8 MB, free: 9.562 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.0001347/0.1415, allocations: 121.8 kB / 474 MB, free: 9.434 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.226e-05/0.1415, allocations: 7.906 kB / 474 MB, free: 9.426 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002405/0.1418, allocations: 97.91 kB / 474.1 MB, free: 9.324 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.1418, allocations: 3.938 kB / 474.1 MB, free: 9.32 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.1418, allocations: 3.984 kB / 474.1 MB, free: 9.316 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.1418, allocations: 288 / 474.1 MB, free: 9.316 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004178/0.1422, allocations: 350.5 kB / 474.4 MB, free: 8.918 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1422, allocations: 0 / 474.4 MB, free: 8.918 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.71e-05/0.1423, allocations: 19.92 kB / 474.4 MB, free: 8.898 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.1423, allocations: 0 / 474.4 MB, free: 8.898 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.387e-06/0.1423, allocations: 3.984 kB / 474.4 MB, free: 8.895 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.1423, allocations: 3.938 kB / 474.4 MB, free: 8.891 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1423, allocations: 0 / 474.4 MB, free: 8.891 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002362/0.1426, allocations: 191.6 kB / 474.6 MB, free: 8.688 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.897e-05/0.1427, allocations: 81.02 kB / 474.7 MB, free: 8.59 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.637e-05/0.1427, allocations: 0 / 474.7 MB, free: 8.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.935e-05/0.1427, allocations: 11.92 kB / 474.7 MB, free: 8.578 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.218e-05/0.1428, allocations: 4 kB / 474.7 MB, free: 8.574 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.488e-06/0.1428, allocations: 0 / 474.7 MB, free: 8.574 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.26e-05/0.1429, allocations: 111.2 kB / 474.8 MB, free: 8.465 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.1429, allocations: 4 kB / 474.8 MB, free: 8.461 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002475/0.1431, allocations: 20 kB / 474.9 MB, free: 8.441 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.001321/0.1445, allocations: 1.019 MB / 475.9 MB, free: 7.559 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002156/0.1447, allocations: 59.91 kB / 475.9 MB, free: 7.5 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.1447, allocations: 0 / 475.9 MB, free: 7.5 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.273e-05/0.1448, allocations: 31.97 kB / 476 MB, free: 7.469 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003501/0.1452, allocations: 15.59 kB / 476 MB, free: 7.457 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001619/0.1468, allocations: 1.42 MB / 477.4 MB, free: 5.957 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002649/0.1471, allocations: 0.6924 MB / 478.1 MB, free: 5.238 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.874e-05/0.1471, allocations: 20.14 kB / 478.1 MB, free: 5.219 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.317e-05/0.1472, allocations: 19.44 kB / 478.1 MB, free: 5.199 MB / 350.1 MB Notification: Performance of SimCode: time 3.9e-07/0.1472, allocations: 0 / 478.1 MB, free: 5.199 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01958/0.1668, allocations: 2.391 MB / 480.5 MB, free: 2.871 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.469/7.636, allocations: 11.92 kB / 480.5 MB, free: 2.859 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test2.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches