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.001698/0.001698, allocations: 112.8 kB / 17.77 MB, free: 5.383 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.002032/0.002033, allocations: 184.8 kB / 18.71 MB, free: 4.457 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.35/1.35, allocations: 222.9 MB / 242.4 MB, free: 15.1 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.2103/0.2103, allocations: 44.19 MB / 336.7 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 67.89 kB / 470.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3316/0.3329, allocations: 60.83 MB / 0.5184 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test12): time 0.0029/0.3358, allocations: 1.619 MB / 0.52 GB, free: 2.172 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001346/0.3372, allocations: 1.068 MB / 0.5211 GB, free: 1.414 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.819e-05/0.3373, allocations: 5.219 kB / 0.5211 GB, free: 1.41 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00022/0.3375, allocations: 23.48 kB / 0.5211 GB, free: 1.395 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002153/0.3377, allocations: 46.77 kB / 0.5211 GB, free: 1.367 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004202/0.3382, allocations: 168 kB / 0.5213 GB, free: 1.289 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001586/0.3383, allocations: 64.66 kB / 0.5214 GB, free: 1.262 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.3385, allocations: 24.38 kB / 0.5214 GB, free: 1.25 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.817e-05/0.3385, allocations: 24.59 kB / 0.5214 GB, free: 1.238 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001359/0.3387, allocations: 31.78 kB / 0.5214 GB, free: 1.223 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.835e-05/0.3387, allocations: 8.5 kB / 0.5214 GB, free: 1.219 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001248/0.3388, allocations: 52.27 kB / 0.5215 GB, free: 1.203 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.245e-05/0.3389, allocations: 16.98 kB / 0.5215 GB, free: 1.195 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.189e-05/0.3389, allocations: 35.81 kB / 0.5215 GB, free: 1.168 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002202/0.3392, allocations: 94.03 kB / 0.5216 GB, free: 1.137 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.3392, allocations: 0 / 0.5216 GB, free: 1.137 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.3392, allocations: 1.031 kB / 0.5216 GB, free: 1.137 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.688e-06/0.3392, allocations: 0 / 0.5216 GB, free: 1.137 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.0004618/0.3397, allocations: 406.4 kB / 0.522 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.3397, allocations: 8.812 kB / 0.522 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.952e-05/0.3398, allocations: 40.52 kB / 0.5221 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.997e-05/0.3398, allocations: 9.875 kB / 0.5221 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001726/0.34, allocations: 193.8 kB / 0.5223 GB, free: 484 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/0.34, allocations: 1.594 kB / 0.5223 GB, free: 484 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.688e-05/0.34, allocations: 7.766 kB / 0.5223 GB, free: 480 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001875/0.3402, allocations: 79.97 kB / 0.5223 GB, free: 416 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.3402, allocations: 0 / 0.5223 GB, free: 416 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.3403, allocations: 1.188 kB / 0.5223 GB, free: 416 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.3403, allocations: 0 / 0.5223 GB, free: 416 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001398/0.3404, allocations: 44.28 kB / 0.5224 GB, free: 404 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004036/0.3408, allocations: 306.5 kB / 0.5227 GB, free: 104 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001358/0.341, allocations: 47.34 kB / 0.5227 GB, free: 72 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.138e-05/0.3411, allocations: 24.8 kB / 0.5228 GB, free: 60 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.942e-05/0.3411, allocations: 6.484 kB / 0.5228 GB, free: 56 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.374e-05/0.3411, allocations: 39.5 kB / 0.5228 GB, free: 8 kB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.723e-06/0.3411, allocations: 0 / 0.5228 GB, free: 8 kB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0009366/0.3421, allocations: 225.5 kB / 0.523 GB, free: 15.92 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.044e-05/0.3422, allocations: 79 kB / 0.5231 GB, free: 15.83 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001774/0.3423, allocations: 146.5 kB / 0.5232 GB, free: 15.71 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.94e-05/0.3424, allocations: 29.7 kB / 0.5233 GB, free: 15.68 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.659e-05/0.3424, allocations: 93.73 kB / 0.5233 GB, free: 15.59 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.615e-05/0.3425, allocations: 25.22 kB / 0.5234 GB, free: 15.57 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.971e-05/0.3425, allocations: 22.02 kB / 0.5234 GB, free: 15.55 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.3427, allocations: 318.9 kB / 0.5237 GB, free: 15.23 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001577/0.3429, allocations: 41.77 kB / 0.5237 GB, free: 15.22 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000155/0.343, allocations: 51.08 kB / 0.5238 GB, free: 15.2 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002476/0.3433, allocations: 91.03 kB / 0.5239 GB, free: 15.16 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.3433, allocations: 5.094 kB / 0.5239 GB, free: 15.16 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003186/0.3436, allocations: 125.8 kB / 0.524 GB, free: 15.1 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.3436, allocations: 5.719 kB / 0.524 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.3437, allocations: 0 / 0.524 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.3437, allocations: 1.859 kB / 0.524 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001215/0.3438, allocations: 18.45 kB / 0.524 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.3438, allocations: 5.875 kB / 0.524 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.121e-05/0.3439, allocations: 12.92 kB / 0.524 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.157e-06/0.3439, allocations: 1.75 kB / 0.524 GB, free: 15.09 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.0001491/0.3441, allocations: 121.5 kB / 0.5242 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.714e-05/0.3441, allocations: 9 kB / 0.5242 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003586/0.3445, allocations: 144.8 kB / 0.5243 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.3445, allocations: 1.156 kB / 0.5243 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.3445, allocations: 8.781 kB / 0.5243 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.3445, allocations: 0.9062 kB / 0.5243 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006229/0.3451, allocations: 407.1 kB / 0.5247 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.3451, allocations: 1.156 kB / 0.5247 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.605e-05/0.3452, allocations: 22.75 kB / 0.5247 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.3453, allocations: 3.938 kB / 0.5247 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.3453, allocations: 5.938 kB / 0.5247 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.3453, allocations: 1.031 kB / 0.5247 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.3453, allocations: 0 / 0.5247 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003898/0.3457, allocations: 215.3 kB / 0.5249 GB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.773e-05/0.3458, allocations: 89.09 kB / 0.525 GB, free: 14.28 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.643e-05/0.3458, allocations: 5.812 kB / 0.525 GB, free: 14.28 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001/0.3459, allocations: 12.92 kB / 0.525 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.015e-05/0.346, allocations: 6.719 kB / 0.525 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.877e-06/0.346, allocations: 6.031 kB / 0.5251 GB, free: 14.27 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001049/0.3461, allocations: 109.5 kB / 0.5252 GB, free: 14.19 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3461, allocations: 3.938 kB / 0.5252 GB, free: 14.18 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002901/0.3464, allocations: 31.81 kB / 0.5252 GB, free: 14.17 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.001675/0.3481, allocations: 1.09 MB / 0.5263 GB, free: 13.37 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003493/0.3484, allocations: 96.36 kB / 0.5263 GB, free: 13.34 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.3485, allocations: 0 / 0.5263 GB, free: 13.34 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001455/0.3486, allocations: 50.66 kB / 0.5264 GB, free: 13.33 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000379/0.349, allocations: 14.55 kB / 0.5264 GB, free: 13.33 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002188/0.3512, allocations: 1.605 MB / 0.528 GB, free: 12.01 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003217/0.3515, allocations: 0.6951 MB / 0.5287 GB, free: 11.32 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000104/0.3516, allocations: 33.53 kB / 0.5287 GB, free: 11.3 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.801e-05/0.3517, allocations: 25.5 kB / 0.5287 GB, free: 11.29 MB / 398.1 MB Notification: Performance of SimCode: time 4.4e-07/0.3517, allocations: 0 / 0.5287 GB, free: 11.29 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02383/0.3756, allocations: 3.134 MB / 0.5318 GB, free: 9.75 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.894/8.27, allocations: 18.69 kB / 0.5318 GB, free: 9.734 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