Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.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.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test7",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.001474/0.001475, allocations: 113.2 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.001304/0.001304, allocations: 185 kB / 18.72 MB, free: 4.352 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.361/1.361, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.2084/0.2084, allocations: 44.19 MB / 336.8 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001375, allocations: 63.91 kB / 470.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3095/0.3109, allocations: 60.83 MB / 0.5184 GB, free: 3.543 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.002545/0.3135, allocations: 1.573 MB / 0.52 GB, free: 2.453 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006619/0.3142, allocations: 426.2 kB / 0.5204 GB, free: 2.18 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.836e-05/0.3143, allocations: 1.062 kB / 0.5204 GB, free: 2.18 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005921/0.3148, allocations: 446.7 kB / 0.5208 GB, free: 2.16 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004084/0.3153, allocations: 261.1 kB / 0.5211 GB, free: 2.125 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004086/0.3157, allocations: 164.5 kB / 0.5212 GB, free: 2.047 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002407/0.316, allocations: 159.3 kB / 0.5214 GB, free: 2.02 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.589e-05/0.3161, allocations: 12.53 kB / 0.5214 GB, free: 2.016 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001231/0.3162, allocations: 111.8 kB / 0.5215 GB, free: 2 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000241/0.3164, allocations: 205.3 kB / 0.5217 GB, free: 1.98 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.061e-05/0.3165, allocations: 11.22 kB / 0.5217 GB, free: 1.973 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.755e-05/0.3165, allocations: 27.06 kB / 0.5217 GB, free: 1.961 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001005/0.3166, allocations: 82.12 kB / 0.5218 GB, free: 1.934 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.35e-05/0.3167, allocations: 99.36 kB / 0.5219 GB, free: 1.852 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002806/0.317, allocations: 246.7 kB / 0.5221 GB, free: 1.75 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.317, allocations: 0 / 0.5221 GB, free: 1.75 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.317, allocations: 0 / 0.5221 GB, free: 1.75 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.193e-05/0.317, allocations: 0 / 0.5221 GB, free: 1.75 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006231/0.3177, allocations: 0.6516 MB / 0.5228 GB, free: 1.172 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.3177, allocations: 9.281 kB / 0.5228 GB, free: 1.172 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.411e-05/0.3177, allocations: 36.48 kB / 0.5228 GB, free: 1.129 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.246e-05/0.3178, allocations: 43.75 kB / 0.5229 GB, free: 1.105 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002065/0.318, allocations: 303.5 kB / 0.5231 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.247e-06/0.318, allocations: 2.312 kB / 0.5231 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.242e-05/0.318, allocations: 10.3 kB / 0.5232 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001269/0.3182, allocations: 52.31 kB / 0.5232 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.3182, allocations: 1.938 kB / 0.5232 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.654e-06/0.3182, allocations: 4 kB / 0.5232 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.3182, allocations: 0.5625 kB / 0.5232 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.738e-05/0.3183, allocations: 27.36 kB / 0.5232 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004537/0.3188, allocations: 382.6 kB / 0.5236 GB, free: 452 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.396e-05/0.3189, allocations: 33.03 kB / 0.5236 GB, free: 424 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.492e-05/0.3189, allocations: 21.3 kB / 0.5237 GB, free: 408 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.052e-05/0.3189, allocations: 1.438 kB / 0.5237 GB, free: 408 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.596e-05/0.319, allocations: 31.12 kB / 0.5237 GB, free: 368 kB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.253e-06/0.319, allocations: 0 / 0.5237 GB, free: 368 kB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002696/0.3192, allocations: 108.8 kB / 0.5238 GB, free: 300 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.188e-05/0.3193, allocations: 51.41 kB / 0.5238 GB, free: 236 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008332/0.3201, allocations: 0.8615 MB / 0.5247 GB, free: 15.91 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.414e-05/0.3201, allocations: 31.17 kB / 0.5247 GB, free: 15.88 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001816/0.3203, allocations: 226.2 kB / 0.5249 GB, free: 15.69 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.944e-05/0.3204, allocations: 4.641 kB / 0.5249 GB, free: 15.69 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.155e-05/0.3204, allocations: 17.11 kB / 0.5249 GB, free: 15.67 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.3206, allocations: 361.7 kB / 0.5253 GB, free: 15.34 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.801e-05/0.3206, allocations: 8.828 kB / 0.5253 GB, free: 15.34 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.131e-05/0.3207, allocations: 12.31 kB / 0.5253 GB, free: 15.33 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.99e-05/0.3208, allocations: 34.98 kB / 0.5253 GB, free: 15.31 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/0.3208, allocations: 0 / 0.5253 GB, free: 15.31 MB / 398.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001629/0.3209, allocations: 96.89 kB / 0.5254 GB, free: 15.25 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.321, allocations: 8.406 kB / 0.5254 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.321, allocations: 1.719 kB / 0.5254 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.321, allocations: 0 / 0.5254 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.758e-05/0.3211, allocations: 9.469 kB / 0.5255 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.712e-06/0.3211, allocations: 4.953 kB / 0.5255 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.333e-05/0.3211, allocations: 7.922 kB / 0.5255 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.3211, allocations: 1.156 kB / 0.5255 GB, free: 15.23 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 (2): * Single equations (assignments): 2 * 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.000195/0.3213, allocations: 217 kB / 0.5257 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.942e-05/0.3214, allocations: 41.69 kB / 0.5257 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002136/0.3216, allocations: 114.2 kB / 0.5258 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.3216, allocations: 0 / 0.5258 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.289e-06/0.3217, allocations: 1.406 kB / 0.5258 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.3217, allocations: 4.969 kB / 0.5258 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003157/0.322, allocations: 283.4 kB / 0.5261 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.322, allocations: 1.625 kB / 0.5261 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.608e-05/0.322, allocations: 4.203 kB / 0.5261 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.322, allocations: 1.688 kB / 0.5261 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.343e-06/0.3221, allocations: 0.7031 kB / 0.5261 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.3221, allocations: 0 / 0.5261 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.3221, allocations: 1.562 kB / 0.5261 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000211/0.3223, allocations: 200 kB / 0.5263 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.756e-05/0.3224, allocations: 111.7 kB / 0.5264 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.928e-05/0.3224, allocations: 5.281 kB / 0.5264 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.76e-05/0.3225, allocations: 3.969 kB / 0.5264 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.469e-05/0.3225, allocations: 6.078 kB / 0.5264 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.3226, allocations: 0 / 0.5264 GB, free: 14.48 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006469/0.3232, allocations: 0.6534 MB / 0.5271 GB, free: 14.17 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3232, allocations: 0 / 0.5271 GB, free: 14.17 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002481/0.3235, allocations: 18.88 kB / 0.5271 GB, free: 14.16 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 (2): * Single equations (assignments): 2 * 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.001082/0.3246, allocations: 0.9731 MB / 0.528 GB, free: 13.38 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001396/0.3247, allocations: 27.77 kB / 0.5281 GB, free: 13.37 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.3247, allocations: 0 / 0.5281 GB, free: 13.37 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.767e-05/0.3248, allocations: 16.48 kB / 0.5281 GB, free: 13.36 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000391/0.3252, allocations: 23.78 kB / 0.5281 GB, free: 13.35 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003432/0.3286, allocations: 3.138 MB / 0.5312 GB, free: 11.31 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003926/0.329, allocations: 0.8362 MB / 0.532 GB, free: 10.54 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.966e-05/0.3291, allocations: 11 kB / 0.532 GB, free: 10.53 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001257/0.3292, allocations: 115 kB / 0.5321 GB, free: 10.42 MB / 398.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3293, allocations: 0 / 0.5321 GB, free: 10.42 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02301/0.3523, allocations: 5.753 MB / 0.5377 GB, free: 7.496 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.207/8.56, allocations: 2.344 kB / 0.5377 GB, free: 7.496 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7_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_Test7.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches