Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.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.CombiTable1Ds.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test31",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.001363/0.001362, allocations: 113.2 kB / 17.78 MB, free: 5.129 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.001316/0.001316, allocations: 181 kB / 18.71 MB, free: 4.207 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.33/1.33, allocations: 222.9 MB / 242.4 MB, free: 15.05 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.2083/0.2083, allocations: 44.19 MB / 336.8 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 67.89 kB / 470.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3774/0.3787, allocations: 60.82 MB / 0.5185 GB, free: 3.301 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test31): time 0.003119/0.3818, allocations: 1.574 MB / 0.52 GB, free: 2.215 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006792/0.3825, allocations: 408.8 kB / 0.5204 GB, free: 1.945 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.523e-05/0.3826, allocations: 1.25 kB / 0.5204 GB, free: 1.945 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003064/0.3829, allocations: 120.7 kB / 0.5205 GB, free: 1.926 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002275/0.3832, allocations: 93.56 kB / 0.5206 GB, free: 1.895 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002313/0.3834, allocations: 81.31 kB / 0.5207 GB, free: 1.855 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001507/0.3836, allocations: 90.8 kB / 0.5208 GB, free: 1.824 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.3837, allocations: 18.8 kB / 0.5208 GB, free: 1.816 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.351e-05/0.3837, allocations: 47.77 kB / 0.5208 GB, free: 1.801 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001383/0.3839, allocations: 83.81 kB / 0.5209 GB, free: 1.781 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.721e-05/0.3839, allocations: 2.438 kB / 0.5209 GB, free: 1.781 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.556e-05/0.384, allocations: 44.09 kB / 0.5209 GB, free: 1.77 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.618e-05/0.3841, allocations: 23.89 kB / 0.521 GB, free: 1.762 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.059e-05/0.3841, allocations: 38.16 kB / 0.521 GB, free: 1.73 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002027/0.3843, allocations: 119.1 kB / 0.5211 GB, free: 1.68 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.3843, allocations: 1.625 kB / 0.5211 GB, free: 1.68 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3843, allocations: 0 / 0.5211 GB, free: 1.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.3843, allocations: 0 / 0.5211 GB, free: 1.68 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.000414/0.3848, allocations: 431.7 kB / 0.5215 GB, free: 1.258 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.3848, allocations: 8.781 kB / 0.5215 GB, free: 1.258 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.866e-05/0.3848, allocations: 37.17 kB / 0.5216 GB, free: 1.215 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.525e-05/0.3849, allocations: 16.03 kB / 0.5216 GB, free: 1.207 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001583/0.3851, allocations: 207.2 kB / 0.5218 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.077e-06/0.3851, allocations: 1.438 kB / 0.5218 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.113e-05/0.3851, allocations: 8.266 kB / 0.5218 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001311/0.3852, allocations: 56.23 kB / 0.5218 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.3852, allocations: 4 kB / 0.5219 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.624e-06/0.3853, allocations: 1.062 kB / 0.5219 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.3853, allocations: 1.156 kB / 0.5219 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.621e-05/0.3854, allocations: 24.48 kB / 0.5219 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002989/0.3857, allocations: 315.9 kB / 0.5222 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.533e-05/0.3858, allocations: 42.44 kB / 0.5222 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.805e-05/0.3859, allocations: 19.64 kB / 0.5222 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.723e-05/0.3859, allocations: 1.094 kB / 0.5222 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.455e-05/0.3859, allocations: 39.17 kB / 0.5223 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.3859, allocations: 1.031 kB / 0.5223 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008125/0.3867, allocations: 224.9 kB / 0.5225 GB, free: 452 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.109e-05/0.3868, allocations: 61 kB / 0.5225 GB, free: 380 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002334/0.387, allocations: 272.3 kB / 0.5228 GB, free: 228 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.576e-06/0.387, allocations: 26.73 kB / 0.5228 GB, free: 196 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.5e-05/0.3871, allocations: 114.7 kB / 0.5229 GB, free: 88 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.337e-05/0.3871, allocations: 26.12 kB / 0.523 GB, free: 68 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.307e-05/0.3871, allocations: 24.39 kB / 0.523 GB, free: 44 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.3873, allocations: 328.6 kB / 0.5233 GB, free: 15.72 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.881e-05/0.3873, allocations: 26.08 kB / 0.5233 GB, free: 15.71 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.951e-05/0.3874, allocations: 28.25 kB / 0.5234 GB, free: 15.71 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001514/0.3876, allocations: 57.62 kB / 0.5234 GB, free: 15.68 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.3876, allocations: 0.7031 kB / 0.5234 GB, free: 15.68 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002098/0.3878, allocations: 106.7 kB / 0.5235 GB, free: 15.62 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.3878, allocations: 5.438 kB / 0.5235 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.3878, allocations: 4.688 kB / 0.5235 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.3878, allocations: 1.125 kB / 0.5235 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.789e-05/0.388, allocations: 17.36 kB / 0.5235 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.388, allocations: 3.938 kB / 0.5235 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.323e-05/0.388, allocations: 5.719 kB / 0.5235 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.363e-06/0.388, allocations: 2.25 kB / 0.5236 GB, free: 15.62 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 (8): * Single equations (assignments): 8 * 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.000107/0.3881, allocations: 136.6 kB / 0.5237 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.9e-05/0.3882, allocations: 14.7 kB / 0.5237 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002781/0.3885, allocations: 126.3 kB / 0.5238 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.3885, allocations: 0.6094 kB / 0.5238 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.046e-06/0.3885, allocations: 5.281 kB / 0.5238 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.3885, allocations: 4.641 kB / 0.5238 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005387/0.389, allocations: 418.8 kB / 0.5242 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.858e-06/0.3891, allocations: 3.938 kB / 0.5242 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.549e-05/0.3891, allocations: 22.19 kB / 0.5243 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.3892, allocations: 0 / 0.5243 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.167e-06/0.3892, allocations: 2.734 kB / 0.5243 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.3892, allocations: 5.969 kB / 0.5243 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3892, allocations: 0 / 0.5243 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002749/0.3895, allocations: 211.4 kB / 0.5245 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.559e-05/0.3895, allocations: 94.41 kB / 0.5246 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.302e-05/0.3896, allocations: 5.797 kB / 0.5246 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.722e-05/0.3896, allocations: 8.906 kB / 0.5246 GB, free: 14.74 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.994e-05/0.3897, allocations: 5.094 kB / 0.5246 GB, free: 14.74 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.38e-06/0.3897, allocations: 2.469 kB / 0.5246 GB, free: 14.74 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001766/0.3899, allocations: 205 kB / 0.5248 GB, free: 14.63 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3899, allocations: 4 kB / 0.5248 GB, free: 14.63 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002552/0.3901, allocations: 20.38 kB / 0.5248 GB, free: 14.62 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 (8): * Single equations (assignments): 8 * 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.001447/0.3916, allocations: 1.095 MB / 0.5259 GB, free: 13.8 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002077/0.3918, allocations: 60.03 kB / 0.5259 GB, free: 13.79 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.3918, allocations: 1.75 kB / 0.5259 GB, free: 13.79 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.655e-05/0.3919, allocations: 38.59 kB / 0.526 GB, free: 13.78 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003735/0.3923, allocations: 21.94 kB / 0.526 GB, free: 13.77 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001936/0.3942, allocations: 1.769 MB / 0.5277 GB, free: 12.39 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003979/0.3947, allocations: 0.7228 MB / 0.5284 GB, free: 11.69 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.775e-05/0.3947, allocations: 14.16 kB / 0.5284 GB, free: 11.68 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.256e-05/0.3948, allocations: 37.64 kB / 0.5285 GB, free: 11.66 MB / 398.1 MB Notification: Performance of SimCode: time 2.71e-07/0.3948, allocations: 0 / 0.5285 GB, free: 11.66 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01909/0.4139, allocations: 3.308 MB / 0.5317 GB, free: 10.15 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.709/8.123, allocations: 21.92 kB / 0.5317 GB, free: 10.14 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.006 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test31.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches