Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.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.Test26,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test26",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test26,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test26",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.001478/0.001479, allocations: 113.8 kB / 17.77 MB, free: 5.367 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.001657/0.001657, allocations: 183.1 kB / 18.7 MB, free: 4.441 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.357/1.357, allocations: 222.9 MB / 242.4 MB, free: 15.04 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.2099/0.2099, allocations: 44.18 MB / 336.7 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 75.89 kB / 470.1 MB, free: 13.63 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3818/0.383, allocations: 60.83 MB / 0.5184 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test26): time 0.003876/0.3869, allocations: 1.581 MB / 0.52 GB, free: 2.199 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001028/0.388, allocations: 418.8 kB / 0.5204 GB, free: 1.926 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.311e-05/0.3881, allocations: 1.406 kB / 0.5204 GB, free: 1.926 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003219/0.3884, allocations: 72.28 kB / 0.5205 GB, free: 1.91 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003002/0.3888, allocations: 67.25 kB / 0.5205 GB, free: 1.883 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004714/0.3893, allocations: 111.2 kB / 0.5206 GB, free: 1.828 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002238/0.3895, allocations: 74.88 kB / 0.5207 GB, free: 1.801 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001199/0.3896, allocations: 19.22 kB / 0.5207 GB, free: 1.793 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.918e-05/0.3897, allocations: 38.31 kB / 0.5208 GB, free: 1.777 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001447/0.3899, allocations: 53.84 kB / 0.5208 GB, free: 1.762 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.291e-05/0.3899, allocations: 2.906 kB / 0.5208 GB, free: 1.762 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001414/0.3901, allocations: 43.59 kB / 0.5208 GB, free: 1.75 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.487e-05/0.3901, allocations: 23.3 kB / 0.5209 GB, free: 1.738 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.777e-05/0.3902, allocations: 30.22 kB / 0.5209 GB, free: 1.715 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002648/0.3905, allocations: 99.44 kB / 0.521 GB, free: 1.676 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.3905, allocations: 1.094 kB / 0.521 GB, free: 1.676 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.055e-06/0.3905, allocations: 0.7969 kB / 0.521 GB, free: 1.676 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.082e-05/0.3905, allocations: 3.938 kB / 0.521 GB, free: 1.672 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.0004917/0.391, allocations: 414 kB / 0.5214 GB, free: 1.262 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.064e-05/0.3911, allocations: 9.125 kB / 0.5214 GB, free: 1.262 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.851e-05/0.3911, allocations: 33.62 kB / 0.5214 GB, free: 1.223 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.883e-05/0.3912, allocations: 13.89 kB / 0.5214 GB, free: 1.215 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001992/0.3914, allocations: 197.1 kB / 0.5216 GB, free: 1 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.3914, allocations: 3.234 kB / 0.5216 GB, free: 1 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.612e-05/0.3914, allocations: 10.38 kB / 0.5216 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001735/0.3916, allocations: 52.72 kB / 0.5217 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.3917, allocations: 1.031 kB / 0.5217 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.3917, allocations: 3.938 kB / 0.5217 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.3917, allocations: 1.031 kB / 0.5217 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001375/0.3918, allocations: 30.77 kB / 0.5217 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004402/0.3923, allocations: 304.2 kB / 0.522 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001322/0.3924, allocations: 49.14 kB / 0.5221 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.911e-05/0.3925, allocations: 16.62 kB / 0.5221 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.558e-05/0.3926, allocations: 1.094 kB / 0.5221 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.219e-05/0.3926, allocations: 39.08 kB / 0.5221 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.723e-06/0.3926, allocations: 1.188 kB / 0.5221 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.001183/0.3938, allocations: 239.3 kB / 0.5224 GB, free: 472 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.089e-05/0.3938, allocations: 56.47 kB / 0.5224 GB, free: 404 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002411/0.3941, allocations: 214.6 kB / 0.5226 GB, free: 260 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.19e-05/0.3941, allocations: 25.7 kB / 0.5226 GB, free: 228 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.226e-05/0.3942, allocations: 109.7 kB / 0.5227 GB, free: 124 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.677e-05/0.3942, allocations: 24.16 kB / 0.5228 GB, free: 104 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.236e-05/0.3943, allocations: 26.17 kB / 0.5228 GB, free: 80 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.3944, allocations: 325.3 kB / 0.5231 GB, free: 15.76 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001265/0.3946, allocations: 26.97 kB / 0.5231 GB, free: 15.75 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001159/0.3947, allocations: 34.66 kB / 0.5232 GB, free: 15.74 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002536/0.395, allocations: 75.73 kB / 0.5232 GB, free: 15.71 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.395, allocations: 0 / 0.5232 GB, free: 15.71 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003495/0.3953, allocations: 109.6 kB / 0.5233 GB, free: 15.66 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.3954, allocations: 6.062 kB / 0.5233 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.3954, allocations: 80 / 0.5233 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.3954, allocations: 0 / 0.5233 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000147/0.3956, allocations: 25.11 kB / 0.5234 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/0.3956, allocations: 9.047 kB / 0.5234 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.802e-05/0.3957, allocations: 5.469 kB / 0.5234 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.081e-05/0.3957, allocations: 2.219 kB / 0.5234 GB, free: 15.64 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 0.0001346/0.3958, allocations: 127.1 kB / 0.5235 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.319e-05/0.3959, allocations: 14.28 kB / 0.5235 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000388/0.3963, allocations: 122.1 kB / 0.5236 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.3963, allocations: 6.234 kB / 0.5236 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.068e-05/0.3963, allocations: 3.938 kB / 0.5236 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.3963, allocations: 5.25 kB / 0.5236 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007575/0.3971, allocations: 415.3 kB / 0.524 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.672e-06/0.3971, allocations: 5.812 kB / 0.524 GB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001002/0.3972, allocations: 16.03 kB / 0.5241 GB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.3973, allocations: 1.031 kB / 0.5241 GB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.39e-05/0.3973, allocations: 10.91 kB / 0.5241 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.3973, allocations: 1.156 kB / 0.5241 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.3973, allocations: 0 / 0.5241 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003725/0.3977, allocations: 213 kB / 0.5243 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.186e-05/0.3978, allocations: 89.39 kB / 0.5244 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.557e-05/0.3978, allocations: 2.281 kB / 0.5244 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001147/0.3979, allocations: 8.594 kB / 0.5244 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.816e-05/0.398, allocations: 18.22 kB / 0.5244 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.107e-05/0.398, allocations: 6.469 kB / 0.5244 GB, free: 14.79 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001756/0.3982, allocations: 156.8 kB / 0.5245 GB, free: 14.69 MB / 398.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.3982, allocations: 0 / 0.5245 GB, free: 14.69 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004226/0.3986, allocations: 20.31 kB / 0.5246 GB, free: 14.69 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.002108/0.4008, allocations: 1.096 MB / 0.5256 GB, free: 13.87 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003223/0.4011, allocations: 74.98 kB / 0.5257 GB, free: 13.85 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.4011, allocations: 0 / 0.5257 GB, free: 13.85 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001372/0.4013, allocations: 42.28 kB / 0.5258 GB, free: 13.84 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005026/0.4018, allocations: 19.14 kB / 0.5258 GB, free: 13.83 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002617/0.4044, allocations: 1.681 MB / 0.5274 GB, free: 12.47 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003833/0.4048, allocations: 0.7079 MB / 0.5281 GB, free: 11.77 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001016/0.4049, allocations: 16.02 kB / 0.5281 GB, free: 11.77 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.86e-05/0.405, allocations: 44.38 kB / 0.5282 GB, free: 11.73 MB / 398.1 MB Notification: Performance of SimCode: time 3.91e-07/0.405, allocations: 0 / 0.5282 GB, free: 11.73 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02876/0.4338, allocations: 3.072 MB / 0.5312 GB, free: 10.37 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.603/8.037, allocations: 20.2 kB / 0.5312 GB, free: 10.36 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test26.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test26/Test26.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches