Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.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.Test19,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test19,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test19",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.001807/0.001807, 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.001786/0.001786, 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.428/1.428, 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.215/0.215, allocations: 44.19 MB / 336.8 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001798/0.001798, allocations: 71.83 kB / 470.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3077/0.3095, allocations: 60.81 MB / 0.5184 GB, free: 3.18 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test19): time 0.002804/0.3123, allocations: 1.868 MB / 0.5203 GB, free: 1.875 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001294/0.3137, allocations: 0.9162 MB / 0.5211 GB, free: 1.27 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.686e-05/0.3138, allocations: 6.406 kB / 0.5212 GB, free: 1.266 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004499/0.3142, allocations: 262.1 kB / 0.5214 GB, free: 1.207 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003302/0.3146, allocations: 193.6 kB / 0.5216 GB, free: 1.141 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001218/0.3158, allocations: 0.6344 MB / 0.5222 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003522/0.3162, allocations: 275.1 kB / 0.5225 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001414/0.3163, allocations: 56.53 kB / 0.5225 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001321/0.3164, allocations: 120.7 kB / 0.5226 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002021/0.3166, allocations: 184 kB / 0.5228 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.945e-05/0.3167, allocations: 7.438 kB / 0.5228 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001145/0.3168, allocations: 54.41 kB / 0.5229 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001122/0.3169, allocations: 86.48 kB / 0.523 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.538e-05/0.317, allocations: 110.5 kB / 0.5231 GB, free: 492 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003268/0.3173, allocations: 286.4 kB / 0.5233 GB, free: 368 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.3173, allocations: 0 / 0.5233 GB, free: 368 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3174, allocations: 0 / 0.5233 GB, free: 368 kB / 382.1 MB Notification: Performance of Transformations before backend: time 1.327e-05/0.3174, allocations: 3.938 kB / 0.5233 GB, free: 364 kB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006978/0.3181, allocations: 0.6352 MB / 0.524 GB, free: 15.8 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.3181, allocations: 9.781 kB / 0.524 GB, free: 15.8 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.425e-05/0.3182, allocations: 46.84 kB / 0.524 GB, free: 15.75 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.869e-05/0.3182, allocations: 41.97 kB / 0.5241 GB, free: 15.73 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003572/0.3186, allocations: 323.1 kB / 0.5244 GB, free: 15.45 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.055e-05/0.3186, allocations: 7.875 kB / 0.5244 GB, free: 15.45 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.486e-05/0.3186, allocations: 3.906 kB / 0.5244 GB, free: 15.45 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002275/0.3189, allocations: 101.2 kB / 0.5245 GB, free: 15.39 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.3189, allocations: 1.281 kB / 0.5245 GB, free: 15.39 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/0.3189, allocations: 4 kB / 0.5245 GB, free: 15.38 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.3189, allocations: 2.344 kB / 0.5245 GB, free: 15.38 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001583/0.3191, allocations: 75.03 kB / 0.5245 GB, free: 15.36 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006127/0.3197, allocations: 462.8 kB / 0.525 GB, free: 15.02 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001473/0.3199, allocations: 75.38 kB / 0.5251 GB, free: 14.97 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.427e-05/0.32, allocations: 41.42 kB / 0.5251 GB, free: 14.95 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.708e-05/0.32, allocations: 3.453 kB / 0.5251 GB, free: 14.95 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.091e-05/0.32, allocations: 36.69 kB / 0.5251 GB, free: 14.91 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.32, allocations: 0 / 0.5251 GB, free: 14.91 MB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003523/0.3204, allocations: 153.7 kB / 0.5253 GB, free: 14.83 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.478e-05/0.3204, allocations: 57.52 kB / 0.5253 GB, free: 14.76 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006056/0.3211, allocations: 0.5503 MB / 0.5259 GB, free: 14.54 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.562e-05/0.3211, allocations: 25.7 kB / 0.5259 GB, free: 14.51 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000155/0.3212, allocations: 201.7 kB / 0.5261 GB, free: 14.34 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.881e-05/0.3213, allocations: 20.31 kB / 0.5261 GB, free: 14.33 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.278e-05/0.3213, allocations: 25.42 kB / 0.5261 GB, free: 14.3 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000162/0.3215, allocations: 349.6 kB / 0.5265 GB, free: 13.98 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.833e-05/0.3216, allocations: 23.42 kB / 0.5265 GB, free: 13.97 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.345e-05/0.3216, allocations: 27.39 kB / 0.5265 GB, free: 13.96 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001356/0.3218, allocations: 66.98 kB / 0.5266 GB, free: 13.94 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3218, allocations: 0 / 0.5266 GB, free: 13.94 MB / 398.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002289/0.322, allocations: 136.7 kB / 0.5267 GB, free: 13.86 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.322, allocations: 5.094 kB / 0.5267 GB, free: 13.86 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.3221, allocations: 0.7031 kB / 0.5267 GB, free: 13.86 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.3221, allocations: 3.938 kB / 0.5267 GB, free: 13.86 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.106e-05/0.3222, allocations: 13.64 kB / 0.5267 GB, free: 13.86 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.3222, allocations: 0.5625 kB / 0.5267 GB, free: 13.86 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.121e-05/0.3222, allocations: 8.891 kB / 0.5267 GB, free: 13.85 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.236e-06/0.3223, allocations: 1.922 kB / 0.5267 GB, free: 13.85 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 (6): * Single equations (assignments): 6 * 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.0001564/0.3224, allocations: 171.8 kB / 0.5269 GB, free: 13.72 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.477e-05/0.3225, allocations: 43.08 kB / 0.527 GB, free: 13.7 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002992/0.3228, allocations: 153.8 kB / 0.5271 GB, free: 13.61 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.3228, allocations: 5.312 kB / 0.5271 GB, free: 13.61 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.3228, allocations: 3.984 kB / 0.5271 GB, free: 13.6 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.3228, allocations: 1.375 kB / 0.5271 GB, free: 13.6 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003272/0.3232, allocations: 284.8 kB / 0.5274 GB, free: 13.34 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.3232, allocations: 1.375 kB / 0.5274 GB, free: 13.34 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.159e-05/0.3232, allocations: 13.61 kB / 0.5274 GB, free: 13.33 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.3232, allocations: 0 / 0.5274 GB, free: 13.33 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.704e-06/0.3232, allocations: 5.375 kB / 0.5274 GB, free: 13.33 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.858e-06/0.3233, allocations: 5.312 kB / 0.5274 GB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.3233, allocations: 0 / 0.5274 GB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002753/0.3235, allocations: 224.8 kB / 0.5276 GB, free: 13.14 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.769e-05/0.3236, allocations: 117.1 kB / 0.5277 GB, free: 13.02 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3e-05/0.3237, allocations: 1.375 kB / 0.5277 GB, free: 13.02 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.575e-05/0.3238, allocations: 10.69 kB / 0.5277 GB, free: 13.01 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.384e-05/0.3238, allocations: 10.73 kB / 0.5278 GB, free: 13 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.41e-06/0.3238, allocations: 5.312 kB / 0.5278 GB, free: 13 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004338/0.3243, allocations: 416.9 kB / 0.5282 GB, free: 12.78 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3243, allocations: 0 / 0.5282 GB, free: 12.78 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002791/0.3246, allocations: 37.48 kB / 0.5282 GB, free: 12.77 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 (6): * Single equations (assignments): 6 * 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.002658/0.3272, allocations: 1.255 MB / 0.5294 GB, free: 11.88 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002109/0.3275, allocations: 67.98 kB / 0.5295 GB, free: 11.85 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3275, allocations: 1.25 kB / 0.5295 GB, free: 11.85 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.228e-05/0.3275, allocations: 31.98 kB / 0.5295 GB, free: 11.84 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005475/0.3281, allocations: 72.92 kB / 0.5296 GB, free: 11.8 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003273/0.3314, allocations: 2.822 MB / 0.5323 GB, free: 9.863 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004524/0.3319, allocations: 0.8078 MB / 0.5331 GB, free: 9.102 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001384/0.332, allocations: 50.02 kB / 0.5332 GB, free: 9.078 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001497/0.3322, allocations: 108.4 kB / 0.5333 GB, free: 8.984 MB / 398.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3322, allocations: 0 / 0.5333 GB, free: 8.984 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02862/0.3608, allocations: 6.644 MB / 0.5398 GB, free: 5.535 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.414/8.775, allocations: 14.3 kB / 0.5398 GB, free: 5.523 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19_res.csv --start-time 0 --stop-time 6 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0024 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test19.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test19/Test19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches