Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.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.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test5",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.001256/0.001256, allocations: 114.4 kB / 17.78 MB, free: 5.277 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.001253/0.001253, allocations: 183.8 kB / 18.72 MB, free: 4.352 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.426/1.426, allocations: 222.9 MB / 242.4 MB, free: 15.09 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.3177/0.3177, allocations: 44.18 MB / 336.8 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001948, allocations: 63.89 kB / 470.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3408/0.3427, allocations: 60.83 MB / 0.5185 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.002588/0.3454, allocations: 1.599 MB / 0.52 GB, free: 2.191 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007156/0.3461, allocations: 457 kB / 0.5205 GB, free: 1.895 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.778e-05/0.3462, allocations: 1.156 kB / 0.5205 GB, free: 1.895 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007468/0.3469, allocations: 454.7 kB / 0.5209 GB, free: 1.867 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004657/0.3474, allocations: 257.4 kB / 0.5211 GB, free: 1.836 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005074/0.3479, allocations: 170.7 kB / 0.5213 GB, free: 1.754 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003191/0.3483, allocations: 164.9 kB / 0.5215 GB, free: 1.723 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001295/0.3484, allocations: 20.33 kB / 0.5215 GB, free: 1.715 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001636/0.3486, allocations: 107.6 kB / 0.5216 GB, free: 1.703 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000345/0.3489, allocations: 210.6 kB / 0.5218 GB, free: 1.68 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.595e-05/0.349, allocations: 7.5 kB / 0.5218 GB, free: 1.676 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001177/0.3491, allocations: 30.34 kB / 0.5218 GB, free: 1.668 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001352/0.3492, allocations: 85.77 kB / 0.5219 GB, free: 1.637 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.794e-05/0.3493, allocations: 101.5 kB / 0.522 GB, free: 1.555 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003912/0.3497, allocations: 264 kB / 0.5222 GB, free: 1.441 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3497, allocations: 0 / 0.5222 GB, free: 1.441 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.375e-06/0.3497, allocations: 0 / 0.5222 GB, free: 1.441 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.705e-06/0.3497, allocations: 1.094 kB / 0.5222 GB, free: 1.441 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.000737/0.3505, allocations: 0.6611 MB / 0.5229 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.152e-05/0.3505, allocations: 10.95 kB / 0.5229 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.394e-05/0.3506, allocations: 35.45 kB / 0.5229 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.207e-05/0.3507, allocations: 44.22 kB / 0.523 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003012/0.351, allocations: 300.6 kB / 0.5233 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.351, allocations: 1.781 kB / 0.5233 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.469e-05/0.351, allocations: 10.08 kB / 0.5233 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000164/0.3512, allocations: 62.66 kB / 0.5233 GB, free: 460 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.3512, allocations: 0 / 0.5233 GB, free: 460 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.3512, allocations: 1.219 kB / 0.5233 GB, free: 460 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.3513, allocations: 0 / 0.5233 GB, free: 460 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001085/0.3514, allocations: 35.66 kB / 0.5234 GB, free: 448 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005188/0.3519, allocations: 396.9 kB / 0.5237 GB, free: 120 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000248/0.3522, allocations: 46.33 kB / 0.5238 GB, free: 88 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.539e-05/0.3522, allocations: 18.89 kB / 0.5238 GB, free: 76 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.603e-05/0.3523, allocations: 0.6094 kB / 0.5238 GB, free: 76 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.181e-05/0.3523, allocations: 41.86 kB / 0.5238 GB, free: 28 kB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.3523, allocations: 0 / 0.5238 GB, free: 28 kB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006811/0.353, allocations: 232.5 kB / 0.5241 GB, free: 15.9 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.767e-05/0.353, allocations: 53.44 kB / 0.5241 GB, free: 15.84 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009673/0.354, allocations: 0.8718 MB / 0.525 GB, free: 15.51 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/0.354, allocations: 31.91 kB / 0.525 GB, free: 15.48 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002014/0.3542, allocations: 221.9 kB / 0.5252 GB, free: 15.3 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.685e-05/0.3543, allocations: 15.86 kB / 0.5252 GB, free: 15.29 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.219e-05/0.3543, allocations: 19.97 kB / 0.5252 GB, free: 15.27 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002001/0.3545, allocations: 357.3 kB / 0.5256 GB, free: 14.94 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.63e-05/0.3546, allocations: 25.17 kB / 0.5256 GB, free: 14.93 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.671e-05/0.3547, allocations: 20.58 kB / 0.5256 GB, free: 14.93 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001495/0.3548, allocations: 57.81 kB / 0.5257 GB, free: 14.9 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.3549, allocations: 0 / 0.5257 GB, free: 14.9 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002273/0.3551, allocations: 122.9 kB / 0.5258 GB, free: 14.83 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.3551, allocations: 6.25 kB / 0.5258 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.3551, allocations: 1.375 kB / 0.5258 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.3551, allocations: 0 / 0.5258 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.1e-05/0.3552, allocations: 12.3 kB / 0.5258 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.187e-05/0.3552, allocations: 7.922 kB / 0.5258 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.921e-05/0.3553, allocations: 14.19 kB / 0.5258 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.674e-06/0.3553, allocations: 1.375 kB / 0.5258 GB, free: 14.82 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 0.0002158/0.3555, allocations: 213.6 kB / 0.5261 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.27e-05/0.3556, allocations: 46.92 kB / 0.5261 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003163/0.3559, allocations: 141.7 kB / 0.5262 GB, free: 14.58 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.337e-06/0.3559, allocations: 1.375 kB / 0.5262 GB, free: 14.58 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.356, allocations: 7.938 kB / 0.5262 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.356, allocations: 2.312 kB / 0.5262 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000685/0.3567, allocations: 472.6 kB / 0.5267 GB, free: 14.2 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.3567, allocations: 0 / 0.5267 GB, free: 14.2 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.739e-05/0.3567, allocations: 17.55 kB / 0.5267 GB, free: 14.19 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.684e-06/0.3567, allocations: 9.297 kB / 0.5267 GB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.174e-06/0.3568, allocations: 0 / 0.5267 GB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.3568, allocations: 5.312 kB / 0.5267 GB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.3568, allocations: 4 kB / 0.5267 GB, free: 14.17 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003041/0.3571, allocations: 213 kB / 0.5269 GB, free: 14 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001082/0.3572, allocations: 118.5 kB / 0.527 GB, free: 13.87 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.781e-05/0.3572, allocations: 1.312 kB / 0.527 GB, free: 13.87 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.424e-05/0.3573, allocations: 7.797 kB / 0.5271 GB, free: 13.87 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.11e-05/0.3574, allocations: 1.594 kB / 0.5271 GB, free: 13.87 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.368e-06/0.3574, allocations: 6.312 kB / 0.5271 GB, free: 13.86 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007141/0.3581, allocations: 0.6576 MB / 0.5277 GB, free: 13.54 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3581, allocations: 0 / 0.5277 GB, free: 13.54 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002605/0.3584, allocations: 22.56 kB / 0.5277 GB, free: 13.54 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.001933/0.3603, allocations: 1.061 MB / 0.5288 GB, free: 12.71 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002124/0.3606, allocations: 51.22 kB / 0.5288 GB, free: 12.69 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3606, allocations: 1.25 kB / 0.5288 GB, free: 12.69 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.371e-05/0.3607, allocations: 32.34 kB / 0.5288 GB, free: 12.68 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004102/0.3611, allocations: 24.31 kB / 0.5289 GB, free: 12.66 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00388/0.365, allocations: 3.248 MB / 0.532 GB, free: 10.57 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004885/0.3655, allocations: 0.8242 MB / 0.5328 GB, free: 9.805 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.937e-05/0.3655, allocations: 21.8 kB / 0.5329 GB, free: 9.793 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001466/0.3657, allocations: 115.4 kB / 0.533 GB, free: 9.688 MB / 398.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3657, allocations: 1.469 kB / 0.533 GB, free: 9.688 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02845/0.3942, allocations: 6.033 MB / 0.5389 GB, free: 6.629 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.612/9.006, allocations: 9.344 kB / 0.5389 GB, free: 6.625 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5_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_CombiTable2Dv_Test5.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches