Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.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.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test7",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.001276/0.001276, 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.001335/0.001335, 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.445/1.445, 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.2156/0.2156, allocations: 44.18 MB / 336.8 MB, free: 2.645 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001908/0.001908, allocations: 67.88 kB / 470.1 MB, free: 13.63 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3394/0.3413, allocations: 60.83 MB / 0.5185 GB, free: 3.281 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test7): time 0.002624/0.344, allocations: 1.55 MB / 0.52 GB, free: 2.211 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006925/0.3447, allocations: 401.4 kB / 0.5204 GB, free: 1.949 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.591e-05/0.3448, allocations: 1.25 kB / 0.5204 GB, free: 1.949 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002221/0.345, allocations: 29.11 kB / 0.5204 GB, free: 1.93 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001849/0.3452, allocations: 40.66 kB / 0.5204 GB, free: 1.906 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002525/0.3455, allocations: 79.61 kB / 0.5205 GB, free: 1.867 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001379/0.3456, allocations: 58.83 kB / 0.5205 GB, free: 1.84 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.973e-05/0.3457, allocations: 12.14 kB / 0.5206 GB, free: 1.836 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.02e-05/0.3458, allocations: 18.72 kB / 0.5206 GB, free: 1.828 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.687e-05/0.3459, allocations: 19.31 kB / 0.5206 GB, free: 1.816 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.819e-05/0.3459, allocations: 6.906 kB / 0.5206 GB, free: 1.812 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.813e-05/0.346, allocations: 34.2 kB / 0.5206 GB, free: 1.801 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.791e-05/0.346, allocations: 13.84 kB / 0.5207 GB, free: 1.793 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.283e-05/0.3461, allocations: 17.52 kB / 0.5207 GB, free: 1.781 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001968/0.3463, allocations: 77.84 kB / 0.5207 GB, free: 1.75 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3463, allocations: 3.938 kB / 0.5207 GB, free: 1.746 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.3463, allocations: 0 / 0.5207 GB, free: 1.746 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.143e-06/0.3463, allocations: 1.125 kB / 0.5207 GB, free: 1.746 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.0004123/0.3467, allocations: 382.3 kB / 0.5211 GB, free: 1.355 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.3468, allocations: 13.61 kB / 0.5211 GB, free: 1.352 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.469e-05/0.3468, allocations: 31.75 kB / 0.5212 GB, free: 1.312 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.22e-05/0.3468, allocations: 12.89 kB / 0.5212 GB, free: 1.305 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001598/0.347, allocations: 183.2 kB / 0.5213 GB, free: 1.102 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.347, allocations: 5.344 kB / 0.5213 GB, free: 1.098 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.313e-05/0.3471, allocations: 2.688 kB / 0.5213 GB, free: 1.098 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001347/0.3472, allocations: 56.55 kB / 0.5214 GB, free: 1.051 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/0.3472, allocations: 4.641 kB / 0.5214 GB, free: 1.047 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.3472, allocations: 0.9062 kB / 0.5214 GB, free: 1.047 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.3472, allocations: 0 / 0.5214 GB, free: 1.047 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.726e-05/0.3473, allocations: 26.62 kB / 0.5214 GB, free: 1.039 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002974/0.3476, allocations: 273.2 kB / 0.5217 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002072/0.3479, allocations: 44.02 kB / 0.5217 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.133e-05/0.3479, allocations: 17.66 kB / 0.5218 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.209e-05/0.348, allocations: 1.938 kB / 0.5218 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.534e-05/0.348, allocations: 40.3 kB / 0.5218 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.613e-06/0.348, allocations: 0 / 0.5218 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005739/0.3486, allocations: 138.7 kB / 0.5219 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.38e-05/0.3486, allocations: 53.34 kB / 0.522 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001311/0.3487, allocations: 152.7 kB / 0.5221 GB, free: 432 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.376e-06/0.3487, allocations: 30.27 kB / 0.5222 GB, free: 396 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.6e-05/0.3488, allocations: 97.56 kB / 0.5222 GB, free: 300 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.007e-05/0.3488, allocations: 19.5 kB / 0.5223 GB, free: 284 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.195e-05/0.3489, allocations: 19.16 kB / 0.5223 GB, free: 264 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.638e-05/0.349, allocations: 320.2 kB / 0.5226 GB, free: 15.94 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.9e-05/0.349, allocations: 17.92 kB / 0.5226 GB, free: 15.94 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.991e-05/0.3491, allocations: 18.73 kB / 0.5226 GB, free: 15.93 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001305/0.3492, allocations: 47.31 kB / 0.5227 GB, free: 15.91 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.92e-07/0.3492, allocations: 0 / 0.5227 GB, free: 15.91 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001916/0.3494, allocations: 84.78 kB / 0.5227 GB, free: 15.86 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.3495, allocations: 5.312 kB / 0.5228 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.3495, allocations: 1.156 kB / 0.5228 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.3495, allocations: 0.6094 kB / 0.5228 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.145e-05/0.3496, allocations: 12.05 kB / 0.5228 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.3496, allocations: 5.031 kB / 0.5228 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.126e-05/0.3496, allocations: 9.5 kB / 0.5228 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.3496, allocations: 1.125 kB / 0.5228 GB, free: 15.86 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.011e-05/0.3497, allocations: 117.2 kB / 0.5229 GB, free: 15.74 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.18e-05/0.3498, allocations: 7.328 kB / 0.5229 GB, free: 15.73 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002433/0.35, allocations: 93.59 kB / 0.523 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.35, allocations: 1.781 kB / 0.523 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.35, allocations: 4 kB / 0.523 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.35, allocations: 4.688 kB / 0.523 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004567/0.3505, allocations: 339.3 kB / 0.5233 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.117e-06/0.3505, allocations: 4.062 kB / 0.5233 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.8e-05/0.3506, allocations: 15.91 kB / 0.5233 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.3506, allocations: 1.344 kB / 0.5233 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.245e-05/0.3506, allocations: 8.453 kB / 0.5233 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.3506, allocations: 5.281 kB / 0.5234 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.3506, allocations: 8.594 kB / 0.5234 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002366/0.3509, allocations: 177.3 kB / 0.5235 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.895e-05/0.3509, allocations: 82.83 kB / 0.5236 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.736e-05/0.351, allocations: 5.734 kB / 0.5236 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.565e-05/0.351, allocations: 5.125 kB / 0.5236 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.83e-05/0.3511, allocations: 3.828 kB / 0.5236 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/0.3511, allocations: 5.641 kB / 0.5236 GB, free: 15.06 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001028/0.3512, allocations: 121.7 kB / 0.5237 GB, free: 14.98 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3512, allocations: 1.125 kB / 0.5237 GB, free: 14.98 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002406/0.3514, allocations: 14.48 kB / 0.5238 GB, free: 14.97 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.001856/0.3533, allocations: 1.013 MB / 0.5247 GB, free: 14.19 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002136/0.3535, allocations: 48.28 kB / 0.5248 GB, free: 14.18 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3535, allocations: 1.562 kB / 0.5248 GB, free: 14.18 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.024e-05/0.3536, allocations: 26.47 kB / 0.5248 GB, free: 14.17 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003899/0.354, allocations: 15.45 kB / 0.5248 GB, free: 14.16 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001684/0.3557, allocations: 1.448 MB / 0.5263 GB, free: 12.89 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000313/0.356, allocations: 0.6917 MB / 0.5269 GB, free: 12.2 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.508e-05/0.3561, allocations: 7.062 kB / 0.5269 GB, free: 12.2 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.158e-05/0.3562, allocations: 25 kB / 0.527 GB, free: 12.18 MB / 398.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3562, allocations: 3.938 kB / 0.527 GB, free: 12.18 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02235/0.3785, allocations: 2.503 MB / 0.5294 GB, free: 11.29 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.781/8.16, allocations: 9.016 kB / 0.5294 GB, free: 11.29 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7_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_Test7.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches