Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.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.CombiTable2Dv.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test12",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.001409/0.001409, allocations: 112.8 kB / 17.78 MB, free: 5.277 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.001431/0.001431, allocations: 180.9 kB / 18.71 MB, free: 4.363 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.376/1.376, allocations: 222.9 MB / 242.4 MB, free: 15.16 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.2226/0.2226, allocations: 44.19 MB / 336.8 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001864/0.001864, allocations: 63.89 kB / 470.1 MB, free: 13.63 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3263/0.3282, allocations: 60.83 MB / 0.5184 GB, free: 3.297 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test12): time 0.002654/0.3309, allocations: 1.622 MB / 0.52 GB, free: 2.176 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001381/0.3322, allocations: 1.063 MB / 0.5211 GB, free: 1.426 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.424e-05/0.3323, allocations: 0.9062 kB / 0.5211 GB, free: 1.426 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002251/0.3325, allocations: 25.05 kB / 0.5211 GB, free: 1.41 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001959/0.3327, allocations: 45.62 kB / 0.5211 GB, free: 1.383 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003885/0.3331, allocations: 171.8 kB / 0.5213 GB, free: 1.301 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001536/0.3332, allocations: 73.55 kB / 0.5214 GB, free: 1.266 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.3334, allocations: 13.08 kB / 0.5214 GB, free: 1.262 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.864e-05/0.3334, allocations: 20.88 kB / 0.5214 GB, free: 1.254 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001419/0.3336, allocations: 36.44 kB / 0.5214 GB, free: 1.234 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.657e-05/0.3336, allocations: 3.469 kB / 0.5214 GB, free: 1.234 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001126/0.3337, allocations: 52.42 kB / 0.5215 GB, free: 1.219 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.131e-05/0.3337, allocations: 25.5 kB / 0.5215 GB, free: 1.203 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.855e-05/0.3338, allocations: 31.14 kB / 0.5215 GB, free: 1.18 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002097/0.334, allocations: 94.38 kB / 0.5216 GB, free: 1.148 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.334, allocations: 0 / 0.5216 GB, free: 1.148 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.334, allocations: 0.9375 kB / 0.5216 GB, free: 1.148 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.641e-06/0.334, allocations: 0 / 0.5216 GB, free: 1.148 MB / 382.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.0004558/0.3345, allocations: 410.1 kB / 0.522 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.3345, allocations: 9.531 kB / 0.522 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.596e-05/0.3345, allocations: 33.8 kB / 0.5221 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.511e-05/0.3346, allocations: 16.3 kB / 0.5221 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001673/0.3347, allocations: 190.3 kB / 0.5223 GB, free: 496 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.083e-05/0.3347, allocations: 1.438 kB / 0.5223 GB, free: 496 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.604e-05/0.3348, allocations: 10.62 kB / 0.5223 GB, free: 488 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001877/0.335, allocations: 80.06 kB / 0.5224 GB, free: 424 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/0.335, allocations: 1.312 kB / 0.5224 GB, free: 424 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.978e-06/0.335, allocations: 0 / 0.5224 GB, free: 424 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.335, allocations: 1.688 kB / 0.5224 GB, free: 424 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001432/0.3351, allocations: 43.36 kB / 0.5224 GB, free: 412 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004175/0.3355, allocations: 310.7 kB / 0.5227 GB, free: 108 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00013/0.3357, allocations: 41.52 kB / 0.5227 GB, free: 80 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.032e-05/0.3357, allocations: 33.11 kB / 0.5228 GB, free: 60 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.688e-05/0.3358, allocations: 1.844 kB / 0.5228 GB, free: 60 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.069e-05/0.3358, allocations: 35.69 kB / 0.5228 GB, free: 16 kB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.3358, allocations: 0 / 0.5228 GB, free: 16 kB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008556/0.3366, allocations: 223.2 kB / 0.523 GB, free: 15.93 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.7e-05/0.3367, allocations: 82.27 kB / 0.5231 GB, free: 15.83 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001654/0.3369, allocations: 144.6 kB / 0.5232 GB, free: 15.71 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.625e-05/0.3369, allocations: 27.3 kB / 0.5233 GB, free: 15.68 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.755e-05/0.337, allocations: 97.03 kB / 0.5234 GB, free: 15.59 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.415e-05/0.337, allocations: 29.75 kB / 0.5234 GB, free: 15.57 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.404e-05/0.3371, allocations: 20 kB / 0.5234 GB, free: 15.55 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001484/0.3372, allocations: 324.2 kB / 0.5237 GB, free: 15.23 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001283/0.3373, allocations: 37.95 kB / 0.5237 GB, free: 15.22 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001389/0.3375, allocations: 56.25 kB / 0.5238 GB, free: 15.19 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002446/0.3377, allocations: 82.34 kB / 0.5239 GB, free: 15.17 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.3377, allocations: 4.031 kB / 0.5239 GB, free: 15.16 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003125/0.338, allocations: 126.9 kB / 0.524 GB, free: 15.11 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.338, allocations: 5.094 kB / 0.524 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.338, allocations: 0 / 0.524 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.3381, allocations: 1.906 kB / 0.524 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001228/0.3382, allocations: 23.23 kB / 0.524 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.3382, allocations: 3.938 kB / 0.524 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.805e-05/0.3383, allocations: 13.55 kB / 0.524 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.3383, allocations: 2.344 kB / 0.524 GB, free: 15.1 MB / 398.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.0001067/0.3384, allocations: 118 kB / 0.5242 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.698e-05/0.3384, allocations: 8.359 kB / 0.5242 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003741/0.3388, allocations: 140.3 kB / 0.5243 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.3388, allocations: 5.469 kB / 0.5243 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.138e-05/0.3388, allocations: 5.406 kB / 0.5243 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.3388, allocations: 0.6094 kB / 0.5243 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006552/0.3395, allocations: 407.6 kB / 0.5247 GB, free: 14.56 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.3395, allocations: 0.7031 kB / 0.5247 GB, free: 14.56 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.438e-05/0.3396, allocations: 18.5 kB / 0.5247 GB, free: 14.56 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.171e-06/0.3396, allocations: 9.156 kB / 0.5247 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.936e-06/0.3396, allocations: 0.75 kB / 0.5247 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.3396, allocations: 1.031 kB / 0.5247 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3396, allocations: 3.938 kB / 0.5247 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003649/0.3399, allocations: 219.7 kB / 0.5249 GB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.855e-05/0.34, allocations: 85.12 kB / 0.525 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.562e-05/0.34, allocations: 13.41 kB / 0.525 GB, free: 14.28 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.348e-05/0.3401, allocations: 13.77 kB / 0.5251 GB, free: 14.28 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.829e-05/0.3402, allocations: 5.859 kB / 0.5251 GB, free: 14.28 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.062e-06/0.3402, allocations: 6.062 kB / 0.5251 GB, free: 14.27 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001078/0.3403, allocations: 114.8 kB / 0.5252 GB, free: 14.19 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3403, allocations: 0 / 0.5252 GB, free: 14.19 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002721/0.3405, allocations: 26.55 kB / 0.5252 GB, free: 14.18 MB / 398.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.002093/0.3426, allocations: 1.094 MB / 0.5263 GB, free: 13.37 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003342/0.343, allocations: 89 kB / 0.5264 GB, free: 13.35 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.343, allocations: 1.75 kB / 0.5264 GB, free: 13.35 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001306/0.3431, allocations: 47.95 kB / 0.5264 GB, free: 13.34 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003938/0.3435, allocations: 16.77 kB / 0.5264 GB, free: 13.34 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002129/0.3456, allocations: 1.599 MB / 0.528 GB, free: 12.03 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003398/0.346, allocations: 0.6967 MB / 0.5287 GB, free: 11.33 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000104/0.3461, allocations: 33.05 kB / 0.5287 GB, free: 11.32 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.259e-05/0.3461, allocations: 30.06 kB / 0.5287 GB, free: 11.3 MB / 398.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3461, allocations: 0 / 0.5287 GB, free: 11.3 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02608/0.3722, allocations: 3.132 MB / 0.5318 GB, free: 9.758 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.863/8.235, allocations: 13.45 kB / 0.5318 GB, free: 9.746 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test12.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches