Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.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.CombiTable1Dv.Test19,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test19,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test19",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.001326/0.001326, 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.001299/0.001299, 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.441/1.441, allocations: 222.9 MB / 242.4 MB, free: 15.09 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.2094/0.2094, allocations: 44.19 MB / 336.8 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001956/0.001957, allocations: 67.89 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3236/0.3256, allocations: 60.82 MB / 0.5184 GB, free: 3.289 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test19): time 0.002527/0.3282, allocations: 1.562 MB / 0.52 GB, free: 2.207 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001221/0.3294, allocations: 1.035 MB / 0.521 GB, free: 1.473 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.942e-05/0.3295, allocations: 1.062 kB / 0.521 GB, free: 1.473 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002051/0.3297, allocations: 20.59 kB / 0.521 GB, free: 1.461 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001739/0.3299, allocations: 41.38 kB / 0.521 GB, free: 1.438 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002715/0.3302, allocations: 111.1 kB / 0.5211 GB, free: 1.383 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001259/0.3303, allocations: 64.34 kB / 0.5212 GB, free: 1.352 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.551e-05/0.3304, allocations: 8.109 kB / 0.5212 GB, free: 1.352 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.219e-05/0.3305, allocations: 23.08 kB / 0.5212 GB, free: 1.34 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000134/0.3306, allocations: 29 kB / 0.5213 GB, free: 1.324 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.784e-05/0.3306, allocations: 7.625 kB / 0.5213 GB, free: 1.32 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001035/0.3307, allocations: 46.91 kB / 0.5213 GB, free: 1.309 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.371e-05/0.3308, allocations: 11.81 kB / 0.5213 GB, free: 1.301 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.328e-05/0.3308, allocations: 22.45 kB / 0.5214 GB, free: 1.285 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000195/0.331, allocations: 89.11 kB / 0.5214 GB, free: 1.25 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.331, allocations: 2.016 kB / 0.5214 GB, free: 1.25 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.331, allocations: 0 / 0.5214 GB, free: 1.25 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.11e-06/0.3311, allocations: 0 / 0.5214 GB, free: 1.25 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.0003843/0.3314, allocations: 374.3 kB / 0.5218 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.3315, allocations: 14.03 kB / 0.5218 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.306e-05/0.3315, allocations: 40.56 kB / 0.5218 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.145e-05/0.3316, allocations: 7.172 kB / 0.5219 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001539/0.3317, allocations: 190.8 kB / 0.522 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.3317, allocations: 1.375 kB / 0.522 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.719e-05/0.3318, allocations: 3.297 kB / 0.522 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001517/0.3319, allocations: 70.36 kB / 0.5221 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.3319, allocations: 3.953 kB / 0.5221 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.332, allocations: 5.078 kB / 0.5221 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.332, allocations: 5.094 kB / 0.5221 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.608e-05/0.3321, allocations: 22.97 kB / 0.5221 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003208/0.3324, allocations: 275.5 kB / 0.5224 GB, free: 248 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001991/0.3326, allocations: 46.77 kB / 0.5225 GB, free: 216 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.857e-05/0.3327, allocations: 22.59 kB / 0.5225 GB, free: 200 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.148e-05/0.3327, allocations: 0.7031 kB / 0.5225 GB, free: 200 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.93e-05/0.3327, allocations: 35.59 kB / 0.5225 GB, free: 156 kB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.3327, allocations: 0.9375 kB / 0.5225 GB, free: 156 kB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005313/0.3333, allocations: 143 kB / 0.5226 GB, free: 92 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.153e-05/0.3334, allocations: 78.36 kB / 0.5227 GB, free: 16 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002001/0.3336, allocations: 139.4 kB / 0.5229 GB, free: 15.88 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.612e-05/0.3336, allocations: 27.05 kB / 0.5229 GB, free: 15.85 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.031e-05/0.3337, allocations: 96.72 kB / 0.523 GB, free: 15.75 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.58e-05/0.3337, allocations: 9.906 kB / 0.523 GB, free: 15.75 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.714e-05/0.3338, allocations: 20.41 kB / 0.523 GB, free: 15.73 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001952/0.334, allocations: 323.1 kB / 0.5233 GB, free: 15.41 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001143/0.3341, allocations: 20.58 kB / 0.5233 GB, free: 15.4 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001186/0.3343, allocations: 41.8 kB / 0.5234 GB, free: 15.38 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002159/0.3345, allocations: 55.83 kB / 0.5234 GB, free: 15.35 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.3345, allocations: 0 / 0.5234 GB, free: 15.35 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003226/0.3348, allocations: 84 kB / 0.5235 GB, free: 15.3 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.3349, allocations: 6.328 kB / 0.5235 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.3349, allocations: 0 / 0.5235 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.3349, allocations: 5.703 kB / 0.5235 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.726e-05/0.335, allocations: 11.3 kB / 0.5235 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.68e-06/0.335, allocations: 5.516 kB / 0.5235 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.233e-05/0.335, allocations: 4.422 kB / 0.5235 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.025e-05/0.3351, allocations: 6.922 kB / 0.5235 GB, free: 15.29 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.544e-05/0.3352, allocations: 115.3 kB / 0.5236 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.323e-05/0.3352, allocations: 7.953 kB / 0.5237 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002597/0.3355, allocations: 100.4 kB / 0.5238 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.3355, allocations: 0 / 0.5238 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.3355, allocations: 1.438 kB / 0.5238 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.3355, allocations: 0 / 0.5238 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004737/0.336, allocations: 358.3 kB / 0.5241 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.336, allocations: 0 / 0.5241 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.471e-05/0.336, allocations: 12.45 kB / 0.5241 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.3361, allocations: 1.156 kB / 0.5241 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.3361, allocations: 6.078 kB / 0.5241 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.45e-06/0.3361, allocations: 7.938 kB / 0.5241 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3361, allocations: 0 / 0.5241 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002523/0.3363, allocations: 182.9 kB / 0.5243 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.172e-05/0.3364, allocations: 83.27 kB / 0.5244 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.723e-05/0.3364, allocations: 0 / 0.5244 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.304e-05/0.3365, allocations: 13.55 kB / 0.5244 GB, free: 14.51 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.63e-05/0.3366, allocations: 4.891 kB / 0.5244 GB, free: 14.51 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.558e-06/0.3366, allocations: 5.438 kB / 0.5244 GB, free: 14.5 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.785e-05/0.3367, allocations: 106.8 kB / 0.5245 GB, free: 14.42 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3367, allocations: 3.938 kB / 0.5245 GB, free: 14.41 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002486/0.3369, allocations: 20.44 kB / 0.5245 GB, free: 14.41 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.001984/0.3389, allocations: 1.054 MB / 0.5256 GB, free: 13.61 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002116/0.3391, allocations: 61.55 kB / 0.5256 GB, free: 13.59 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.3392, allocations: 0 / 0.5256 GB, free: 13.59 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.911e-05/0.3392, allocations: 25.94 kB / 0.5256 GB, free: 13.59 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003434/0.3396, allocations: 19.19 kB / 0.5257 GB, free: 13.58 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001655/0.3413, allocations: 1.406 MB / 0.527 GB, free: 12.34 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003588/0.3416, allocations: 0.7002 MB / 0.5277 GB, free: 11.63 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.174e-05/0.3417, allocations: 13.16 kB / 0.5277 GB, free: 11.63 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.356e-05/0.3418, allocations: 24.84 kB / 0.5277 GB, free: 11.62 MB / 398.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3418, allocations: 0 / 0.5277 GB, free: 11.62 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02515/0.3669, allocations: 2.778 MB / 0.5305 GB, free: 10.45 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.964/8.331, allocations: 7.516 kB / 0.5305 GB, free: 10.45 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test19.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test19/Test19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches