Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.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.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test2",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.001227/0.001227, allocations: 117.2 kB / 17.78 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.001282/0.001282, allocations: 184.2 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.43/1.43, 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.2317/0.2317, allocations: 44.19 MB / 336.8 MB, free: 2.633 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001434/0.001434, allocations: 59.91 kB / 470.1 MB, free: 13.63 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4063/0.4077, allocations: 60.82 MB / 0.5184 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.0037/0.4115, allocations: 1.57 MB / 0.52 GB, free: 2.203 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007651/0.4123, allocations: 395.9 kB / 0.5204 GB, free: 1.945 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.869e-05/0.4124, allocations: 1.406 kB / 0.5204 GB, free: 1.945 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000245/0.4127, allocations: 20.52 kB / 0.5204 GB, free: 1.934 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002346/0.4129, allocations: 34.97 kB / 0.5204 GB, free: 1.914 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003938/0.4133, allocations: 91.81 kB / 0.5205 GB, free: 1.863 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001946/0.4135, allocations: 50.31 kB / 0.5205 GB, free: 1.844 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001316/0.4137, allocations: 17.25 kB / 0.5206 GB, free: 1.836 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.785e-05/0.4137, allocations: 18.05 kB / 0.5206 GB, free: 1.828 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.693e-05/0.4138, allocations: 19.98 kB / 0.5206 GB, free: 1.816 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.155e-05/0.4138, allocations: 6.344 kB / 0.5206 GB, free: 1.812 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000119/0.414, allocations: 30.08 kB / 0.5206 GB, free: 1.805 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.874e-05/0.414, allocations: 21.55 kB / 0.5206 GB, free: 1.789 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.921e-05/0.4141, allocations: 20.38 kB / 0.5207 GB, free: 1.773 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002386/0.4144, allocations: 72.77 kB / 0.5207 GB, free: 1.746 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.4144, allocations: 0 / 0.5207 GB, free: 1.746 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.4144, allocations: 0.9375 kB / 0.5207 GB, free: 1.746 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.193e-06/0.4144, allocations: 0 / 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.0004691/0.4149, allocations: 376.9 kB / 0.5211 GB, free: 1.359 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.572e-05/0.4149, allocations: 9.594 kB / 0.5211 GB, free: 1.359 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.096e-05/0.415, allocations: 40.45 kB / 0.5211 GB, free: 1.312 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.471e-05/0.415, allocations: 8.391 kB / 0.5212 GB, free: 1.309 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001757/0.4152, allocations: 189.8 kB / 0.5213 GB, free: 1.098 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.726e-06/0.4152, allocations: 5.406 kB / 0.5213 GB, free: 1.094 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.385e-05/0.4152, allocations: 2.469 kB / 0.5213 GB, free: 1.094 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001422/0.4154, allocations: 49.02 kB / 0.5214 GB, free: 1.055 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.4154, allocations: 1.062 kB / 0.5214 GB, free: 1.055 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.4154, allocations: 0 / 0.5214 GB, free: 1.055 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.4154, allocations: 1.219 kB / 0.5214 GB, free: 1.055 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.632e-05/0.4155, allocations: 21.95 kB / 0.5214 GB, free: 1.051 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003141/0.4158, allocations: 280.2 kB / 0.5217 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002094/0.4161, allocations: 44.84 kB / 0.5217 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.223e-05/0.4161, allocations: 17.5 kB / 0.5217 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.159e-05/0.4162, allocations: 1.469 kB / 0.5217 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.374e-05/0.4162, allocations: 31.27 kB / 0.5218 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.323e-06/0.4162, allocations: 4 kB / 0.5218 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005944/0.4168, allocations: 135.7 kB / 0.5219 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.643e-05/0.4168, allocations: 52.38 kB / 0.522 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001423/0.417, allocations: 142.8 kB / 0.5221 GB, free: 444 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.282e-05/0.417, allocations: 30.86 kB / 0.5221 GB, free: 408 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.028e-05/0.417, allocations: 96.56 kB / 0.5222 GB, free: 312 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.866e-05/0.4171, allocations: 23.59 kB / 0.5222 GB, free: 292 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.089e-05/0.4171, allocations: 18.41 kB / 0.5223 GB, free: 272 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001086/0.4172, allocations: 319.7 kB / 0.5226 GB, free: 15.95 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.683e-05/0.4173, allocations: 18.73 kB / 0.5226 GB, free: 15.95 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.358e-05/0.4174, allocations: 18.34 kB / 0.5226 GB, free: 15.94 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001437/0.4175, allocations: 51.97 kB / 0.5226 GB, free: 15.92 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.91e-07/0.4176, allocations: 4 kB / 0.5226 GB, free: 15.91 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002055/0.4178, allocations: 76.55 kB / 0.5227 GB, free: 15.87 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.4178, allocations: 5.25 kB / 0.5227 GB, free: 15.87 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.4178, allocations: 3.938 kB / 0.5227 GB, free: 15.87 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.4178, allocations: 1.859 kB / 0.5227 GB, free: 15.87 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.475e-05/0.4179, allocations: 16.61 kB / 0.5227 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.4179, allocations: 0 / 0.5227 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.348e-05/0.418, allocations: 8.734 kB / 0.5228 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.749e-06/0.418, allocations: 6.219 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 0.0001017/0.4181, allocations: 118.6 kB / 0.5229 GB, free: 15.73 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.887e-05/0.4181, allocations: 8.297 kB / 0.5229 GB, free: 15.73 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002532/0.4184, allocations: 88.48 kB / 0.523 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-06/0.4184, allocations: 1.031 kB / 0.523 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.4184, allocations: 1.156 kB / 0.523 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.4184, allocations: 0.6094 kB / 0.523 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004811/0.4189, allocations: 345.1 kB / 0.5233 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.4189, allocations: 1.125 kB / 0.5233 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.849e-05/0.419, allocations: 12.41 kB / 0.5233 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.419, allocations: 0 / 0.5233 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/0.419, allocations: 1.594 kB / 0.5233 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.6e-06/0.419, allocations: 4.734 kB / 0.5233 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.419, allocations: 192 / 0.5233 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003012/0.4193, allocations: 189.4 kB / 0.5235 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.356e-05/0.4194, allocations: 82.73 kB / 0.5236 GB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.078e-05/0.4194, allocations: 1.922 kB / 0.5236 GB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.96e-05/0.4195, allocations: 8.141 kB / 0.5236 GB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.734e-05/0.4196, allocations: 4.344 kB / 0.5236 GB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.02e-06/0.4196, allocations: 1.406 kB / 0.5236 GB, free: 15.08 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001095/0.4197, allocations: 109.9 kB / 0.5237 GB, free: 15 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.4197, allocations: 0 / 0.5237 GB, free: 15 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002619/0.42, allocations: 19.27 kB / 0.5237 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.00148/0.4215, allocations: 1.004 MB / 0.5247 GB, free: 14.21 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002286/0.4217, allocations: 48.39 kB / 0.5247 GB, free: 14.2 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.4217, allocations: 0 / 0.5247 GB, free: 14.2 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.294e-05/0.4218, allocations: 27.36 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.000396/0.4222, allocations: 22.89 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.001736/0.424, allocations: 1.402 MB / 0.5262 GB, free: 12.93 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002799/0.4243, allocations: 0.699 MB / 0.5268 GB, free: 12.23 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.688e-05/0.4243, allocations: 11.7 kB / 0.5268 GB, free: 12.22 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.632e-05/0.4244, allocations: 21.11 kB / 0.5269 GB, free: 12.21 MB / 398.1 MB Notification: Performance of SimCode: time 7.02e-07/0.4244, allocations: 1.5 kB / 0.5269 GB, free: 12.21 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0201/0.4445, allocations: 2.453 MB / 0.5293 GB, free: 11.36 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.741/8.185, allocations: 12.69 kB / 0.5293 GB, free: 11.35 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2_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_Test2.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches