Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.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.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test23",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.001088/0.001093, 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.001164/0.001164, 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.388/1.388, 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.2112/0.2112, allocations: 44.19 MB / 336.8 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 63.89 kB / 470.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3512/0.3525, allocations: 60.82 MB / 0.5184 GB, free: 3.164 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test23): time 0.003212/0.3557, allocations: 2.04 MB / 0.5204 GB, free: 1.734 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001883/0.3576, allocations: 1.154 MB / 0.5216 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001159/0.3578, allocations: 3.625 kB / 0.5216 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002697/0.3581, allocations: 55.89 kB / 0.5216 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003582/0.3584, allocations: 154.3 kB / 0.5218 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00122/0.3597, allocations: 0.5936 MB / 0.5223 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005061/0.3602, allocations: 308.5 kB / 0.5226 GB, free: 452 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002119/0.3604, allocations: 74.95 kB / 0.5227 GB, free: 412 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002539/0.3607, allocations: 132.5 kB / 0.5228 GB, free: 360 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002889/0.361, allocations: 198.4 kB / 0.523 GB, free: 292 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.232e-05/0.361, allocations: 14.38 kB / 0.523 GB, free: 292 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001738/0.3612, allocations: 62.12 kB / 0.5231 GB, free: 276 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001959/0.3614, allocations: 143 kB / 0.5232 GB, free: 228 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001591/0.3616, allocations: 186.2 kB / 0.5234 GB, free: 88 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005808/0.3622, allocations: 412.2 kB / 0.5238 GB, free: 15.92 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.3622, allocations: 0 / 0.5238 GB, free: 15.92 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3622, allocations: 5.781 kB / 0.5238 GB, free: 15.92 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.466e-06/0.3622, allocations: 0 / 0.5238 GB, free: 15.92 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.00124/0.3635, allocations: 0.8211 MB / 0.5246 GB, free: 15.26 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.3635, allocations: 9.625 kB / 0.5246 GB, free: 15.26 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.295e-05/0.3636, allocations: 44.22 kB / 0.5247 GB, free: 15.21 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001005/0.3637, allocations: 62.69 kB / 0.5247 GB, free: 15.18 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006489/0.3643, allocations: 467.5 kB / 0.5252 GB, free: 14.86 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.717e-05/0.3644, allocations: 8.688 kB / 0.5252 GB, free: 14.85 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.161e-05/0.3644, allocations: 21.61 kB / 0.5252 GB, free: 14.84 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003897/0.3648, allocations: 161.3 kB / 0.5253 GB, free: 14.75 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.643e-05/0.3649, allocations: 1.844 kB / 0.5253 GB, free: 14.75 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.866e-05/0.3649, allocations: 5.312 kB / 0.5253 GB, free: 14.75 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.3649, allocations: 1.375 kB / 0.5254 GB, free: 14.75 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003492/0.3652, allocations: 119.8 kB / 0.5255 GB, free: 14.72 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001257/0.3665, allocations: 0.7189 MB / 0.5262 GB, free: 14.25 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003085/0.3668, allocations: 138.1 kB / 0.5263 GB, free: 14.18 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001718/0.367, allocations: 67.84 kB / 0.5264 GB, free: 14.14 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.481e-05/0.3671, allocations: 3.094 kB / 0.5264 GB, free: 14.14 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.777e-05/0.3671, allocations: 40.45 kB / 0.5264 GB, free: 14.1 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.443e-06/0.3671, allocations: 1.344 kB / 0.5264 GB, free: 14.1 MB / 398.1 MB Notification: Performance of matching and sorting (n=20): time 0.0023/0.3694, allocations: 0.7551 MB / 0.5271 GB, free: 13.73 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.198e-05/0.3695, allocations: 79.86 kB / 0.5272 GB, free: 13.64 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00119/0.3707, allocations: 0.8869 MB / 0.5281 GB, free: 13.23 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.004e-05/0.3707, allocations: 30.7 kB / 0.5281 GB, free: 13.19 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002133/0.3709, allocations: 257.2 kB / 0.5284 GB, free: 12.96 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.512e-05/0.371, allocations: 76.12 kB / 0.5284 GB, free: 12.9 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.794e-05/0.3711, allocations: 39.64 kB / 0.5285 GB, free: 12.87 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001941/0.3713, allocations: 382.3 kB / 0.5288 GB, free: 12.5 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003051/0.3716, allocations: 106.7 kB / 0.5289 GB, free: 12.46 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003076/0.3719, allocations: 125.5 kB / 0.5291 GB, free: 12.39 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006238/0.3726, allocations: 258 kB / 0.5293 GB, free: 12.26 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.3726, allocations: 0 / 0.5293 GB, free: 12.26 MB / 398.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0008042/0.3734, allocations: 342 kB / 0.5296 GB, free: 12.08 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/0.3734, allocations: 5.594 kB / 0.5296 GB, free: 12.08 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.3734, allocations: 0.9688 kB / 0.5296 GB, free: 12.08 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.968e-05/0.3735, allocations: 0.75 kB / 0.5296 GB, free: 12.08 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003057/0.3738, allocations: 55.3 kB / 0.5297 GB, free: 12.06 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.149e-05/0.3738, allocations: 5.547 kB / 0.5297 GB, free: 12.06 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002193/0.374, allocations: 29.89 kB / 0.5297 GB, free: 12.04 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.319e-05/0.3741, allocations: 8.609 kB / 0.5297 GB, free: 12.04 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (20): * Single equations (assignments): 20 * 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.0002582/0.3743, allocations: 219.7 kB / 0.5299 GB, free: 11.88 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001187/0.3745, allocations: 61.73 kB / 0.53 GB, free: 11.84 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009277/0.3754, allocations: 395.8 kB / 0.5304 GB, free: 11.63 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.3754, allocations: 2.844 kB / 0.5304 GB, free: 11.63 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.665e-06/0.3754, allocations: 1.469 kB / 0.5304 GB, free: 11.63 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.722e-06/0.3754, allocations: 3.984 kB / 0.5304 GB, free: 11.63 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001665/0.3771, allocations: 0.955 MB / 0.5313 GB, free: 10.91 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.3771, allocations: 1.375 kB / 0.5313 GB, free: 10.91 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002526/0.3774, allocations: 53.23 kB / 0.5314 GB, free: 10.89 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.3774, allocations: 1.125 kB / 0.5314 GB, free: 10.89 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.014e-05/0.3774, allocations: 7.547 kB / 0.5314 GB, free: 10.89 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.3774, allocations: 5.125 kB / 0.5314 GB, free: 10.88 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3774, allocations: 0 / 0.5314 GB, free: 10.88 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007896/0.3782, allocations: 0.51 MB / 0.5319 GB, free: 10.52 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001694/0.3784, allocations: 150.9 kB / 0.532 GB, free: 10.39 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.985e-05/0.3785, allocations: 13.39 kB / 0.532 GB, free: 10.38 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002566/0.3787, allocations: 25.36 kB / 0.5321 GB, free: 10.36 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.423e-05/0.3788, allocations: 20 kB / 0.5321 GB, free: 10.35 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.802e-05/0.3788, allocations: 9.594 kB / 0.5321 GB, free: 10.35 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007813/0.3796, allocations: 0.648 MB / 0.5327 GB, free: 10.04 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.3796, allocations: 0 / 0.5327 GB, free: 10.04 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004169/0.3801, allocations: 70.45 kB / 0.5328 GB, free: 10.03 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 (20): * Single equations (assignments): 20 * 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.001906/0.382, allocations: 1.349 MB / 0.5341 GB, free: 9.027 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006871/0.3827, allocations: 267.4 kB / 0.5344 GB, free: 8.91 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.3827, allocations: 0 / 0.5344 GB, free: 8.91 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003332/0.383, allocations: 143.3 kB / 0.5345 GB, free: 8.848 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000699/0.3837, allocations: 89.91 kB / 0.5346 GB, free: 8.797 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008143/0.3919, allocations: 5.366 MB / 0.5398 GB, free: 5.781 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004453/0.3924, allocations: 0.8818 MB / 0.5407 GB, free: 4.879 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003061/0.3927, allocations: 107.2 kB / 0.5408 GB, free: 4.77 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002518/0.393, allocations: 179.3 kB / 0.541 GB, free: 4.594 MB / 398.1 MB Notification: Performance of SimCode: time 7.71e-07/0.393, allocations: 4 kB / 0.541 GB, free: 4.59 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02668/0.4196, allocations: 10.31 MB / 0.551 GB, free: 10.39 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.229/8.649, allocations: 13.02 kB / 0.551 GB, free: 10.38 MB / 414.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test23.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches