Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.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.CombiTable1Ds.Test32,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test32,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test32",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.001247/0.001248, allocations: 118.4 kB / 17.78 MB, free: 5.258 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.001218/0.001218, 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.414/1.414, allocations: 222.9 MB / 242.4 MB, free: 15.08 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.2172/0.2172, allocations: 44.19 MB / 336.8 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001866/0.001866, allocations: 67.89 kB / 470.1 MB, free: 13.63 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3859/0.3877, allocations: 60.82 MB / 0.5185 GB, free: 3.301 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test32): time 0.004133/0.3919, allocations: 1.588 MB / 0.52 GB, free: 2.203 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008589/0.3928, allocations: 406 kB / 0.5204 GB, free: 1.938 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.79e-05/0.393, allocations: 1.188 kB / 0.5204 GB, free: 1.938 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003993/0.3934, allocations: 106.1 kB / 0.5205 GB, free: 1.918 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003211/0.3937, allocations: 77.75 kB / 0.5206 GB, free: 1.895 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003949/0.3941, allocations: 84.78 kB / 0.5207 GB, free: 1.852 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000258/0.3944, allocations: 83.25 kB / 0.5207 GB, free: 1.82 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001365/0.3945, allocations: 14.8 kB / 0.5207 GB, free: 1.816 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001102/0.3947, allocations: 46.25 kB / 0.5208 GB, free: 1.797 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001667/0.3948, allocations: 63.94 kB / 0.5209 GB, free: 1.781 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.336e-05/0.3949, allocations: 3.719 kB / 0.5209 GB, free: 1.781 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001733/0.395, allocations: 47.22 kB / 0.5209 GB, free: 1.766 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.309e-05/0.3951, allocations: 22.08 kB / 0.5209 GB, free: 1.758 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.57e-05/0.3952, allocations: 30.64 kB / 0.5209 GB, free: 1.734 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003254/0.3955, allocations: 116.5 kB / 0.5211 GB, free: 1.684 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.3955, allocations: 0 / 0.5211 GB, free: 1.684 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.787e-06/0.3955, allocations: 0.5625 kB / 0.5211 GB, free: 1.684 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.476e-06/0.3956, allocations: 0 / 0.5211 GB, free: 1.684 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.0006471/0.3962, allocations: 423.8 kB / 0.5215 GB, free: 1.266 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.215e-05/0.3963, allocations: 9.812 kB / 0.5215 GB, free: 1.266 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.396e-05/0.3963, allocations: 37.2 kB / 0.5215 GB, free: 1.223 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.469e-05/0.3964, allocations: 10.39 kB / 0.5215 GB, free: 1.219 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002365/0.3966, allocations: 203.3 kB / 0.5217 GB, free: 1 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.616e-05/0.3967, allocations: 9.875 kB / 0.5217 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.658e-05/0.3967, allocations: 6.75 kB / 0.5217 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001879/0.3969, allocations: 53.08 kB / 0.5218 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.797e-05/0.3969, allocations: 3.984 kB / 0.5218 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.3969, allocations: 4.703 kB / 0.5218 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.397, allocations: 1.188 kB / 0.5218 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001173/0.3971, allocations: 25.06 kB / 0.5218 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004756/0.3976, allocations: 305.1 kB / 0.5221 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001322/0.3977, allocations: 42.89 kB / 0.5221 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.595e-05/0.3978, allocations: 23.22 kB / 0.5222 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.238e-05/0.3978, allocations: 1.156 kB / 0.5222 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.438e-05/0.3978, allocations: 36.14 kB / 0.5222 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.573e-06/0.3978, allocations: 0 / 0.5222 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009697/0.3988, allocations: 223.8 kB / 0.5224 GB, free: 468 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.831e-05/0.3989, allocations: 57.09 kB / 0.5225 GB, free: 400 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002908/0.3992, allocations: 242.7 kB / 0.5227 GB, free: 252 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.386e-05/0.3992, allocations: 26.7 kB / 0.5227 GB, free: 220 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.263e-05/0.3993, allocations: 113.6 kB / 0.5228 GB, free: 112 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.034e-05/0.3993, allocations: 25.2 kB / 0.5229 GB, free: 92 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.461e-05/0.3993, allocations: 22.41 kB / 0.5229 GB, free: 72 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001936/0.3995, allocations: 322 kB / 0.5232 GB, free: 15.75 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.871e-05/0.3997, allocations: 34.61 kB / 0.5232 GB, free: 15.74 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.991e-05/0.3997, allocations: 24.09 kB / 0.5232 GB, free: 15.73 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001724/0.3999, allocations: 62.08 kB / 0.5233 GB, free: 15.71 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/0.3999, allocations: 1.094 kB / 0.5233 GB, free: 15.71 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002475/0.4002, allocations: 101.4 kB / 0.5234 GB, free: 15.65 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.4002, allocations: 10.41 kB / 0.5234 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.4002, allocations: 3.938 kB / 0.5234 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.4003, allocations: 5.562 kB / 0.5234 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001058/0.4004, allocations: 16.73 kB / 0.5234 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/0.4004, allocations: 3.938 kB / 0.5234 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.85e-05/0.4004, allocations: 5.828 kB / 0.5234 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.357e-06/0.4005, allocations: 2.219 kB / 0.5234 GB, free: 15.64 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 (8): * Single equations (assignments): 8 * 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.0001341/0.4006, allocations: 130.9 kB / 0.5236 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.335e-05/0.4006, allocations: 14.39 kB / 0.5236 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000304/0.401, allocations: 127.7 kB / 0.5237 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.401, allocations: 1.875 kB / 0.5237 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.01e-05/0.401, allocations: 4.734 kB / 0.5237 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.401, allocations: 3.938 kB / 0.5237 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000597/0.4016, allocations: 404.9 kB / 0.5241 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.4016, allocations: 8.625 kB / 0.5241 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.207e-05/0.4017, allocations: 17.14 kB / 0.5241 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/0.4017, allocations: 1.938 kB / 0.5241 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/0.4018, allocations: 5.281 kB / 0.5241 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.4018, allocations: 0 / 0.5241 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.4018, allocations: 1.906 kB / 0.5241 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002914/0.4021, allocations: 204.3 kB / 0.5243 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.973e-05/0.4021, allocations: 93.25 kB / 0.5244 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.145e-05/0.4022, allocations: 5.312 kB / 0.5244 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.134e-05/0.4022, allocations: 5.375 kB / 0.5244 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.938e-05/0.4023, allocations: 13.39 kB / 0.5244 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-06/0.4023, allocations: 2.062 kB / 0.5244 GB, free: 14.78 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002118/0.4025, allocations: 184.1 kB / 0.5246 GB, free: 14.68 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4025, allocations: 0 / 0.5246 GB, free: 14.68 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002694/0.4028, allocations: 19.92 kB / 0.5246 GB, free: 14.67 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.00233/0.4052, allocations: 1.1 MB / 0.5257 GB, free: 13.84 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002453/0.4054, allocations: 64.86 kB / 0.5258 GB, free: 13.82 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.4054, allocations: 0 / 0.5258 GB, free: 13.82 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.59e-05/0.4055, allocations: 38.5 kB / 0.5258 GB, free: 13.81 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004434/0.406, allocations: 21.47 kB / 0.5258 GB, free: 13.8 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002276/0.4083, allocations: 1.72 MB / 0.5275 GB, free: 12.45 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000351/0.4086, allocations: 0.709 MB / 0.5282 GB, free: 11.75 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.605e-05/0.4087, allocations: 18.14 kB / 0.5282 GB, free: 11.74 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.375e-05/0.4088, allocations: 36.42 kB / 0.5283 GB, free: 11.71 MB / 398.1 MB Notification: Performance of SimCode: time 3.71e-07/0.4088, allocations: 3.938 kB / 0.5283 GB, free: 11.71 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02587/0.4347, allocations: 3.197 MB / 0.5314 GB, free: 10.29 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.854/8.288, allocations: 10.19 kB / 0.5314 GB, free: 10.28 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32_res.csv --start-time 7.99 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004804 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test32.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test32/Test32.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches