Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.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.CombiTable1Ds.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test20",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.001544/0.001544, allocations: 105.2 kB / 17.63 MB, free: 5.344 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.001738/0.001738, allocations: 192 kB / 18.56 MB, free: 4.434 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.506/1.506, allocations: 222.9 MB / 242.3 MB, free: 15.15 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.3604/0.3604, allocations: 44.17 MB / 336.6 MB, free: 2.734 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 61.8 kB / 408.5 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1266, allocations: 60.83 MB / 469.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test20): time 0.003027/0.1297, allocations: 1.545 MB / 470.9 MB, free: 12.69 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001395/0.1311, allocations: 1.012 MB / 471.9 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.399e-05/0.1312, allocations: 0 / 471.9 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000225/0.1314, allocations: 27.84 kB / 472 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001937/0.1316, allocations: 43.77 kB / 472 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002379/0.1319, allocations: 87.72 kB / 472.1 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000148/0.132, allocations: 59.78 kB / 472.1 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.1322, allocations: 11.98 kB / 472.1 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.054e-05/0.1322, allocations: 23.92 kB / 472.2 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001591/0.1324, allocations: 27.84 kB / 472.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.74e-05/0.1324, allocations: 4 kB / 472.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001111/0.1325, allocations: 51.97 kB / 472.3 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.772e-05/0.1326, allocations: 15.94 kB / 472.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.662e-05/0.1326, allocations: 23.8 kB / 472.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001745/0.1328, allocations: 88 kB / 472.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1328, allocations: 0 / 472.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1328, allocations: 0 / 472.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.1328, allocations: 0 / 472.4 MB, free: 11.21 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.0004646/0.1333, allocations: 375.3 kB / 472.7 MB, free: 10.8 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.1334, allocations: 12.03 kB / 472.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.391e-05/0.1334, allocations: 30.75 kB / 472.8 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.227e-05/0.1334, allocations: 12.84 kB / 472.8 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001928/0.1336, allocations: 192.2 kB / 473 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.176e-05/0.1337, allocations: 8.375 kB / 473 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.075e-05/0.1337, allocations: 384 / 473 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001718/0.1339, allocations: 67.27 kB / 473.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.1339, allocations: 4 kB / 473.1 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.1339, allocations: 4 kB / 473.1 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.215e-06/0.1339, allocations: 3.938 kB / 473.1 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.424e-05/0.134, allocations: 23.98 kB / 473.1 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003496/0.1344, allocations: 264.9 kB / 473.4 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000219/0.1346, allocations: 50.5 kB / 473.4 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.022e-05/0.1347, allocations: 12.94 kB / 473.4 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.788e-05/0.1347, allocations: 4 kB / 473.4 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.452e-05/0.1347, allocations: 38.56 kB / 473.5 MB, free: 9.957 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.1348, allocations: 0 / 473.5 MB, free: 9.957 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005645/0.1353, allocations: 141.3 kB / 473.6 MB, free: 9.812 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.607e-05/0.1354, allocations: 77.11 kB / 473.7 MB, free: 9.719 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000135/0.1355, allocations: 140.8 kB / 473.8 MB, free: 9.574 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.194e-05/0.1356, allocations: 29.7 kB / 473.8 MB, free: 9.539 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.937e-05/0.1356, allocations: 92.08 kB / 473.9 MB, free: 9.445 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.148e-05/0.1357, allocations: 15.8 kB / 473.9 MB, free: 9.43 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.434e-05/0.1357, allocations: 17.72 kB / 474 MB, free: 9.406 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.1358, allocations: 318.8 kB / 474.3 MB, free: 9.086 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.923e-05/0.1359, allocations: 19.98 kB / 474.3 MB, free: 9.066 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.008e-05/0.136, allocations: 37.69 kB / 474.3 MB, free: 9.023 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001265/0.1361, allocations: 44.78 kB / 474.4 MB, free: 8.977 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.1361, allocations: 4 kB / 474.4 MB, free: 8.973 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001937/0.1363, allocations: 77.56 kB / 474.5 MB, free: 8.891 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.1364, allocations: 4 kB / 474.5 MB, free: 8.887 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.1364, allocations: 0 / 474.5 MB, free: 8.887 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.1364, allocations: 4 kB / 474.5 MB, free: 8.883 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.478e-05/0.1365, allocations: 12.03 kB / 474.5 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.1365, allocations: 4.234 kB / 474.5 MB, free: 8.867 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.614e-05/0.1365, allocations: 8 kB / 474.5 MB, free: 8.859 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.427e-06/0.1366, allocations: 11.88 kB / 474.5 MB, free: 8.848 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 8.292e-05/0.1366, allocations: 117.8 kB / 474.6 MB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.401e-05/0.1367, allocations: 7.906 kB / 474.6 MB, free: 8.715 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002365/0.1369, allocations: 93.61 kB / 474.7 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.1369, allocations: 0 / 474.7 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.137, allocations: 0 / 474.7 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.137, allocations: 3.984 kB / 474.7 MB, free: 8.613 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004246/0.1374, allocations: 346.5 kB / 475.1 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.1374, allocations: 3.938 kB / 475.1 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.687e-05/0.1375, allocations: 11.98 kB / 475.1 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.1375, allocations: 0 / 475.1 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.1375, allocations: 8 kB / 475.1 MB, free: 8.195 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.1375, allocations: 3.938 kB / 475.1 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.1375, allocations: 0 / 475.1 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002243/0.1377, allocations: 171.4 kB / 475.2 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.616e-05/0.1378, allocations: 85 kB / 475.3 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.85e-05/0.1378, allocations: 0 / 475.3 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.367e-05/0.1379, allocations: 7.938 kB / 475.3 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.259e-05/0.138, allocations: 19.92 kB / 475.4 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.477e-06/0.138, allocations: 0 / 475.4 MB, free: 7.879 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.484e-05/0.1381, allocations: 103.3 kB / 475.5 MB, free: 7.777 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1381, allocations: 0 / 475.5 MB, free: 7.777 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002704/0.1383, allocations: 20 kB / 475.5 MB, free: 7.758 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.001365/0.1397, allocations: 1.041 MB / 476.5 MB, free: 6.863 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002349/0.14, allocations: 51.91 kB / 476.6 MB, free: 6.812 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.14, allocations: 4 kB / 476.6 MB, free: 6.809 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.199e-05/0.1401, allocations: 23.98 kB / 476.6 MB, free: 6.785 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003545/0.1404, allocations: 19.92 kB / 476.6 MB, free: 6.766 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001477/0.1419, allocations: 1.388 MB / 478 MB, free: 5.305 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002541/0.1422, allocations: 0.6885 MB / 478.7 MB, free: 4.59 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.519e-05/0.1422, allocations: 8.062 kB / 478.7 MB, free: 4.582 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.769e-05/0.1423, allocations: 27.42 kB / 478.7 MB, free: 4.555 MB / 350.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1423, allocations: 0 / 478.7 MB, free: 4.555 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02286/0.1652, allocations: 2.653 MB / 481.4 MB, free: 1.969 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.519/7.684, allocations: 7.922 kB / 481.4 MB, free: 1.961 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20_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_CombiTable1Ds_Test20.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches