Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.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.Test11,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test11,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test11",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.001342/0.001342, 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.001395/0.001395, 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.361/1.361, 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.2151/0.2151, allocations: 44.19 MB / 336.8 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001666/0.001667, allocations: 63.91 kB / 470.1 MB, free: 13.63 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3687/0.3704, allocations: 60.81 MB / 0.5184 GB, free: 3.289 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test11): time 0.003685/0.3742, allocations: 1.569 MB / 0.52 GB, free: 2.203 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008727/0.3751, allocations: 409.7 kB / 0.5204 GB, free: 1.938 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.066e-05/0.3752, allocations: 1.188 kB / 0.5204 GB, free: 1.938 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002673/0.3755, allocations: 28.23 kB / 0.5204 GB, free: 1.922 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002531/0.3757, allocations: 38.34 kB / 0.5204 GB, free: 1.902 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004427/0.3762, allocations: 107.7 kB / 0.5205 GB, free: 1.848 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000183/0.3764, allocations: 59.05 kB / 0.5206 GB, free: 1.82 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00012/0.3765, allocations: 8.422 kB / 0.5206 GB, free: 1.82 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.534e-05/0.3766, allocations: 22.52 kB / 0.5206 GB, free: 1.809 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.439e-05/0.3767, allocations: 20.34 kB / 0.5206 GB, free: 1.797 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.151e-05/0.3767, allocations: 2.375 kB / 0.5206 GB, free: 1.797 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001129/0.3768, allocations: 33.28 kB / 0.5207 GB, free: 1.785 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.078e-05/0.3769, allocations: 16.25 kB / 0.5207 GB, free: 1.777 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.738e-05/0.3769, allocations: 30.12 kB / 0.5207 GB, free: 1.754 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002395/0.3772, allocations: 83.73 kB / 0.5208 GB, free: 1.719 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.3772, allocations: 0 / 0.5208 GB, free: 1.719 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.3772, allocations: 0 / 0.5208 GB, free: 1.719 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.476e-06/0.3772, allocations: 0.7969 kB / 0.5208 GB, free: 1.719 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.0004896/0.3777, allocations: 383.8 kB / 0.5212 GB, free: 1.328 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.097e-05/0.3778, allocations: 10.06 kB / 0.5212 GB, free: 1.328 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.326e-05/0.3778, allocations: 32.98 kB / 0.5212 GB, free: 1.289 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.709e-05/0.3779, allocations: 12.59 kB / 0.5212 GB, free: 1.281 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000174/0.3781, allocations: 192.2 kB / 0.5214 GB, free: 1.07 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.3781, allocations: 384 / 0.5214 GB, free: 1.07 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.251e-05/0.3781, allocations: 6.781 kB / 0.5214 GB, free: 1.066 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001465/0.3783, allocations: 53.75 kB / 0.5215 GB, free: 1.023 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.3783, allocations: 0 / 0.5215 GB, free: 1.023 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.3783, allocations: 1.812 kB / 0.5215 GB, free: 1.023 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.3783, allocations: 0 / 0.5215 GB, free: 1.023 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001023/0.3784, allocations: 23.27 kB / 0.5215 GB, free: 1.02 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003492/0.3788, allocations: 285.4 kB / 0.5218 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002136/0.379, allocations: 51.14 kB / 0.5218 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.385e-05/0.3791, allocations: 13.66 kB / 0.5218 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.3791, allocations: 1.922 kB / 0.5218 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.789e-05/0.3791, allocations: 36.3 kB / 0.5219 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.3791, allocations: 4 kB / 0.5219 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005778/0.3797, allocations: 151.6 kB / 0.522 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.69e-05/0.3797, allocations: 51.92 kB / 0.5221 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001504/0.3799, allocations: 169.5 kB / 0.5222 GB, free: 400 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.608e-06/0.3799, allocations: 25.7 kB / 0.5222 GB, free: 368 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.408e-05/0.38, allocations: 98.09 kB / 0.5223 GB, free: 272 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.36e-05/0.38, allocations: 19.52 kB / 0.5224 GB, free: 256 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.922e-05/0.38, allocations: 15.16 kB / 0.5224 GB, free: 240 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.3802, allocations: 325 kB / 0.5227 GB, free: 15.91 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.798e-05/0.3803, allocations: 19.75 kB / 0.5227 GB, free: 15.91 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.682e-05/0.3803, allocations: 21.42 kB / 0.5227 GB, free: 15.91 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001462/0.3805, allocations: 55.55 kB / 0.5228 GB, free: 15.88 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.3805, allocations: 4.188 kB / 0.5228 GB, free: 15.88 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002095/0.3807, allocations: 93.19 kB / 0.5229 GB, free: 15.82 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.3808, allocations: 5.531 kB / 0.5229 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.3808, allocations: 0.6562 kB / 0.5229 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.3808, allocations: 1.188 kB / 0.5229 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.553e-05/0.3809, allocations: 13.2 kB / 0.5229 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.3809, allocations: 3.938 kB / 0.5229 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.164e-05/0.3809, allocations: 5.188 kB / 0.5229 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/0.3809, allocations: 8.844 kB / 0.5229 GB, free: 15.81 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.0001026/0.381, allocations: 123.6 kB / 0.523 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.685e-05/0.3811, allocations: 8.453 kB / 0.523 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002834/0.3814, allocations: 98.23 kB / 0.5231 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.3814, allocations: 2.031 kB / 0.5231 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.3814, allocations: 0 / 0.5231 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.3814, allocations: 3.984 kB / 0.5231 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000547/0.382, allocations: 359.7 kB / 0.5235 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.382, allocations: 4.734 kB / 0.5235 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.923e-05/0.3821, allocations: 12.34 kB / 0.5235 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.3821, allocations: 0.5625 kB / 0.5235 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.226e-06/0.3821, allocations: 1.094 kB / 0.5235 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.5e-06/0.3821, allocations: 4.688 kB / 0.5235 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.3821, allocations: 1.344 kB / 0.5235 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002581/0.3824, allocations: 180.9 kB / 0.5237 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.068e-05/0.3824, allocations: 84.91 kB / 0.5237 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.011e-05/0.3824, allocations: 4 kB / 0.5237 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.455e-05/0.3825, allocations: 13.19 kB / 0.5238 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.849e-05/0.3826, allocations: 4.156 kB / 0.5238 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.929e-06/0.3826, allocations: 1.125 kB / 0.5238 GB, free: 15.02 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001261/0.3827, allocations: 126.9 kB / 0.5239 GB, free: 14.94 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.834e-06/0.3827, allocations: 4 kB / 0.5239 GB, free: 14.93 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002632/0.383, allocations: 23.73 kB / 0.5239 GB, free: 14.92 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.001397/0.3844, allocations: 1.003 MB / 0.5249 GB, free: 14.15 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002282/0.3846, allocations: 61.98 kB / 0.525 GB, free: 14.13 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3846, allocations: 0 / 0.525 GB, free: 14.13 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.604e-05/0.3847, allocations: 24.61 kB / 0.525 GB, free: 14.12 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003626/0.3851, allocations: 18.34 kB / 0.525 GB, free: 14.12 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001962/0.3871, allocations: 1.492 MB / 0.5264 GB, free: 12.84 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003233/0.3874, allocations: 0.7035 MB / 0.5271 GB, free: 12.13 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.963e-05/0.3875, allocations: 10.25 kB / 0.5271 GB, free: 12.13 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.103e-05/0.3876, allocations: 26.64 kB / 0.5272 GB, free: 12.11 MB / 398.1 MB Notification: Performance of SimCode: time 4e-07/0.3876, allocations: 0 / 0.5272 GB, free: 12.11 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02071/0.4083, allocations: 2.597 MB / 0.5297 GB, free: 11.12 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.537/7.945, allocations: 6.391 kB / 0.5297 GB, free: 11.12 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test11.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches