Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.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.Test18,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test18",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test18,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test18",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.001252/0.001252, allocations: 117.2 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.001251/0.001252, allocations: 180.2 kB / 18.71 MB, free: 4.336 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.501/1.501, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.2278/0.2278, allocations: 44.18 MB / 336.8 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001849/0.001849, allocations: 67.89 kB / 470.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3398/0.3417, allocations: 60.83 MB / 0.5185 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test18): time 0.002931/0.3447, allocations: 1.582 MB / 0.52 GB, free: 2.199 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001372/0.346, allocations: 1.033 MB / 0.521 GB, free: 1.469 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.923e-05/0.3461, allocations: 1.125 kB / 0.521 GB, free: 1.469 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002312/0.3464, allocations: 24.89 kB / 0.521 GB, free: 1.453 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001849/0.3466, allocations: 46.09 kB / 0.5211 GB, free: 1.426 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002955/0.3469, allocations: 112.3 kB / 0.5212 GB, free: 1.371 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001464/0.347, allocations: 66.5 kB / 0.5212 GB, free: 1.344 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.3471, allocations: 21.23 kB / 0.5213 GB, free: 1.336 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.645e-05/0.3472, allocations: 28.42 kB / 0.5213 GB, free: 1.32 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001389/0.3473, allocations: 31.94 kB / 0.5213 GB, free: 1.305 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.764e-05/0.3474, allocations: 8.75 kB / 0.5213 GB, free: 1.301 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001135/0.3475, allocations: 50.83 kB / 0.5214 GB, free: 1.285 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.745e-05/0.3475, allocations: 15.12 kB / 0.5214 GB, free: 1.277 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.766e-05/0.3476, allocations: 27.48 kB / 0.5214 GB, free: 1.258 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002015/0.3478, allocations: 105.9 kB / 0.5215 GB, free: 1.215 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.3478, allocations: 0 / 0.5215 GB, free: 1.215 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3478, allocations: 1.094 kB / 0.5215 GB, free: 1.215 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.3478, allocations: 0 / 0.5215 GB, free: 1.215 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003944/0.3482, allocations: 391 kB / 0.5219 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/0.3483, allocations: 14.22 kB / 0.5219 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.084e-05/0.3483, allocations: 32.91 kB / 0.5219 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.412e-05/0.3483, allocations: 9.875 kB / 0.5219 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001459/0.3485, allocations: 193 kB / 0.5221 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.3485, allocations: 9.719 kB / 0.5221 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.074e-05/0.3485, allocations: 12.14 kB / 0.5222 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000158/0.3487, allocations: 75.56 kB / 0.5222 GB, free: 500 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.3487, allocations: 1 kB / 0.5222 GB, free: 500 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.3487, allocations: 8.578 kB / 0.5222 GB, free: 492 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.3488, allocations: 5.094 kB / 0.5222 GB, free: 488 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000111/0.3489, allocations: 40.14 kB / 0.5223 GB, free: 476 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003522/0.3492, allocations: 300.8 kB / 0.5226 GB, free: 180 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001183/0.3494, allocations: 59.62 kB / 0.5226 GB, free: 140 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.427e-05/0.3494, allocations: 25.44 kB / 0.5226 GB, free: 124 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.769e-05/0.3495, allocations: 1.656 kB / 0.5226 GB, free: 124 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.988e-05/0.3495, allocations: 36.34 kB / 0.5227 GB, free: 80 kB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.203e-06/0.3495, allocations: 0 / 0.5227 GB, free: 80 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006824/0.3502, allocations: 189.9 kB / 0.5229 GB, free: 15.99 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.985e-05/0.3503, allocations: 82.39 kB / 0.5229 GB, free: 15.89 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001605/0.3504, allocations: 140.1 kB / 0.5231 GB, free: 15.78 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.527e-05/0.3505, allocations: 31.62 kB / 0.5231 GB, free: 15.75 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.236e-05/0.3505, allocations: 93.39 kB / 0.5232 GB, free: 15.66 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.761e-05/0.3506, allocations: 32.86 kB / 0.5232 GB, free: 15.63 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.498e-05/0.3506, allocations: 20.98 kB / 0.5232 GB, free: 15.61 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001481/0.3508, allocations: 320.3 kB / 0.5236 GB, free: 15.3 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.508e-05/0.3509, allocations: 30.28 kB / 0.5236 GB, free: 15.29 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000101/0.351, allocations: 47.16 kB / 0.5236 GB, free: 15.26 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001753/0.3512, allocations: 66.7 kB / 0.5237 GB, free: 15.24 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.3512, allocations: 0 / 0.5237 GB, free: 15.24 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002323/0.3514, allocations: 107.7 kB / 0.5238 GB, free: 15.18 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.3514, allocations: 5.922 kB / 0.5238 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.3515, allocations: 1.062 kB / 0.5238 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.3515, allocations: 4.031 kB / 0.5238 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001067/0.3516, allocations: 22.3 kB / 0.5238 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.3516, allocations: 3.938 kB / 0.5238 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.421e-05/0.3517, allocations: 5.016 kB / 0.5238 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.927e-06/0.3517, allocations: 2.844 kB / 0.5238 GB, free: 15.17 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.0001005/0.3518, allocations: 117.8 kB / 0.5239 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.485e-05/0.3518, allocations: 11.86 kB / 0.524 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003177/0.3521, allocations: 133.3 kB / 0.5241 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.3522, allocations: 0 / 0.5241 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.196e-06/0.3522, allocations: 4.734 kB / 0.5241 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.3522, allocations: 0.8125 kB / 0.5241 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005435/0.3527, allocations: 399.4 kB / 0.5245 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.3527, allocations: 0.5625 kB / 0.5245 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.086e-05/0.3528, allocations: 25.16 kB / 0.5245 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.3528, allocations: 0.6094 kB / 0.5245 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.3528, allocations: 5.062 kB / 0.5245 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.3529, allocations: 1.719 kB / 0.5245 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.3529, allocations: 3.938 kB / 0.5245 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002759/0.3531, allocations: 204.2 kB / 0.5247 GB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.181e-05/0.3532, allocations: 88.64 kB / 0.5248 GB, free: 14.35 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/0.3532, allocations: 1.312 kB / 0.5248 GB, free: 14.35 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.085e-05/0.3533, allocations: 9.906 kB / 0.5248 GB, free: 14.35 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.198e-05/0.3534, allocations: 12.97 kB / 0.5248 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-06/0.3534, allocations: 2.125 kB / 0.5248 GB, free: 14.34 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.841e-05/0.3535, allocations: 110.9 kB / 0.5249 GB, free: 14.25 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3535, allocations: 0 / 0.5249 GB, free: 14.25 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002689/0.3538, allocations: 23.41 kB / 0.5249 GB, free: 14.25 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 (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.002045/0.3558, allocations: 1.087 MB / 0.526 GB, free: 13.43 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002623/0.3561, allocations: 75.19 kB / 0.5261 GB, free: 13.41 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3561, allocations: 2.125 kB / 0.5261 GB, free: 13.41 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.598e-05/0.3562, allocations: 42.31 kB / 0.5261 GB, free: 13.4 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003736/0.3566, allocations: 18.83 kB / 0.5261 GB, free: 13.4 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001777/0.3584, allocations: 1.505 MB / 0.5276 GB, free: 12.11 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000321/0.3587, allocations: 0.702 MB / 0.5283 GB, free: 11.41 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.907e-05/0.3588, allocations: 21.28 kB / 0.5283 GB, free: 11.4 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.44e-05/0.3589, allocations: 30.48 kB / 0.5283 GB, free: 11.38 MB / 398.1 MB Notification: Performance of SimCode: time 5.92e-07/0.3589, allocations: 1.094 kB / 0.5283 GB, free: 11.38 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02578/0.3847, allocations: 2.985 MB / 0.5313 GB, free: 10.03 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.879/8.264, allocations: 13.47 kB / 0.5313 GB, free: 10.02 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18_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_Test18.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test18/Test18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches