Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.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.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test5",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.001705/0.001705, 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.002035/0.002035, 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.467/1.467, allocations: 222.9 MB / 242.4 MB, free: 15.08 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.2206/0.2206, allocations: 44.18 MB / 336.8 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001884/0.001884, allocations: 59.89 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3395/0.3414, allocations: 60.82 MB / 0.5185 GB, free: 3.297 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test5): time 0.004201/0.3456, allocations: 1.577 MB / 0.52 GB, free: 2.211 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001252/0.3469, allocations: 418.4 kB / 0.5204 GB, free: 1.938 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.211e-05/0.347, allocations: 0 / 0.5204 GB, free: 1.938 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003793/0.3474, allocations: 94.23 kB / 0.5205 GB, free: 1.918 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003087/0.3478, allocations: 74.25 kB / 0.5206 GB, free: 1.891 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005484/0.3484, allocations: 116.4 kB / 0.5207 GB, free: 1.832 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002496/0.3486, allocations: 76.53 kB / 0.5207 GB, free: 1.805 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001288/0.3488, allocations: 18.69 kB / 0.5208 GB, free: 1.797 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.41e-05/0.3489, allocations: 38.31 kB / 0.5208 GB, free: 1.781 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000144/0.349, allocations: 54.56 kB / 0.5208 GB, free: 1.766 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.371e-05/0.3491, allocations: 2.375 kB / 0.5208 GB, free: 1.766 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001529/0.3492, allocations: 40.16 kB / 0.5209 GB, free: 1.758 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.534e-05/0.3493, allocations: 23.38 kB / 0.5209 GB, free: 1.746 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.999e-05/0.3494, allocations: 30.84 kB / 0.5209 GB, free: 1.723 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002917/0.3497, allocations: 113.3 kB / 0.521 GB, free: 1.672 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.3497, allocations: 1.859 kB / 0.521 GB, free: 1.672 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3497, allocations: 0 / 0.521 GB, free: 1.672 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.3497, allocations: 0 / 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.0005445/0.3503, allocations: 418.3 kB / 0.5214 GB, free: 1.258 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.3504, allocations: 8.953 kB / 0.5215 GB, free: 1.258 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.55e-05/0.3504, allocations: 33.88 kB / 0.5215 GB, free: 1.219 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.106e-05/0.3505, allocations: 18.03 kB / 0.5215 GB, free: 1.207 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001879/0.3507, allocations: 194.9 kB / 0.5217 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/0.3507, allocations: 5.375 kB / 0.5217 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.456e-05/0.3507, allocations: 11.53 kB / 0.5217 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001946/0.3509, allocations: 60.58 kB / 0.5218 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.351, allocations: 2.328 kB / 0.5218 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.351, allocations: 4 kB / 0.5218 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.351, allocations: 1.125 kB / 0.5218 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001634/0.3512, allocations: 25.08 kB / 0.5218 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004879/0.3517, allocations: 298.8 kB / 0.5221 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000161/0.3519, allocations: 49.83 kB / 0.5221 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.771e-05/0.352, allocations: 22.36 kB / 0.5221 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.827e-05/0.352, allocations: 1.891 kB / 0.5221 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.141e-05/0.352, allocations: 31.75 kB / 0.5222 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 2.304e-06/0.3521, allocations: 0 / 0.5222 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.00136/0.3534, allocations: 239.8 kB / 0.5224 GB, free: 464 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.26e-05/0.3535, allocations: 56.7 kB / 0.5225 GB, free: 396 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000327/0.3538, allocations: 229.6 kB / 0.5227 GB, free: 252 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.364e-05/0.3539, allocations: 25.7 kB / 0.5227 GB, free: 220 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.324e-05/0.3539, allocations: 109.2 kB / 0.5228 GB, free: 116 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.035e-05/0.354, allocations: 29.48 kB / 0.5228 GB, free: 92 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.725e-05/0.3541, allocations: 25.66 kB / 0.5229 GB, free: 68 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002091/0.3543, allocations: 326.7 kB / 0.5232 GB, free: 15.75 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001417/0.3544, allocations: 34.02 kB / 0.5232 GB, free: 15.73 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001122/0.3546, allocations: 27.95 kB / 0.5232 GB, free: 15.73 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002489/0.3548, allocations: 71.5 kB / 0.5233 GB, free: 15.7 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.3548, allocations: 0 / 0.5233 GB, free: 15.7 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003639/0.3552, allocations: 113.2 kB / 0.5234 GB, free: 15.64 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.448e-05/0.3553, allocations: 16.67 kB / 0.5234 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.3553, allocations: 0 / 0.5234 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.3553, allocations: 0 / 0.5234 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001466/0.3555, allocations: 22.34 kB / 0.5234 GB, free: 15.63 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.138e-05/0.3555, allocations: 3.938 kB / 0.5235 GB, free: 15.63 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.681e-05/0.3556, allocations: 5.156 kB / 0.5235 GB, free: 15.63 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.194e-05/0.3556, allocations: 2.625 kB / 0.5235 GB, free: 15.63 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.0001756/0.3558, allocations: 130.3 kB / 0.5236 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.402e-05/0.3558, allocations: 17.16 kB / 0.5236 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004995/0.3564, allocations: 132 kB / 0.5237 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-06/0.3564, allocations: 1.734 kB / 0.5237 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.014e-05/0.3564, allocations: 5.094 kB / 0.5237 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.362e-05/0.3564, allocations: 8.734 kB / 0.5237 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008822/0.3573, allocations: 422.3 kB / 0.5241 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.672e-06/0.3573, allocations: 5.062 kB / 0.5241 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001105/0.3575, allocations: 16.94 kB / 0.5242 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.3575, allocations: 1.406 kB / 0.5242 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.3575, allocations: 5.062 kB / 0.5242 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.3575, allocations: 1.906 kB / 0.5242 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.542e-06/0.3575, allocations: 0 / 0.5242 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004753/0.358, allocations: 222.2 kB / 0.5244 GB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.634e-05/0.3581, allocations: 89.02 kB / 0.5245 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.972e-05/0.3581, allocations: 5.938 kB / 0.5245 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001171/0.3583, allocations: 5.109 kB / 0.5245 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.504e-05/0.3583, allocations: 7.094 kB / 0.5245 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.198e-06/0.3584, allocations: 2.125 kB / 0.5245 GB, free: 14.76 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002476/0.3586, allocations: 173.4 kB / 0.5247 GB, free: 14.66 MB / 398.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.3586, allocations: 0 / 0.5247 GB, free: 14.66 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004723/0.3591, allocations: 27.88 kB / 0.5247 GB, free: 14.65 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.002869/0.362, allocations: 1.091 MB / 0.5257 GB, free: 13.83 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003036/0.3623, allocations: 71.8 kB / 0.5258 GB, free: 13.82 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.3623, allocations: 0 / 0.5258 GB, free: 13.82 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001325/0.3625, allocations: 46 kB / 0.5259 GB, free: 13.8 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005103/0.363, allocations: 18.89 kB / 0.5259 GB, free: 13.79 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002639/0.3657, allocations: 1.716 MB / 0.5276 GB, free: 12.44 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000484/0.3662, allocations: 0.7108 MB / 0.5282 GB, free: 11.74 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001041/0.3663, allocations: 25.92 kB / 0.5283 GB, free: 11.73 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.804e-05/0.3664, allocations: 36.03 kB / 0.5283 GB, free: 11.71 MB / 398.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3664, allocations: 0 / 0.5283 GB, free: 11.71 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02478/0.3912, allocations: 3.151 MB / 0.5314 GB, free: 10.29 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.902/8.293, allocations: 7.359 kB / 0.5314 GB, free: 10.29 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test5.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches