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.001245/0.001244, allocations: 117.2 kB / 17.78 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.001185/0.001185, allocations: 184.2 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.387/1.387, allocations: 222.9 MB / 242.4 MB, free: 15.05 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.2412/0.2412, allocations: 44.19 MB / 336.8 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002003/0.002003, allocations: 59.91 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.323/0.325, allocations: 60.83 MB / 0.5185 GB, free: 3.305 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test6): time 0.002636/0.3276, allocations: 1.621 MB / 0.52 GB, free: 2.184 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006655/0.3283, allocations: 424.2 kB / 0.5204 GB, free: 1.906 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.28e-05/0.3284, allocations: 1.062 kB / 0.5204 GB, free: 1.906 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002803/0.3287, allocations: 94.19 kB / 0.5205 GB, free: 1.887 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002059/0.3289, allocations: 75.59 kB / 0.5206 GB, free: 1.859 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00029/0.3292, allocations: 113.5 kB / 0.5207 GB, free: 1.801 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001601/0.3294, allocations: 89.75 kB / 0.5208 GB, free: 1.77 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.3295, allocations: 32.02 kB / 0.5208 GB, free: 1.754 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.838e-05/0.3295, allocations: 36.81 kB / 0.5209 GB, free: 1.742 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.961e-05/0.3297, allocations: 67.09 kB / 0.5209 GB, free: 1.719 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.934e-05/0.3297, allocations: 3.906 kB / 0.5209 GB, free: 1.719 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.369e-05/0.3298, allocations: 41.41 kB / 0.521 GB, free: 1.711 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.465e-05/0.3298, allocations: 26.95 kB / 0.521 GB, free: 1.699 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.532e-05/0.3299, allocations: 40.41 kB / 0.521 GB, free: 1.668 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002034/0.3301, allocations: 132.5 kB / 0.5212 GB, free: 1.609 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.3301, allocations: 0.7031 kB / 0.5212 GB, free: 1.609 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3301, allocations: 0 / 0.5212 GB, free: 1.609 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.3301, allocations: 4 kB / 0.5212 GB, free: 1.605 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.0004285/0.3306, allocations: 433.1 kB / 0.5216 GB, free: 1.184 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.3306, allocations: 10.16 kB / 0.5216 GB, free: 1.184 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.662e-05/0.3306, allocations: 34.23 kB / 0.5216 GB, free: 1.145 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.546e-05/0.3307, allocations: 15.22 kB / 0.5216 GB, free: 1.137 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001646/0.3308, allocations: 208.8 kB / 0.5218 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/0.3309, allocations: 7.812 kB / 0.5218 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.006e-05/0.3309, allocations: 8.609 kB / 0.5219 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001743/0.3311, allocations: 85.27 kB / 0.5219 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.3311, allocations: 0.7188 kB / 0.5219 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.3311, allocations: 1.812 kB / 0.5219 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/0.3311, allocations: 1.031 kB / 0.5219 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001402/0.3313, allocations: 45.47 kB / 0.522 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004375/0.3317, allocations: 346.8 kB / 0.5223 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001392/0.3319, allocations: 67.31 kB / 0.5224 GB, free: 500 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.625e-05/0.3319, allocations: 28.2 kB / 0.5224 GB, free: 484 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.599e-05/0.332, allocations: 1.062 kB / 0.5224 GB, free: 484 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.208e-05/0.332, allocations: 36.45 kB / 0.5224 GB, free: 440 kB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.332, allocations: 1.188 kB / 0.5224 GB, free: 440 kB / 382.1 MB Notification: Performance of matching and sorting (n=13): time 0.001021/0.333, allocations: 334.5 kB / 0.5228 GB, free: 304 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.415e-05/0.333, allocations: 54.23 kB / 0.5228 GB, free: 240 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001891/0.3332, allocations: 229.4 kB / 0.523 GB, free: 100 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.999e-06/0.3333, allocations: 29.7 kB / 0.5231 GB, free: 64 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.192e-05/0.3333, allocations: 111.1 kB / 0.5232 GB, free: 15.96 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.558e-05/0.3334, allocations: 47.72 kB / 0.5232 GB, free: 15.92 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.357e-05/0.3335, allocations: 29.81 kB / 0.5232 GB, free: 15.9 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001488/0.3336, allocations: 324.2 kB / 0.5235 GB, free: 15.58 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001056/0.3337, allocations: 43.64 kB / 0.5236 GB, free: 15.57 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001088/0.3338, allocations: 45.92 kB / 0.5236 GB, free: 15.56 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002138/0.3341, allocations: 108.5 kB / 0.5237 GB, free: 15.52 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.3341, allocations: 4 kB / 0.5237 GB, free: 15.51 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002951/0.3344, allocations: 153.7 kB / 0.5239 GB, free: 15.44 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.3344, allocations: 6.062 kB / 0.5239 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.3344, allocations: 3.938 kB / 0.5239 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.3344, allocations: 1.688 kB / 0.5239 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001282/0.3346, allocations: 29.02 kB / 0.5239 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.3346, allocations: 2.359 kB / 0.5239 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.42e-05/0.3346, allocations: 4.688 kB / 0.5239 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.139e-05/0.3346, allocations: 7.484 kB / 0.5239 GB, free: 15.43 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.0001265/0.3348, allocations: 134.8 kB / 0.5241 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.106e-05/0.3348, allocations: 23.19 kB / 0.5241 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003964/0.3352, allocations: 192.7 kB / 0.5243 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.3352, allocations: 6.422 kB / 0.5243 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.3353, allocations: 0 / 0.5243 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.3353, allocations: 2.672 kB / 0.5243 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000691/0.336, allocations: 0.4924 MB / 0.5248 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.336, allocations: 1.156 kB / 0.5248 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.998e-05/0.3361, allocations: 28.3 kB / 0.5248 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.3361, allocations: 1.219 kB / 0.5248 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.3361, allocations: 2.922 kB / 0.5248 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.093e-06/0.3361, allocations: 1.188 kB / 0.5248 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.3361, allocations: 2.188 kB / 0.5248 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003367/0.3364, allocations: 261.9 kB / 0.5251 GB, free: 14.6 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.354e-05/0.3365, allocations: 89.22 kB / 0.5251 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.057e-05/0.3365, allocations: 2.562 kB / 0.5251 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.457e-05/0.3366, allocations: 9.562 kB / 0.5251 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.537e-05/0.3367, allocations: 12.56 kB / 0.5252 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.987e-06/0.3367, allocations: 8.25 kB / 0.5252 GB, free: 14.49 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001536/0.3369, allocations: 170.4 kB / 0.5253 GB, free: 14.39 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3369, allocations: 5.656 kB / 0.5253 GB, free: 14.39 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002612/0.3371, allocations: 30.91 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.002189/0.3393, allocations: 1.123 MB / 0.5265 GB, free: 13.55 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002965/0.3396, allocations: 122.3 kB / 0.5266 GB, free: 13.51 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.3396, allocations: 0 / 0.5266 GB, free: 13.51 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001232/0.3398, allocations: 64.72 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.0003986/0.3402, allocations: 21.12 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.002592/0.3428, allocations: 1.896 MB / 0.5285 GB, free: 12.06 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004219/0.3432, allocations: 0.7203 MB / 0.5292 GB, free: 11.36 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.789e-05/0.3433, allocations: 28.62 kB / 0.5292 GB, free: 11.35 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.237e-05/0.3434, allocations: 44.31 kB / 0.5293 GB, free: 11.32 MB / 398.1 MB Notification: Performance of SimCode: time 6.81e-07/0.3434, allocations: 0 / 0.5293 GB, free: 11.32 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02724/0.3707, allocations: 3.524 MB / 0.5327 GB, free: 9.594 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.031/8.402, allocations: 11.97 kB / 0.5327 GB, free: 9.586 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