Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.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.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test6",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.001187/0.001187, allocations: 108.8 kB / 17.77 MB, free: 5.266 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.00134/0.00134, allocations: 184.1 kB / 18.71 MB, free: 4.34 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.325/1.325, allocations: 222.9 MB / 242.4 MB, free: 15.06 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.2149/0.2149, allocations: 44.19 MB / 336.8 MB, free: 2.699 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0014/0.0014, allocations: 59.91 kB / 470.1 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3418/0.3432, allocations: 60.83 MB / 0.5185 GB, free: 3.301 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test6): time 0.002889/0.3462, allocations: 1.614 MB / 0.52 GB, free: 2.184 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007436/0.3469, allocations: 428.4 kB / 0.5204 GB, free: 1.902 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.989e-05/0.347, allocations: 1.062 kB / 0.5204 GB, free: 1.902 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003402/0.3474, allocations: 98.58 kB / 0.5205 GB, free: 1.879 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002155/0.3476, allocations: 71.55 kB / 0.5206 GB, free: 1.855 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003281/0.348, allocations: 117.1 kB / 0.5207 GB, free: 1.797 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002228/0.3482, allocations: 89.22 kB / 0.5208 GB, free: 1.766 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001403/0.3483, allocations: 28.77 kB / 0.5208 GB, free: 1.754 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.25e-05/0.3484, allocations: 41.81 kB / 0.5209 GB, free: 1.738 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001301/0.3486, allocations: 61.98 kB / 0.5209 GB, free: 1.719 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.082e-05/0.3486, allocations: 4.031 kB / 0.5209 GB, free: 1.719 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001131/0.3487, allocations: 44.64 kB / 0.521 GB, free: 1.707 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.589e-05/0.3488, allocations: 22.94 kB / 0.521 GB, free: 1.699 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.275e-05/0.3488, allocations: 49.66 kB / 0.521 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002556/0.3491, allocations: 132.2 kB / 0.5212 GB, free: 1.602 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.3491, allocations: 0 / 0.5212 GB, free: 1.602 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.3491, allocations: 0 / 0.5212 GB, free: 1.602 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.257e-05/0.3491, allocations: 1.156 kB / 0.5212 GB, free: 1.602 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005064/0.3496, allocations: 428.9 kB / 0.5216 GB, free: 1.184 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.3497, allocations: 9.062 kB / 0.5216 GB, free: 1.184 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.219e-05/0.3497, allocations: 38.86 kB / 0.5216 GB, free: 1.141 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.048e-05/0.3498, allocations: 10.55 kB / 0.5216 GB, free: 1.137 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001674/0.35, allocations: 210.7 kB / 0.5218 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.35, allocations: 6.656 kB / 0.5218 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.265e-05/0.35, allocations: 7.906 kB / 0.5218 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001843/0.3502, allocations: 78.02 kB / 0.5219 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/0.3502, allocations: 1.938 kB / 0.5219 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.3502, allocations: 5.219 kB / 0.5219 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.411e-06/0.3502, allocations: 0.9375 kB / 0.5219 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001266/0.3504, allocations: 45.52 kB / 0.522 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004459/0.3508, allocations: 351.3 kB / 0.5223 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001381/0.351, allocations: 70.81 kB / 0.5224 GB, free: 492 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.846e-05/0.3511, allocations: 23.83 kB / 0.5224 GB, free: 480 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.556e-05/0.3511, allocations: 1.156 kB / 0.5224 GB, free: 480 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.75e-05/0.3511, allocations: 44.42 kB / 0.5224 GB, free: 428 kB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.3511, allocations: 0 / 0.5224 GB, free: 428 kB / 382.1 MB Notification: Performance of matching and sorting (n=13): time 0.001036/0.3522, allocations: 335.6 kB / 0.5228 GB, free: 292 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.538e-05/0.3522, allocations: 54.25 kB / 0.5228 GB, free: 228 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001928/0.3524, allocations: 228.2 kB / 0.523 GB, free: 88 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.103e-05/0.3524, allocations: 27.89 kB / 0.5231 GB, free: 56 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.374e-05/0.3525, allocations: 113.9 kB / 0.5232 GB, free: 15.95 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.644e-05/0.3525, allocations: 47.95 kB / 0.5232 GB, free: 15.91 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.014e-05/0.3526, allocations: 26.23 kB / 0.5232 GB, free: 15.89 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000133/0.3527, allocations: 327.9 kB / 0.5236 GB, free: 15.57 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001125/0.3529, allocations: 47.27 kB / 0.5236 GB, free: 15.55 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001017/0.353, allocations: 45.08 kB / 0.5236 GB, free: 15.54 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002375/0.3532, allocations: 108.6 kB / 0.5237 GB, free: 15.5 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.3532, allocations: 0 / 0.5237 GB, free: 15.5 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002832/0.3535, allocations: 157.8 kB / 0.5239 GB, free: 15.43 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.3535, allocations: 6.828 kB / 0.5239 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.3535, allocations: 3.938 kB / 0.5239 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.3536, allocations: 1.031 kB / 0.5239 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001241/0.3537, allocations: 29.69 kB / 0.5239 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.3537, allocations: 1.688 kB / 0.5239 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.866e-05/0.3538, allocations: 13.2 kB / 0.5239 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.227e-06/0.3538, allocations: 3.156 kB / 0.5239 GB, free: 15.41 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 (13): * Single equations (assignments): 13 * 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.0001131/0.3539, allocations: 131.9 kB / 0.5241 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.023e-05/0.3539, allocations: 13.47 kB / 0.5241 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003969/0.3543, allocations: 190.5 kB / 0.5243 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.596e-06/0.3544, allocations: 5.094 kB / 0.5243 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.3544, allocations: 0.75 kB / 0.5243 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.3544, allocations: 6.031 kB / 0.5243 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006744/0.3551, allocations: 492.5 kB / 0.5248 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.3551, allocations: 0.9375 kB / 0.5248 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.333e-05/0.3552, allocations: 25.34 kB / 0.5248 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.013e-05/0.3552, allocations: 5.719 kB / 0.5248 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/0.3552, allocations: 5.219 kB / 0.5248 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/0.3552, allocations: 9.953 kB / 0.5248 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3552, allocations: 1.188 kB / 0.5248 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003414/0.3556, allocations: 254.8 kB / 0.525 GB, free: 14.6 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.517e-05/0.3556, allocations: 89.62 kB / 0.5251 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.122e-05/0.3557, allocations: 2.562 kB / 0.5251 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.9e-05/0.3557, allocations: 8.672 kB / 0.5251 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.15e-05/0.3558, allocations: 13.06 kB / 0.5251 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.878e-06/0.3558, allocations: 4.531 kB / 0.5252 GB, free: 14.49 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001497/0.356, allocations: 174 kB / 0.5253 GB, free: 14.39 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.356, allocations: 6.344 kB / 0.5253 GB, free: 14.39 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000264/0.3562, allocations: 27.45 kB / 0.5254 GB, free: 14.38 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 (13): * Single equations (assignments): 13 * 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.001471/0.3577, allocations: 1.132 MB / 0.5265 GB, free: 13.55 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002898/0.358, allocations: 122.3 kB / 0.5266 GB, free: 13.51 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.358, allocations: 3.938 kB / 0.5266 GB, free: 13.51 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001199/0.3582, allocations: 64.27 kB / 0.5266 GB, free: 13.49 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003583/0.3585, allocations: 18.11 kB / 0.5267 GB, free: 13.48 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00216/0.3607, allocations: 1.898 MB / 0.5285 GB, free: 12.05 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000301/0.361, allocations: 0.7192 MB / 0.5292 GB, free: 11.36 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001034/0.3611, allocations: 29.97 kB / 0.5292 GB, free: 11.34 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.366e-05/0.3612, allocations: 45.19 kB / 0.5293 GB, free: 11.31 MB / 398.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3612, allocations: 0 / 0.5293 GB, free: 11.31 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01952/0.3807, allocations: 3.529 MB / 0.5327 GB, free: 9.602 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.725/8.106, allocations: 10.48 kB / 0.5327 GB, free: 9.598 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6_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_Test6.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches