Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.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.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test24",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.001352/0.001352, allocations: 113.8 kB / 17.78 MB, free: 5.281 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.001344/0.001345, allocations: 179.9 kB / 18.71 MB, free: 4.363 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.412/1.412, allocations: 222.9 MB / 242.4 MB, free: 15.14 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.215/0.215, allocations: 44.19 MB / 336.8 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001847/0.001847, allocations: 67.89 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3631/0.365, allocations: 60.83 MB / 0.5185 GB, free: 3.305 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test24): time 0.002878/0.3679, allocations: 1.637 MB / 0.5201 GB, free: 2.172 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007007/0.3686, allocations: 447.5 kB / 0.5205 GB, free: 1.879 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.574e-05/0.3687, allocations: 1.031 kB / 0.5205 GB, free: 1.879 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002403/0.369, allocations: 56.61 kB / 0.5205 GB, free: 1.855 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001849/0.3692, allocations: 47.27 kB / 0.5206 GB, free: 1.836 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003888/0.3696, allocations: 174.8 kB / 0.5208 GB, free: 1.75 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001501/0.3697, allocations: 82.44 kB / 0.5208 GB, free: 1.715 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.3698, allocations: 25.52 kB / 0.5209 GB, free: 1.703 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.566e-05/0.3699, allocations: 34.78 kB / 0.5209 GB, free: 1.688 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.117e-05/0.37, allocations: 38.89 kB / 0.5209 GB, free: 1.672 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.815e-05/0.37, allocations: 4.625 kB / 0.5209 GB, free: 1.672 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001039/0.3701, allocations: 47.72 kB / 0.521 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.89e-05/0.3702, allocations: 20.92 kB / 0.521 GB, free: 1.652 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.871e-05/0.3702, allocations: 30.56 kB / 0.521 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002027/0.3705, allocations: 112.4 kB / 0.5211 GB, free: 1.582 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.3705, allocations: 1.953 kB / 0.5211 GB, free: 1.582 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.3705, allocations: 4 kB / 0.5211 GB, free: 1.578 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.151e-06/0.3705, allocations: 3.938 kB / 0.5211 GB, free: 1.574 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004733/0.371, allocations: 410.7 kB / 0.5215 GB, free: 1.172 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.371, allocations: 8.781 kB / 0.5215 GB, free: 1.172 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.207e-05/0.371, allocations: 34.36 kB / 0.5216 GB, free: 1.133 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.534e-05/0.3711, allocations: 17.41 kB / 0.5216 GB, free: 1.121 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000154/0.3712, allocations: 201.9 kB / 0.5218 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.3713, allocations: 6.344 kB / 0.5218 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.108e-05/0.3713, allocations: 7.297 kB / 0.5218 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001761/0.3715, allocations: 74.17 kB / 0.5219 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.3715, allocations: 1 kB / 0.5219 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.346e-06/0.3715, allocations: 0 / 0.5219 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.3715, allocations: 1 kB / 0.5219 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001517/0.3717, allocations: 46.91 kB / 0.5219 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003885/0.3721, allocations: 319.5 kB / 0.5222 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002313/0.3723, allocations: 56.28 kB / 0.5223 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.797e-05/0.3724, allocations: 34.7 kB / 0.5223 GB, free: 500 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.325e-05/0.3724, allocations: 1.969 kB / 0.5223 GB, free: 500 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.374e-05/0.3725, allocations: 32.39 kB / 0.5223 GB, free: 460 kB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.383e-06/0.3725, allocations: 4 kB / 0.5223 GB, free: 456 kB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.001485/0.374, allocations: 424.6 kB / 0.5227 GB, free: 320 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.856e-05/0.374, allocations: 53.44 kB / 0.5228 GB, free: 256 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001532/0.3742, allocations: 174.1 kB / 0.523 GB, free: 128 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.04e-05/0.3742, allocations: 26.83 kB / 0.523 GB, free: 96 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.755e-05/0.3742, allocations: 111.9 kB / 0.5231 GB, free: 15.98 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.042e-05/0.3743, allocations: 39.75 kB / 0.5231 GB, free: 15.96 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.455e-05/0.3744, allocations: 28.23 kB / 0.5232 GB, free: 15.93 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001674/0.3745, allocations: 322.1 kB / 0.5235 GB, free: 15.62 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001461/0.3747, allocations: 50.53 kB / 0.5235 GB, free: 15.61 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00014/0.3748, allocations: 60.84 kB / 0.5236 GB, free: 15.59 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002926/0.3751, allocations: 122.2 kB / 0.5237 GB, free: 15.54 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.3751, allocations: 0 / 0.5237 GB, free: 15.54 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003577/0.3755, allocations: 165 kB / 0.5238 GB, free: 15.47 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.3755, allocations: 9.562 kB / 0.5239 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.3755, allocations: 0 / 0.5239 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.3756, allocations: 5.812 kB / 0.5239 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001216/0.3757, allocations: 33.16 kB / 0.5239 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.3757, allocations: 1.953 kB / 0.5239 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.447e-05/0.3758, allocations: 8.375 kB / 0.5239 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.3758, allocations: 3.609 kB / 0.5239 GB, free: 15.45 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 (11): * Single equations (assignments): 11 * 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.0001229/0.3759, allocations: 126.2 kB / 0.524 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.008e-05/0.376, allocations: 18.06 kB / 0.524 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004505/0.3764, allocations: 194.5 kB / 0.5242 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.3764, allocations: 2.297 kB / 0.5242 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-05/0.3765, allocations: 4 kB / 0.5242 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.3765, allocations: 10.3 kB / 0.5242 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007927/0.3773, allocations: 498.2 kB / 0.5247 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.3773, allocations: 1.312 kB / 0.5247 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001039/0.3774, allocations: 29 kB / 0.5247 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.3774, allocations: 1.656 kB / 0.5247 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.575e-05/0.3774, allocations: 6.281 kB / 0.5248 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/0.3774, allocations: 2.953 kB / 0.5248 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.3774, allocations: 0 / 0.5248 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004226/0.3779, allocations: 275.6 kB / 0.525 GB, free: 14.63 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.083e-05/0.3779, allocations: 89.97 kB / 0.5251 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.477e-05/0.378, allocations: 5.891 kB / 0.5251 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.489e-05/0.3781, allocations: 9.781 kB / 0.5251 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.428e-05/0.3781, allocations: 17.53 kB / 0.5251 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.696e-06/0.3782, allocations: 2.75 kB / 0.5251 GB, free: 14.52 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001308/0.3783, allocations: 133.8 kB / 0.5253 GB, free: 14.43 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3783, allocations: 0 / 0.5253 GB, free: 14.43 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002719/0.3786, allocations: 32.05 kB / 0.5253 GB, free: 14.42 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.002354/0.3809, allocations: 1.155 MB / 0.5264 GB, free: 13.57 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003953/0.3813, allocations: 126.6 kB / 0.5265 GB, free: 13.54 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.716e-06/0.3814, allocations: 1.281 kB / 0.5265 GB, free: 13.54 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001734/0.3815, allocations: 69.97 kB / 0.5266 GB, free: 13.52 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004251/0.382, allocations: 19.75 kB / 0.5266 GB, free: 13.52 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002564/0.3845, allocations: 1.869 MB / 0.5285 GB, free: 12.07 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000428/0.385, allocations: 0.7162 MB / 0.5292 GB, free: 11.37 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001135/0.3851, allocations: 35 kB / 0.5292 GB, free: 11.36 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.126e-05/0.3852, allocations: 35.53 kB / 0.5292 GB, free: 11.34 MB / 398.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3852, allocations: 0 / 0.5292 GB, free: 11.34 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02584/0.4111, allocations: 3.374 MB / 0.5325 GB, free: 9.617 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.944/8.356, allocations: 6.391 kB / 0.5325 GB, free: 9.613 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test24.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches