Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.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.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test31",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.00119/0.00119, allocations: 117.2 kB / 17.78 MB, free: 5.25 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.001289/0.001289, 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.425/1.425, 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.2239/0.2239, allocations: 44.19 MB / 336.8 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001401/0.001401, allocations: 63.89 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.362/0.3634, allocations: 60.83 MB / 0.5185 GB, free: 3.539 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test31): time 0.002311/0.3658, allocations: 1.58 MB / 0.52 GB, free: 2.449 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006218/0.3664, allocations: 419 kB / 0.5204 GB, free: 2.176 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.327e-05/0.3665, allocations: 1.469 kB / 0.5204 GB, free: 2.176 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003472/0.3669, allocations: 124.3 kB / 0.5205 GB, free: 2.152 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002682/0.3672, allocations: 89.75 kB / 0.5206 GB, free: 2.125 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003597/0.3675, allocations: 107 kB / 0.5207 GB, free: 2.07 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001981/0.3677, allocations: 83.53 kB / 0.5208 GB, free: 2.047 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.3679, allocations: 20.33 kB / 0.5208 GB, free: 2.039 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.769e-05/0.368, allocations: 52.55 kB / 0.5209 GB, free: 2.02 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001499/0.3681, allocations: 78.95 kB / 0.5209 GB, free: 2.004 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.051e-05/0.3681, allocations: 3.188 kB / 0.5209 GB, free: 2.004 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001106/0.3683, allocations: 48.2 kB / 0.521 GB, free: 1.988 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.406e-05/0.3683, allocations: 27.23 kB / 0.521 GB, free: 1.977 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.148e-05/0.3684, allocations: 34.91 kB / 0.521 GB, free: 1.949 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002197/0.3686, allocations: 116.7 kB / 0.5211 GB, free: 1.902 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.3686, allocations: 0 / 0.5211 GB, free: 1.902 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.3686, allocations: 5 kB / 0.5212 GB, free: 1.898 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.552e-06/0.3686, allocations: 0 / 0.5212 GB, free: 1.898 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.0004386/0.3691, allocations: 427.7 kB / 0.5216 GB, free: 1.48 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.3691, allocations: 9.344 kB / 0.5216 GB, free: 1.48 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.586e-05/0.3691, allocations: 36.66 kB / 0.5216 GB, free: 1.438 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.367e-05/0.3692, allocations: 19.34 kB / 0.5216 GB, free: 1.426 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001446/0.3693, allocations: 204.7 kB / 0.5218 GB, free: 1.207 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.662e-06/0.3693, allocations: 5.484 kB / 0.5218 GB, free: 1.203 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.011e-05/0.3694, allocations: 7.531 kB / 0.5218 GB, free: 1.199 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001209/0.3695, allocations: 56.45 kB / 0.5219 GB, free: 1.156 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.3695, allocations: 1.156 kB / 0.5219 GB, free: 1.156 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.065e-06/0.3695, allocations: 4.641 kB / 0.5219 GB, free: 1.152 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.3695, allocations: 1.156 kB / 0.5219 GB, free: 1.152 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.651e-05/0.3696, allocations: 26.3 kB / 0.5219 GB, free: 1.148 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003085/0.3699, allocations: 310.2 kB / 0.5222 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.991e-05/0.37, allocations: 56.89 kB / 0.5223 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.436e-05/0.3701, allocations: 20.36 kB / 0.5223 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.568e-05/0.3701, allocations: 1.281 kB / 0.5223 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.112e-05/0.3701, allocations: 31.27 kB / 0.5223 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.3701, allocations: 5.219 kB / 0.5223 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007708/0.3709, allocations: 247.9 kB / 0.5226 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.826e-05/0.3709, allocations: 57.31 kB / 0.5226 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000197/0.3711, allocations: 268.5 kB / 0.5229 GB, free: 452 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.175e-06/0.3712, allocations: 27.02 kB / 0.5229 GB, free: 420 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.828e-05/0.3712, allocations: 110.6 kB / 0.523 GB, free: 316 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.024e-05/0.3712, allocations: 29.47 kB / 0.523 GB, free: 292 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.301e-05/0.3713, allocations: 25.88 kB / 0.5231 GB, free: 268 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.471e-05/0.3713, allocations: 324 kB / 0.5234 GB, free: 15.95 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.949e-05/0.3714, allocations: 30.5 kB / 0.5234 GB, free: 15.94 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.656e-05/0.3715, allocations: 31.02 kB / 0.5234 GB, free: 15.93 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001529/0.3717, allocations: 71.73 kB / 0.5235 GB, free: 15.9 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.3717, allocations: 4 kB / 0.5235 GB, free: 15.9 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.00021/0.3719, allocations: 123.4 kB / 0.5236 GB, free: 15.83 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.3719, allocations: 4.125 kB / 0.5236 GB, free: 15.83 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.3719, allocations: 0 / 0.5236 GB, free: 15.83 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.3719, allocations: 1.766 kB / 0.5236 GB, free: 15.83 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.469e-05/0.372, allocations: 17.05 kB / 0.5236 GB, free: 15.83 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.657e-06/0.372, allocations: 9.375 kB / 0.5236 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.122e-05/0.3721, allocations: 8.25 kB / 0.5236 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.284e-06/0.3721, allocations: 2.344 kB / 0.5237 GB, free: 15.82 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 9.148e-05/0.3722, allocations: 139.1 kB / 0.5238 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.631e-05/0.3722, allocations: 13.81 kB / 0.5238 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002681/0.3725, allocations: 131.2 kB / 0.5239 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.696e-06/0.3725, allocations: 1.469 kB / 0.5239 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.3725, allocations: 3.938 kB / 0.5239 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.3725, allocations: 0.6562 kB / 0.5239 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004805/0.373, allocations: 439.4 kB / 0.5243 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.373, allocations: 5.031 kB / 0.5244 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.206e-05/0.3731, allocations: 16.31 kB / 0.5244 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.3731, allocations: 1.094 kB / 0.5244 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.807e-06/0.3731, allocations: 1.938 kB / 0.5244 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.3731, allocations: 1.219 kB / 0.5244 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.3731, allocations: 1.797 kB / 0.5244 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002478/0.3734, allocations: 225.3 kB / 0.5246 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.184e-05/0.3734, allocations: 98.47 kB / 0.5247 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.744e-05/0.3735, allocations: 2.141 kB / 0.5247 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.765e-05/0.3735, allocations: 5 kB / 0.5247 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.406e-05/0.3736, allocations: 5.234 kB / 0.5247 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.651e-06/0.3736, allocations: 3.531 kB / 0.5247 GB, free: 14.95 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001549/0.3737, allocations: 207.6 kB / 0.5249 GB, free: 14.84 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3738, allocations: 1.719 kB / 0.5249 GB, free: 14.84 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002364/0.374, allocations: 19.73 kB / 0.5249 GB, free: 14.83 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.001277/0.3753, allocations: 1.109 MB / 0.526 GB, free: 14 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002042/0.3755, allocations: 79.92 kB / 0.5261 GB, free: 13.98 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.3755, allocations: 4 kB / 0.5261 GB, free: 13.97 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.552e-05/0.3756, allocations: 38.42 kB / 0.5261 GB, free: 13.96 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003048/0.3759, allocations: 22.56 kB / 0.5261 GB, free: 13.96 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001743/0.3777, allocations: 1.817 MB / 0.5279 GB, free: 12.57 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002423/0.3779, allocations: 0.7173 MB / 0.5286 GB, free: 11.87 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.422e-05/0.378, allocations: 17.02 kB / 0.5286 GB, free: 11.87 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.132e-05/0.3781, allocations: 45.66 kB / 0.5287 GB, free: 11.83 MB / 398.1 MB Notification: Performance of SimCode: time 2.01e-07/0.3781, allocations: 0 / 0.5287 GB, free: 11.83 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1061/0.4841, allocations: 3.369 MB / 0.532 GB, free: 10.2 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.401/8.886, allocations: 8.219 kB / 0.532 GB, free: 10.2 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.006 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test31.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches