Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.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.CombiTable2Dv.Test22,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test22,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test22",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.001829/0.001829, 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.001974/0.001974, allocations: 181 kB / 18.71 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.401/1.401, allocations: 222.9 MB / 242.4 MB, free: 15.04 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.2196/0.2196, allocations: 44.18 MB / 336.8 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003099/0.0031, allocations: 59.91 kB / 470.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3476/0.3507, allocations: 60.83 MB / 0.5184 GB, free: 3.285 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.002831/0.3536, allocations: 1.965 MB / 0.5204 GB, free: 1.914 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001612/0.3552, allocations: 1.136 MB / 0.5215 GB, free: 1.145 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001129/0.3553, allocations: 3.406 kB / 0.5215 GB, free: 1.145 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002595/0.3556, allocations: 47.55 kB / 0.5215 GB, free: 1.113 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003497/0.356, allocations: 152.5 kB / 0.5217 GB, free: 1.051 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001285/0.3573, allocations: 0.5823 MB / 0.5222 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003855/0.3577, allocations: 275.3 kB / 0.5225 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001836/0.3578, allocations: 78.98 kB / 0.5226 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001837/0.358, allocations: 124.9 kB / 0.5227 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002344/0.3583, allocations: 177.4 kB / 0.5229 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.164e-05/0.3583, allocations: 12.03 kB / 0.5229 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001337/0.3585, allocations: 60.73 kB / 0.5229 GB, free: 0.5 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000168/0.3586, allocations: 141.8 kB / 0.5231 GB, free: 464 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001259/0.3588, allocations: 165.4 kB / 0.5232 GB, free: 340 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000433/0.3592, allocations: 393 kB / 0.5236 GB, free: 180 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.3592, allocations: 5.062 kB / 0.5236 GB, free: 176 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3592, allocations: 0 / 0.5236 GB, free: 176 kB / 382.1 MB Notification: Performance of Transformations before backend: time 1.356e-05/0.3593, allocations: 0 / 0.5236 GB, free: 176 kB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001064/0.3603, allocations: 0.7954 MB / 0.5244 GB, free: 15.52 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.3604, allocations: 13.27 kB / 0.5244 GB, free: 15.52 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.074e-05/0.3604, allocations: 44.98 kB / 0.5244 GB, free: 15.47 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.673e-05/0.3605, allocations: 56.94 kB / 0.5245 GB, free: 15.44 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000568/0.3611, allocations: 468.4 kB / 0.5249 GB, free: 15.11 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.613e-05/0.3611, allocations: 8.5 kB / 0.5249 GB, free: 15.11 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.292e-05/0.3612, allocations: 18.12 kB / 0.525 GB, free: 15.1 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003113/0.3615, allocations: 139.7 kB / 0.5251 GB, free: 15.02 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/0.3615, allocations: 4.547 kB / 0.5251 GB, free: 15.02 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.741e-05/0.3615, allocations: 5.375 kB / 0.5251 GB, free: 15.02 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.3616, allocations: 2.75 kB / 0.5251 GB, free: 15.02 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002523/0.3618, allocations: 90.58 kB / 0.5252 GB, free: 15 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001087/0.3629, allocations: 0.6991 MB / 0.5259 GB, free: 14.53 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002571/0.3632, allocations: 117.5 kB / 0.526 GB, free: 14.45 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001195/0.3633, allocations: 49.12 kB / 0.526 GB, free: 14.43 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.116e-05/0.3633, allocations: 5.281 kB / 0.526 GB, free: 14.42 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.62e-05/0.3634, allocations: 36.67 kB / 0.5261 GB, free: 14.38 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.313e-06/0.3634, allocations: 3.938 kB / 0.5261 GB, free: 14.38 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.001548/0.365, allocations: 0.5559 MB / 0.5266 GB, free: 14.1 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.519e-05/0.365, allocations: 84.77 kB / 0.5267 GB, free: 14 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001033/0.3661, allocations: 0.8829 MB / 0.5276 GB, free: 13.64 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.965e-05/0.3661, allocations: 25.7 kB / 0.5276 GB, free: 13.61 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002258/0.3663, allocations: 256.4 kB / 0.5278 GB, free: 13.38 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.805e-05/0.3664, allocations: 54.42 kB / 0.5279 GB, free: 13.34 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.26e-05/0.3665, allocations: 36.8 kB / 0.5279 GB, free: 13.3 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000204/0.3667, allocations: 377.8 kB / 0.5283 GB, free: 12.95 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001796/0.3669, allocations: 62.64 kB / 0.5283 GB, free: 12.92 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001839/0.3671, allocations: 80.86 kB / 0.5284 GB, free: 12.87 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003676/0.3674, allocations: 161 kB / 0.5286 GB, free: 12.79 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.81e-07/0.3675, allocations: 0 / 0.5286 GB, free: 12.79 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005327/0.368, allocations: 247.3 kB / 0.5288 GB, free: 12.65 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.368, allocations: 4.469 kB / 0.5288 GB, free: 12.65 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.368, allocations: 1.406 kB / 0.5288 GB, free: 12.65 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.3681, allocations: 1.312 kB / 0.5288 GB, free: 12.65 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002237/0.3683, allocations: 44.31 kB / 0.5289 GB, free: 12.63 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.042e-06/0.3683, allocations: 0 / 0.5289 GB, free: 12.63 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001383/0.3684, allocations: 13.08 kB / 0.5289 GB, free: 12.63 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.871e-05/0.3685, allocations: 8.469 kB / 0.5289 GB, free: 12.62 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (16): * Single equations (assignments): 16 * 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.0002343/0.3687, allocations: 213.8 kB / 0.5291 GB, free: 12.47 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001479/0.3689, allocations: 56.31 kB / 0.5291 GB, free: 12.44 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006703/0.3695, allocations: 288.2 kB / 0.5294 GB, free: 12.28 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.3696, allocations: 1.125 kB / 0.5294 GB, free: 12.28 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.3696, allocations: 1.156 kB / 0.5294 GB, free: 12.28 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.3696, allocations: 5.125 kB / 0.5294 GB, free: 12.27 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001331/0.3709, allocations: 0.8128 MB / 0.5302 GB, free: 11.62 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/0.3709, allocations: 5.047 kB / 0.5302 GB, free: 11.62 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001625/0.3711, allocations: 35.09 kB / 0.5302 GB, free: 11.61 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-06/0.3711, allocations: 1.281 kB / 0.5303 GB, free: 11.61 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.206e-05/0.3711, allocations: 15.33 kB / 0.5303 GB, free: 11.6 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/0.3712, allocations: 4.938 kB / 0.5303 GB, free: 11.6 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.3712, allocations: 0 / 0.5303 GB, free: 11.6 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006795/0.3718, allocations: 423 kB / 0.5307 GB, free: 11.28 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001565/0.372, allocations: 151.4 kB / 0.5308 GB, free: 11.14 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.403e-05/0.3721, allocations: 5.156 kB / 0.5308 GB, free: 11.14 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001996/0.3723, allocations: 15.17 kB / 0.5308 GB, free: 11.13 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.31e-05/0.3723, allocations: 14.7 kB / 0.5309 GB, free: 11.12 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.733e-05/0.3724, allocations: 12.39 kB / 0.5309 GB, free: 11.12 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008673/0.3732, allocations: 0.6462 MB / 0.5315 GB, free: 10.82 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3733, allocations: 0 / 0.5315 GB, free: 10.82 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003698/0.3736, allocations: 49.25 kB / 0.5315 GB, free: 10.81 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 (16): * Single equations (assignments): 16 * 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.002368/0.376, allocations: 1.25 MB / 0.5328 GB, free: 9.859 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005004/0.3765, allocations: 168.7 kB / 0.5329 GB, free: 9.785 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.3765, allocations: 1.156 kB / 0.5329 GB, free: 9.785 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002277/0.3768, allocations: 90.89 kB / 0.533 GB, free: 9.746 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007132/0.3775, allocations: 85.81 kB / 0.5331 GB, free: 9.703 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007412/0.3849, allocations: 5.071 MB / 0.538 GB, free: 6.844 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006295/0.3856, allocations: 0.8668 MB / 0.5389 GB, free: 6.062 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000283/0.3859, allocations: 93.61 kB / 0.539 GB, free: 6.023 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002954/0.3862, allocations: 168.5 kB / 0.5391 GB, free: 5.887 MB / 398.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3862, allocations: 0 / 0.5391 GB, free: 5.887 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0321/0.4183, allocations: 9.778 MB / 0.5487 GB, free: 12.89 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.53/8.948, allocations: 10.09 kB / 0.5487 GB, free: 12.89 MB / 414.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22_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_CombiTable2Dv_Test22.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches