Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.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.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test8",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.001206/0.001206, allocations: 118.4 kB / 17.79 MB, free: 5.254 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.001117/0.001117, allocations: 183.8 kB / 18.72 MB, free: 4.332 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.382/1.382, 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.2582/0.2582, allocations: 44.2 MB / 336.8 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001344, allocations: 63.89 kB / 470 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3145/0.3159, allocations: 60.83 MB / 0.5184 GB, free: 3.301 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test8): time 0.00343/0.3194, allocations: 1.581 MB / 0.52 GB, free: 2.203 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007946/0.3202, allocations: 430.5 kB / 0.5204 GB, free: 1.926 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.211e-05/0.3203, allocations: 1.281 kB / 0.5204 GB, free: 1.926 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006886/0.321, allocations: 454 kB / 0.5208 GB, free: 1.898 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004487/0.3215, allocations: 253 kB / 0.5211 GB, free: 1.871 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004656/0.322, allocations: 168.5 kB / 0.5212 GB, free: 1.789 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000342/0.3223, allocations: 155.6 kB / 0.5214 GB, free: 1.766 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001212/0.3224, allocations: 12.73 kB / 0.5214 GB, free: 1.762 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002463/0.3227, allocations: 110.3 kB / 0.5215 GB, free: 1.746 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002929/0.323, allocations: 205.8 kB / 0.5217 GB, free: 1.727 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.201e-05/0.323, allocations: 7.219 kB / 0.5217 GB, free: 1.723 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.171e-05/0.3231, allocations: 23.05 kB / 0.5217 GB, free: 1.715 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001065/0.3232, allocations: 82.33 kB / 0.5218 GB, free: 1.688 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.366e-05/0.3233, allocations: 99.14 kB / 0.5219 GB, free: 1.605 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000364/0.3237, allocations: 254.1 kB / 0.5221 GB, free: 1.496 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.3237, allocations: 0 / 0.5221 GB, free: 1.496 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.3237, allocations: 1.188 kB / 0.5221 GB, free: 1.496 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.192e-05/0.3237, allocations: 0 / 0.5221 GB, free: 1.496 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.0007746/0.3245, allocations: 0.6507 MB / 0.5228 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.3246, allocations: 8.938 kB / 0.5228 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.805e-05/0.3246, allocations: 37.12 kB / 0.5228 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.96e-05/0.3247, allocations: 41.66 kB / 0.5228 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002565/0.3249, allocations: 303.8 kB / 0.5231 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/0.325, allocations: 7.094 kB / 0.5231 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.668e-06/0.325, allocations: 384 / 0.5231 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001425/0.3251, allocations: 58.73 kB / 0.5232 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.3251, allocations: 0 / 0.5232 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.3252, allocations: 1.188 kB / 0.5232 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.3252, allocations: 0 / 0.5232 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.52e-05/0.3253, allocations: 29.03 kB / 0.5232 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004976/0.3258, allocations: 390 kB / 0.5236 GB, free: 192 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.958e-05/0.3259, allocations: 31.41 kB / 0.5236 GB, free: 164 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.688e-05/0.3259, allocations: 14.88 kB / 0.5236 GB, free: 156 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.014e-05/0.3259, allocations: 3.938 kB / 0.5237 GB, free: 152 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.848e-05/0.326, allocations: 36.31 kB / 0.5237 GB, free: 108 kB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.326, allocations: 0 / 0.5237 GB, free: 108 kB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002693/0.3263, allocations: 104.4 kB / 0.5238 GB, free: 44 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.504e-05/0.3263, allocations: 51.41 kB / 0.5238 GB, free: 15.98 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009408/0.3273, allocations: 0.8697 MB / 0.5247 GB, free: 15.66 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.552e-05/0.3273, allocations: 25.7 kB / 0.5247 GB, free: 15.62 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001707/0.3275, allocations: 228 kB / 0.5249 GB, free: 15.44 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.482e-05/0.3275, allocations: 0 / 0.5249 GB, free: 15.44 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.076e-05/0.3275, allocations: 13.08 kB / 0.5249 GB, free: 15.43 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.3277, allocations: 370.8 kB / 0.5253 GB, free: 15.09 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.569e-05/0.3277, allocations: 7.797 kB / 0.5253 GB, free: 15.09 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.668e-05/0.3278, allocations: 13.3 kB / 0.5253 GB, free: 15.08 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.864e-05/0.3279, allocations: 29.92 kB / 0.5253 GB, free: 15.07 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.3279, allocations: 0 / 0.5253 GB, free: 15.07 MB / 398.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001651/0.328, allocations: 100.9 kB / 0.5254 GB, free: 15 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.3281, allocations: 10.3 kB / 0.5254 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.3281, allocations: 0 / 0.5254 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.3281, allocations: 0 / 0.5254 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.135e-05/0.3282, allocations: 5.391 kB / 0.5255 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.3282, allocations: 2.172 kB / 0.5255 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.53e-05/0.3282, allocations: 3.453 kB / 0.5255 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.161e-06/0.3282, allocations: 0 / 0.5255 GB, free: 15 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.000189/0.3284, allocations: 217.2 kB / 0.5257 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.871e-05/0.3285, allocations: 41.59 kB / 0.5257 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002087/0.3287, allocations: 115.1 kB / 0.5258 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.3287, allocations: 0 / 0.5258 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.3287, allocations: 1.375 kB / 0.5258 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.3287, allocations: 0 / 0.5258 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003586/0.3291, allocations: 287.5 kB / 0.5261 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.3291, allocations: 2.172 kB / 0.5261 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.565e-05/0.3292, allocations: 4.922 kB / 0.5261 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.3292, allocations: 0.6562 kB / 0.5261 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.54e-06/0.3292, allocations: 0 / 0.5261 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.3292, allocations: 9.344 kB / 0.5261 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.3292, allocations: 4.734 kB / 0.5261 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001917/0.3294, allocations: 191.3 kB / 0.5263 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001127/0.3295, allocations: 117.1 kB / 0.5264 GB, free: 14.24 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.679e-05/0.3295, allocations: 1.312 kB / 0.5264 GB, free: 14.24 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.608e-05/0.3296, allocations: 2.562 kB / 0.5264 GB, free: 14.24 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.707e-05/0.3297, allocations: 6.125 kB / 0.5264 GB, free: 14.24 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.507e-06/0.3297, allocations: 1.312 kB / 0.5264 GB, free: 14.24 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006636/0.3303, allocations: 0.655 MB / 0.5271 GB, free: 13.96 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3303, allocations: 0 / 0.5271 GB, free: 13.96 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002664/0.3306, allocations: 26.72 kB / 0.5271 GB, free: 13.95 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.001096/0.3317, allocations: 0.9681 MB / 0.528 GB, free: 13.17 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001398/0.3319, allocations: 21.92 kB / 0.528 GB, free: 13.16 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3319, allocations: 5.125 kB / 0.5281 GB, free: 13.16 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.559e-05/0.3319, allocations: 11.8 kB / 0.5281 GB, free: 13.16 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00039/0.3323, allocations: 30.64 kB / 0.5281 GB, free: 13.14 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003514/0.3359, allocations: 3.148 MB / 0.5312 GB, free: 11.1 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004858/0.3364, allocations: 0.8208 MB / 0.532 GB, free: 10.33 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.465e-05/0.3365, allocations: 20.42 kB / 0.532 GB, free: 10.32 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000135/0.3366, allocations: 105.8 kB / 0.5321 GB, free: 10.22 MB / 398.1 MB Notification: Performance of SimCode: time 6.71e-07/0.3366, allocations: 4 kB / 0.5321 GB, free: 10.21 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02593/0.3626, allocations: 5.747 MB / 0.5377 GB, free: 7.293 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.331/8.693, allocations: 5.875 kB / 0.5377 GB, free: 7.293 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8_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_Test8.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches