Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.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.CombiTable1Dv.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test21",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.001249/0.001249, 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.001313/0.001313, 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.4/1.4, 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.2136/0.2136, allocations: 44.18 MB / 336.8 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002983/0.002983, allocations: 63.91 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3686/0.3716, allocations: 60.83 MB / 0.5185 GB, free: 3.285 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test21): time 0.00248/0.3741, allocations: 1.558 MB / 0.52 GB, free: 2.207 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001193/0.3753, allocations: 1.036 MB / 0.521 GB, free: 1.473 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.038e-05/0.3754, allocations: 0 / 0.521 GB, free: 1.473 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002087/0.3756, allocations: 20.77 kB / 0.521 GB, free: 1.461 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001799/0.3758, allocations: 37.56 kB / 0.521 GB, free: 1.441 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002837/0.3761, allocations: 118.4 kB / 0.5212 GB, free: 1.379 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001322/0.3762, allocations: 60.27 kB / 0.5212 GB, free: 1.352 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.715e-05/0.3763, allocations: 12.42 kB / 0.5212 GB, free: 1.348 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.668e-05/0.3764, allocations: 27.7 kB / 0.5212 GB, free: 1.332 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001356/0.3765, allocations: 25.3 kB / 0.5213 GB, free: 1.32 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.901e-05/0.3765, allocations: 3.5 kB / 0.5213 GB, free: 1.32 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001065/0.3767, allocations: 53.41 kB / 0.5213 GB, free: 1.301 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.324e-05/0.3767, allocations: 12.86 kB / 0.5213 GB, free: 1.293 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.241e-05/0.3767, allocations: 21.88 kB / 0.5214 GB, free: 1.277 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001844/0.3769, allocations: 85.91 kB / 0.5214 GB, free: 1.246 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.3769, allocations: 0.7031 kB / 0.5214 GB, free: 1.246 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.377, allocations: 1.125 kB / 0.5214 GB, free: 1.246 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.377, allocations: 0 / 0.5214 GB, free: 1.246 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.0003994/0.3774, allocations: 378.5 kB / 0.5218 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.3774, allocations: 13.91 kB / 0.5218 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.481e-05/0.3774, allocations: 39.69 kB / 0.5219 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.858e-05/0.3775, allocations: 8.359 kB / 0.5219 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001581/0.3776, allocations: 190.2 kB / 0.522 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.013e-06/0.3777, allocations: 2.125 kB / 0.522 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.217e-05/0.3777, allocations: 2.781 kB / 0.522 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001413/0.3778, allocations: 74.47 kB / 0.5221 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.3778, allocations: 3.953 kB / 0.5221 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.918e-06/0.3779, allocations: 1.094 kB / 0.5221 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.3779, allocations: 0 / 0.5221 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.174e-05/0.378, allocations: 28.41 kB / 0.5222 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003027/0.3783, allocations: 275.7 kB / 0.5224 GB, free: 240 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002137/0.3785, allocations: 45.73 kB / 0.5225 GB, free: 208 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.049e-05/0.3786, allocations: 18.23 kB / 0.5225 GB, free: 196 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.881e-05/0.3786, allocations: 8.984 kB / 0.5225 GB, free: 188 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.487e-05/0.3786, allocations: 32.39 kB / 0.5225 GB, free: 148 kB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.183e-06/0.3786, allocations: 0 / 0.5225 GB, free: 148 kB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005665/0.3792, allocations: 143.5 kB / 0.5227 GB, free: 84 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.895e-05/0.3793, allocations: 78.23 kB / 0.5227 GB, free: 15.99 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001538/0.3794, allocations: 139.1 kB / 0.5229 GB, free: 15.87 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.781e-05/0.3794, allocations: 26.7 kB / 0.5229 GB, free: 15.84 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.164e-05/0.3795, allocations: 96.48 kB / 0.523 GB, free: 15.75 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.06e-05/0.3795, allocations: 11.55 kB / 0.523 GB, free: 15.74 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.006e-05/0.3796, allocations: 19.86 kB / 0.523 GB, free: 15.72 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.3797, allocations: 322.2 kB / 0.5233 GB, free: 15.4 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.688e-05/0.3798, allocations: 20.48 kB / 0.5233 GB, free: 15.39 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.489e-05/0.3799, allocations: 37.98 kB / 0.5234 GB, free: 15.37 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001458/0.3801, allocations: 51.44 kB / 0.5234 GB, free: 15.35 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.3801, allocations: 0 / 0.5234 GB, free: 15.35 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002121/0.3803, allocations: 93.03 kB / 0.5235 GB, free: 15.3 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.3803, allocations: 5.5 kB / 0.5235 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.3803, allocations: 1.281 kB / 0.5235 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.3804, allocations: 0 / 0.5235 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.747e-05/0.3804, allocations: 16.2 kB / 0.5235 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.3805, allocations: 5.766 kB / 0.5235 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.339e-05/0.3805, allocations: 4.719 kB / 0.5235 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.398e-06/0.3805, allocations: 5.344 kB / 0.5235 GB, free: 15.29 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 (5): * Single equations (assignments): 5 * 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 8.855e-05/0.3806, allocations: 116 kB / 0.5237 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.141e-05/0.3807, allocations: 7.516 kB / 0.5237 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002435/0.3809, allocations: 101.3 kB / 0.5238 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.3809, allocations: 5.5 kB / 0.5238 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.3809, allocations: 0 / 0.5238 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.3809, allocations: 0.6562 kB / 0.5238 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004653/0.3814, allocations: 353.6 kB / 0.5241 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.3814, allocations: 0.6562 kB / 0.5241 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.471e-05/0.3815, allocations: 16.73 kB / 0.5241 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.3815, allocations: 0 / 0.5241 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.743e-06/0.3815, allocations: 1.469 kB / 0.5241 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.3815, allocations: 8.781 kB / 0.5241 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3815, allocations: 0 / 0.5241 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002374/0.3818, allocations: 181.7 kB / 0.5243 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.452e-05/0.3818, allocations: 83.55 kB / 0.5244 GB, free: 14.51 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.831e-05/0.3818, allocations: 1.5 kB / 0.5244 GB, free: 14.51 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.26e-05/0.3819, allocations: 8.578 kB / 0.5244 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.457e-05/0.382, allocations: 8.219 kB / 0.5244 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.58e-06/0.382, allocations: 2.094 kB / 0.5244 GB, free: 14.5 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.691e-05/0.3821, allocations: 102.1 kB / 0.5245 GB, free: 14.42 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3821, allocations: 1.156 kB / 0.5245 GB, free: 14.42 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002742/0.3823, allocations: 24.5 kB / 0.5245 GB, free: 14.41 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 (5): * Single equations (assignments): 5 * 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.002012/0.3844, allocations: 1.055 MB / 0.5256 GB, free: 13.61 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002347/0.3846, allocations: 53.41 kB / 0.5256 GB, free: 13.6 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3846, allocations: 7.938 kB / 0.5256 GB, free: 13.59 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.162e-05/0.3847, allocations: 26.05 kB / 0.5256 GB, free: 13.59 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003729/0.3851, allocations: 24.58 kB / 0.5257 GB, free: 13.58 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001667/0.3868, allocations: 1.408 MB / 0.527 GB, free: 12.33 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003329/0.3871, allocations: 0.6919 MB / 0.5277 GB, free: 11.63 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.636e-05/0.3872, allocations: 23.75 kB / 0.5277 GB, free: 11.62 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.707e-05/0.3873, allocations: 25.33 kB / 0.5278 GB, free: 11.61 MB / 398.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3873, allocations: 0 / 0.5278 GB, free: 11.61 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0258/0.4131, allocations: 2.76 MB / 0.5305 GB, free: 10.43 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.902/8.315, allocations: 13.2 kB / 0.5305 GB, free: 10.42 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test21.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches