Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_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.001374/0.001374, allocations: 118.4 kB / 17.78 MB, free: 5.262 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.001728/0.001728, allocations: 183 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.363/1.363, allocations: 222.9 MB / 242.4 MB, free: 15.17 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.208/0.208, allocations: 44.19 MB / 336.8 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001863/0.001864, allocations: 67.88 kB / 470.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3742/0.3761, allocations: 60.83 MB / 0.5184 GB, free: 3.285 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test8): time 0.002877/0.379, allocations: 1.569 MB / 0.52 GB, free: 2.203 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007867/0.3798, allocations: 403.5 kB / 0.5204 GB, free: 1.941 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.443e-05/0.3799, allocations: 1.031 kB / 0.5204 GB, free: 1.941 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006694/0.3806, allocations: 448.9 kB / 0.5208 GB, free: 1.918 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004289/0.381, allocations: 249.1 kB / 0.521 GB, free: 1.895 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003458/0.3814, allocations: 134.3 kB / 0.5212 GB, free: 1.824 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002421/0.3816, allocations: 146.7 kB / 0.5213 GB, free: 1.805 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001184/0.3817, allocations: 16.48 kB / 0.5213 GB, free: 1.797 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001424/0.3819, allocations: 109.7 kB / 0.5214 GB, free: 1.781 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002605/0.3822, allocations: 205 kB / 0.5216 GB, free: 1.762 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.031e-05/0.3822, allocations: 2.969 kB / 0.5216 GB, free: 1.762 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.059e-05/0.3823, allocations: 23.28 kB / 0.5216 GB, free: 1.754 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001044/0.3824, allocations: 80.66 kB / 0.5217 GB, free: 1.727 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.78e-05/0.3824, allocations: 99.14 kB / 0.5218 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000322/0.3828, allocations: 246.8 kB / 0.522 GB, free: 1.539 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.3828, allocations: 1.062 kB / 0.522 GB, free: 1.539 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.3828, allocations: 4 kB / 0.522 GB, free: 1.535 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.06e-05/0.3828, allocations: 0 / 0.522 GB, free: 1.535 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.0006596/0.3835, allocations: 0.6432 MB / 0.5227 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.3835, allocations: 9.375 kB / 0.5227 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.905e-05/0.3836, allocations: 31.45 kB / 0.5227 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.326e-05/0.3836, allocations: 47.47 kB / 0.5228 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002371/0.3839, allocations: 295.1 kB / 0.523 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.3839, allocations: 8.359 kB / 0.523 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.249e-05/0.3839, allocations: 3.062 kB / 0.5231 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001296/0.384, allocations: 55.84 kB / 0.5231 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.3841, allocations: 0 / 0.5231 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.3841, allocations: 4 kB / 0.5231 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.124e-05/0.3841, allocations: 1.75 kB / 0.5231 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.359e-05/0.3842, allocations: 20.25 kB / 0.5231 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004166/0.3846, allocations: 380.9 kB / 0.5235 GB, free: 240 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.364e-05/0.3847, allocations: 38.25 kB / 0.5235 GB, free: 204 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.213e-05/0.3848, allocations: 15.94 kB / 0.5235 GB, free: 192 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.234e-05/0.3848, allocations: 1.875 kB / 0.5235 GB, free: 192 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.737e-05/0.3848, allocations: 32.25 kB / 0.5236 GB, free: 152 kB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.3848, allocations: 0 / 0.5236 GB, free: 152 kB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002709/0.3851, allocations: 99.09 kB / 0.5237 GB, free: 88 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.641e-05/0.3851, allocations: 59.25 kB / 0.5237 GB, free: 20 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001119/0.3863, allocations: 0.8574 MB / 0.5246 GB, free: 15.7 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.485e-05/0.3863, allocations: 25.7 kB / 0.5246 GB, free: 15.67 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001989/0.3865, allocations: 223.4 kB / 0.5248 GB, free: 15.49 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.242e-05/0.3865, allocations: 12.59 kB / 0.5248 GB, free: 15.48 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.071e-05/0.3866, allocations: 13.14 kB / 0.5248 GB, free: 15.46 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001728/0.3868, allocations: 369.3 kB / 0.5252 GB, free: 15.12 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.056e-05/0.3868, allocations: 9.828 kB / 0.5252 GB, free: 15.12 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.628e-05/0.3869, allocations: 7.328 kB / 0.5252 GB, free: 15.12 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.691e-05/0.3869, allocations: 24.5 kB / 0.5252 GB, free: 15.11 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.3869, allocations: 0 / 0.5252 GB, free: 15.11 MB / 398.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001754/0.3871, allocations: 92.86 kB / 0.5253 GB, free: 15.05 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.3872, allocations: 6.641 kB / 0.5253 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.3872, allocations: 1.375 kB / 0.5253 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.3872, allocations: 4.094 kB / 0.5253 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.487e-05/0.3873, allocations: 4.828 kB / 0.5253 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.938e-06/0.3873, allocations: 6.062 kB / 0.5253 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.055e-05/0.3873, allocations: 2.125 kB / 0.5253 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.3874, allocations: 1.375 kB / 0.5253 GB, free: 15.04 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.0002034/0.3876, allocations: 215.3 kB / 0.5255 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.832e-05/0.3876, allocations: 42.16 kB / 0.5256 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002317/0.3879, allocations: 111.3 kB / 0.5257 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.3879, allocations: 0.6562 kB / 0.5257 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.3879, allocations: 0 / 0.5257 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.3879, allocations: 1.375 kB / 0.5257 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000402/0.3883, allocations: 286.4 kB / 0.526 GB, free: 14.58 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.3883, allocations: 0 / 0.526 GB, free: 14.58 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.355e-05/0.3884, allocations: 5.016 kB / 0.526 GB, free: 14.58 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.3884, allocations: 2.219 kB / 0.526 GB, free: 14.58 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-06/0.3884, allocations: 3.938 kB / 0.526 GB, free: 14.58 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.3884, allocations: 1.375 kB / 0.526 GB, free: 14.58 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.3884, allocations: 3.938 kB / 0.526 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002089/0.3886, allocations: 190.2 kB / 0.5262 GB, free: 14.41 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001442/0.3888, allocations: 115 kB / 0.5263 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.896e-05/0.3888, allocations: 2.172 kB / 0.5263 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.927e-05/0.3889, allocations: 7.312 kB / 0.5263 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.709e-05/0.3889, allocations: 1.266 kB / 0.5263 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-06/0.3889, allocations: 1.375 kB / 0.5263 GB, free: 14.29 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007762/0.3897, allocations: 0.6539 MB / 0.5269 GB, free: 14.04 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3897, allocations: 1.375 kB / 0.5269 GB, free: 14.04 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002662/0.39, allocations: 22.67 kB / 0.5269 GB, free: 14.03 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.001354/0.3914, allocations: 0.9598 MB / 0.5279 GB, free: 13.25 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001453/0.3915, allocations: 21.2 kB / 0.5279 GB, free: 13.25 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.3915, allocations: 0 / 0.5279 GB, free: 13.25 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.701e-05/0.3916, allocations: 15.27 kB / 0.5279 GB, free: 13.24 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004176/0.392, allocations: 23.75 kB / 0.5279 GB, free: 13.23 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003575/0.3956, allocations: 3.118 MB / 0.531 GB, free: 11.2 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005735/0.3962, allocations: 0.8237 MB / 0.5318 GB, free: 10.43 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.883e-05/0.3963, allocations: 12.38 kB / 0.5318 GB, free: 10.42 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002021/0.3965, allocations: 106.8 kB / 0.5319 GB, free: 10.32 MB / 398.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3965, allocations: 0 / 0.5319 GB, free: 10.32 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02293/0.4194, allocations: 5.702 MB / 0.5375 GB, free: 7.418 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.236/8.656, allocations: 6.062 kB / 0.5375 GB, free: 7.414 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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_CombiTable2Ds_Test8.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches