Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.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.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test8",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.001252/0.001252, allocations: 118.4 kB / 17.79 MB, free: 5.254 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.001201/0.001201, 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.358/1.358, allocations: 222.9 MB / 242.4 MB, free: 15.06 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.2136/0.2136, allocations: 44.18 MB / 336.8 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001796/0.001796, allocations: 71.88 kB / 470.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3381/0.3399, allocations: 60.82 MB / 0.5184 GB, free: 3.301 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test8): time 0.002966/0.3429, allocations: 1.565 MB / 0.52 GB, free: 2.215 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006889/0.3436, allocations: 396.9 kB / 0.5203 GB, free: 1.957 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.12e-05/0.3436, allocations: 1.312 kB / 0.5204 GB, free: 1.957 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002193/0.3439, allocations: 24.42 kB / 0.5204 GB, free: 1.941 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001791/0.3441, allocations: 41.09 kB / 0.5204 GB, free: 1.918 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002608/0.3443, allocations: 84.41 kB / 0.5205 GB, free: 1.875 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001421/0.3445, allocations: 49.91 kB / 0.5205 GB, free: 1.855 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.921e-05/0.3446, allocations: 20.97 kB / 0.5206 GB, free: 1.844 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.871e-05/0.3446, allocations: 17.39 kB / 0.5206 GB, free: 1.836 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.464e-05/0.3447, allocations: 16.88 kB / 0.5206 GB, free: 1.828 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.71e-05/0.3447, allocations: 5.438 kB / 0.5206 GB, free: 1.824 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.768e-05/0.3448, allocations: 34.09 kB / 0.5206 GB, free: 1.812 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.82e-05/0.3449, allocations: 18.38 kB / 0.5206 GB, free: 1.801 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.546e-05/0.3449, allocations: 17.88 kB / 0.5207 GB, free: 1.789 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001712/0.3451, allocations: 77.56 kB / 0.5207 GB, free: 1.758 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3451, allocations: 4 kB / 0.5207 GB, free: 1.754 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.3451, allocations: 0 / 0.5207 GB, free: 1.754 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.3451, allocations: 1 kB / 0.5207 GB, free: 1.754 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.0004012/0.3455, allocations: 381.5 kB / 0.5211 GB, free: 1.367 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.3456, allocations: 9.688 kB / 0.5211 GB, free: 1.367 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.346e-05/0.3456, allocations: 36.44 kB / 0.5212 GB, free: 1.324 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.753e-05/0.3456, allocations: 8.266 kB / 0.5212 GB, free: 1.32 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001454/0.3458, allocations: 193.8 kB / 0.5213 GB, free: 1.109 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.3458, allocations: 1.344 kB / 0.5213 GB, free: 1.109 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.297e-05/0.3458, allocations: 10.47 kB / 0.5214 GB, free: 1.102 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001294/0.346, allocations: 48.97 kB / 0.5214 GB, free: 1.062 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.346, allocations: 0 / 0.5214 GB, free: 1.062 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-06/0.346, allocations: 4.969 kB / 0.5214 GB, free: 1.059 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.346, allocations: 0.9688 kB / 0.5214 GB, free: 1.059 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.207e-05/0.3461, allocations: 21.98 kB / 0.5214 GB, free: 1.055 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002785/0.3464, allocations: 278.4 kB / 0.5217 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001955/0.3466, allocations: 43.56 kB / 0.5217 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.765e-05/0.3466, allocations: 21.11 kB / 0.5218 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.861e-05/0.3467, allocations: 1.828 kB / 0.5218 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.706e-05/0.3467, allocations: 31.59 kB / 0.5218 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.3467, allocations: 3.938 kB / 0.5218 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005149/0.3472, allocations: 140.6 kB / 0.5219 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.148e-05/0.3473, allocations: 51.41 kB / 0.522 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001259/0.3474, allocations: 153.8 kB / 0.5221 GB, free: 444 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.506e-06/0.3474, allocations: 25.7 kB / 0.5221 GB, free: 412 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.574e-05/0.3474, allocations: 101.5 kB / 0.5222 GB, free: 312 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.788e-05/0.3475, allocations: 19.33 kB / 0.5223 GB, free: 296 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.121e-05/0.3475, allocations: 15.98 kB / 0.5223 GB, free: 280 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.332e-05/0.3476, allocations: 327.3 kB / 0.5226 GB, free: 15.95 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.046e-05/0.3477, allocations: 18.5 kB / 0.5226 GB, free: 15.95 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.979e-05/0.3477, allocations: 19.56 kB / 0.5226 GB, free: 15.94 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001243/0.3479, allocations: 42.12 kB / 0.5227 GB, free: 15.93 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.3479, allocations: 0 / 0.5227 GB, free: 15.93 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001917/0.3481, allocations: 85.5 kB / 0.5227 GB, free: 15.88 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.3481, allocations: 5.344 kB / 0.5228 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.3481, allocations: 0.7969 kB / 0.5228 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.3481, allocations: 1.062 kB / 0.5228 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.494e-05/0.3482, allocations: 16.55 kB / 0.5228 GB, free: 15.87 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.3482, allocations: 0 / 0.5228 GB, free: 15.87 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.043e-05/0.3483, allocations: 9.062 kB / 0.5228 GB, free: 15.87 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.101e-06/0.3483, allocations: 1.031 kB / 0.5228 GB, free: 15.87 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 9.506e-05/0.3484, allocations: 116.9 kB / 0.5229 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.175e-05/0.3484, allocations: 12.31 kB / 0.5229 GB, free: 15.74 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002334/0.3487, allocations: 89.16 kB / 0.523 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.3487, allocations: 2.047 kB / 0.523 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.3487, allocations: 0 / 0.523 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.765e-06/0.3487, allocations: 8.578 kB / 0.523 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004314/0.3491, allocations: 346.6 kB / 0.5233 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3491, allocations: 5.031 kB / 0.5233 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.438e-05/0.3492, allocations: 12.14 kB / 0.5233 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.3492, allocations: 0.7031 kB / 0.5233 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.3492, allocations: 9.062 kB / 0.5234 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.3492, allocations: 0.9375 kB / 0.5234 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.3492, allocations: 0.5625 kB / 0.5234 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002381/0.3495, allocations: 181.5 kB / 0.5235 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.378e-05/0.3495, allocations: 91.7 kB / 0.5236 GB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.694e-05/0.3496, allocations: 4.594 kB / 0.5236 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.453e-05/0.3496, allocations: 5.297 kB / 0.5236 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.014e-05/0.3497, allocations: 3.094 kB / 0.5236 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.138e-06/0.3497, allocations: 2.312 kB / 0.5236 GB, free: 15.07 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001122/0.3498, allocations: 122.7 kB / 0.5237 GB, free: 14.99 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3498, allocations: 0 / 0.5237 GB, free: 14.99 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002302/0.3501, allocations: 10.23 kB / 0.5238 GB, free: 14.99 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.001897/0.352, allocations: 1.005 MB / 0.5247 GB, free: 14.21 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001983/0.3522, allocations: 52.98 kB / 0.5248 GB, free: 14.2 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3522, allocations: 0 / 0.5248 GB, free: 14.2 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.471e-05/0.3523, allocations: 27.97 kB / 0.5248 GB, free: 14.19 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003583/0.3526, allocations: 14.39 kB / 0.5248 GB, free: 14.18 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001633/0.3543, allocations: 1.448 MB / 0.5262 GB, free: 12.91 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003265/0.3546, allocations: 0.6912 MB / 0.5269 GB, free: 12.21 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.499e-05/0.3547, allocations: 10.27 kB / 0.5269 GB, free: 12.21 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.998e-05/0.3547, allocations: 25.55 kB / 0.527 GB, free: 12.2 MB / 398.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3547, allocations: 1.156 kB / 0.527 GB, free: 12.2 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02526/0.38, allocations: 2.507 MB / 0.5294 GB, free: 11.3 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.01/8.39, allocations: 12.83 kB / 0.5294 GB, free: 11.29 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8_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_CombiTable1Ds_Test8.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches