Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.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.Test15,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test15,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test15",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.001331/0.001332, 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.001367/0.001367, 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.431/1.431, 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.2286/0.2286, allocations: 44.19 MB / 336.8 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001903/0.001903, allocations: 63.89 kB / 470.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3632/0.3651, allocations: 60.83 MB / 0.5185 GB, free: 3.316 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test15): time 0.002764/0.3679, allocations: 1.576 MB / 0.52 GB, free: 2.227 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006753/0.3686, allocations: 405.8 kB / 0.5204 GB, free: 1.961 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.92e-05/0.3687, allocations: 1.188 kB / 0.5204 GB, free: 1.961 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002724/0.369, allocations: 76.78 kB / 0.5205 GB, free: 1.941 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001955/0.3692, allocations: 59.06 kB / 0.5205 GB, free: 1.922 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002453/0.3694, allocations: 93.81 kB / 0.5206 GB, free: 1.871 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001629/0.3696, allocations: 73.62 kB / 0.5207 GB, free: 1.844 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.3697, allocations: 18.98 kB / 0.5207 GB, free: 1.836 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.629e-05/0.3698, allocations: 40.5 kB / 0.5207 GB, free: 1.816 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001049/0.3699, allocations: 49.84 kB / 0.5208 GB, free: 1.805 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.773e-05/0.3699, allocations: 2.844 kB / 0.5208 GB, free: 1.805 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.583e-05/0.37, allocations: 52.67 kB / 0.5208 GB, free: 1.785 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.127e-05/0.3701, allocations: 17.59 kB / 0.5208 GB, free: 1.777 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.531e-05/0.3701, allocations: 26.58 kB / 0.5209 GB, free: 1.758 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001864/0.3703, allocations: 99.7 kB / 0.521 GB, free: 1.719 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.3703, allocations: 0 / 0.521 GB, free: 1.719 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3703, allocations: 3.938 kB / 0.521 GB, free: 1.715 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.173e-06/0.3703, allocations: 1.844 kB / 0.521 GB, free: 1.715 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.0004242/0.3708, allocations: 411 kB / 0.5214 GB, free: 1.305 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.3708, allocations: 8.688 kB / 0.5214 GB, free: 1.305 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.566e-05/0.3708, allocations: 36.56 kB / 0.5214 GB, free: 1.262 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.175e-05/0.3709, allocations: 11.17 kB / 0.5214 GB, free: 1.258 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001332/0.371, allocations: 196.9 kB / 0.5216 GB, free: 1.043 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.371, allocations: 6.75 kB / 0.5216 GB, free: 1.039 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.074e-05/0.3711, allocations: 6.375 kB / 0.5216 GB, free: 1.035 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001318/0.3712, allocations: 56.69 kB / 0.5217 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.3712, allocations: 0 / 0.5217 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.874e-06/0.3712, allocations: 0 / 0.5217 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.3712, allocations: 1.219 kB / 0.5217 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.056e-05/0.3713, allocations: 25 kB / 0.5217 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002893/0.3716, allocations: 298.4 kB / 0.522 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.89e-05/0.3717, allocations: 47.25 kB / 0.522 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.574e-05/0.3718, allocations: 18 kB / 0.522 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.461e-05/0.3718, allocations: 6.016 kB / 0.5221 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.613e-05/0.3718, allocations: 31.75 kB / 0.5221 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.3718, allocations: 0 / 0.5221 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008396/0.3727, allocations: 231 kB / 0.5223 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.406e-05/0.3727, allocations: 64.91 kB / 0.5224 GB, free: 440 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001715/0.3729, allocations: 202.6 kB / 0.5226 GB, free: 308 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.295e-06/0.3729, allocations: 25.7 kB / 0.5226 GB, free: 276 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.919e-05/0.373, allocations: 108.8 kB / 0.5227 GB, free: 172 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.48e-05/0.373, allocations: 29.27 kB / 0.5227 GB, free: 148 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.483e-05/0.373, allocations: 20.94 kB / 0.5227 GB, free: 128 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001267/0.3732, allocations: 322.4 kB / 0.523 GB, free: 15.81 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.334e-05/0.3733, allocations: 21.77 kB / 0.5231 GB, free: 15.8 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.539e-05/0.3733, allocations: 27.25 kB / 0.5231 GB, free: 15.8 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001524/0.3735, allocations: 63.38 kB / 0.5231 GB, free: 15.77 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3735, allocations: 0.5625 kB / 0.5231 GB, free: 15.77 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002154/0.3737, allocations: 96.42 kB / 0.5232 GB, free: 15.72 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.3738, allocations: 5.75 kB / 0.5232 GB, free: 15.72 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.3738, allocations: 4.5 kB / 0.5233 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.3738, allocations: 1.094 kB / 0.5233 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.584e-05/0.3739, allocations: 17.19 kB / 0.5233 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/0.3739, allocations: 5.625 kB / 0.5233 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.21e-05/0.374, allocations: 7.891 kB / 0.5233 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.374, allocations: 7.094 kB / 0.5233 GB, free: 15.7 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 9.906e-05/0.3741, allocations: 122.7 kB / 0.5234 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.408e-05/0.3741, allocations: 12.91 kB / 0.5234 GB, free: 15.58 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000264/0.3744, allocations: 120.8 kB / 0.5235 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.3744, allocations: 1.656 kB / 0.5235 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.3744, allocations: 5.156 kB / 0.5235 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.3744, allocations: 0.5625 kB / 0.5235 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005657/0.375, allocations: 409.2 kB / 0.5239 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.375, allocations: 3.938 kB / 0.5239 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.728e-05/0.3751, allocations: 17.12 kB / 0.524 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.3751, allocations: 1.125 kB / 0.524 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.3751, allocations: 1.719 kB / 0.524 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.3751, allocations: 1.156 kB / 0.524 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.3751, allocations: 1.094 kB / 0.524 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002662/0.3754, allocations: 214.9 kB / 0.5242 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.455e-05/0.3754, allocations: 89.06 kB / 0.5242 GB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.975e-05/0.3755, allocations: 1.766 kB / 0.5242 GB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.905e-05/0.3755, allocations: 8.719 kB / 0.5243 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.061e-05/0.3756, allocations: 10.3 kB / 0.5243 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.931e-06/0.3756, allocations: 5.938 kB / 0.5243 GB, free: 14.86 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001392/0.3758, allocations: 157.3 kB / 0.5244 GB, free: 14.76 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3758, allocations: 0 / 0.5244 GB, free: 14.76 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002495/0.376, allocations: 17.52 kB / 0.5244 GB, free: 14.76 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.002125/0.3782, allocations: 1.089 MB / 0.5255 GB, free: 13.94 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002361/0.3784, allocations: 67.66 kB / 0.5256 GB, free: 13.92 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3784, allocations: 0 / 0.5256 GB, free: 13.92 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.588e-05/0.3785, allocations: 35.73 kB / 0.5256 GB, free: 13.91 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003902/0.3789, allocations: 13.47 kB / 0.5256 GB, free: 13.91 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001976/0.3809, allocations: 1.647 MB / 0.5272 GB, free: 12.55 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003805/0.3813, allocations: 0.7139 MB / 0.5279 GB, free: 11.85 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.992e-05/0.3813, allocations: 13.8 kB / 0.5279 GB, free: 11.84 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.417e-05/0.3814, allocations: 29.59 kB / 0.528 GB, free: 11.82 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3814, allocations: 0 / 0.528 GB, free: 11.82 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02518/0.4066, allocations: 3.02 MB / 0.5309 GB, free: 10.55 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.92/8.327, allocations: 16.95 kB / 0.5309 GB, free: 10.54 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0012 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test15.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test15/Test15.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches