Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.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.Magnetic.FluxTubes.Shapes.Leakage,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_Shapes_Leakage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_Shapes_Leakage",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.001175/0.001175, allocations: 112.6 kB / 17.33 MB, free: 5.988 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.001215/0.001215, allocations: 193.3 kB / 18.25 MB, free: 5.086 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.361/1.361, allocations: 222.9 MB / 241.9 MB, free: 15.38 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.1982/0.1982, allocations: 44.18 MB / 336.2 MB, free: 2.953 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001381, allocations: 60.59 kB / 408 MB, free: 27.51 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09206/0.09346, allocations: 60.82 MB / 468.8 MB, free: 14.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage): time 0.003202/0.09668, allocations: 2.394 MB / 471.2 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009315/0.09764, allocations: 0.6156 MB / 471.8 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001226/0.09778, allocations: 4 kB / 471.8 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 7.98e-05/0.09787, allocations: 27.77 kB / 471.9 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001621/0.09806, allocations: 59.53 kB / 471.9 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001744/0.09825, allocations: 71.94 kB / 472 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003349/0.09859, allocations: 347.2 kB / 472.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002031/0.0988, allocations: 151.4 kB / 472.5 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001973/0.09901, allocations: 143.6 kB / 472.6 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002067/0.09922, allocations: 151.4 kB / 472.8 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.103e-05/0.09928, allocations: 32 kB / 472.8 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.401e-05/0.09934, allocations: 36 kB / 472.8 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.972e-05/0.0994, allocations: 75.75 kB / 472.9 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001394/0.09955, allocations: 151.3 kB / 473.1 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003087/0.09986, allocations: 374.9 kB / 473.4 MB, free: 10.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.09987, allocations: 0 / 473.4 MB, free: 10.02 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.09988, allocations: 0 / 473.4 MB, free: 10.02 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.057e-06/0.0999, allocations: 0 / 473.4 MB, free: 10.02 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0007964/0.1007, allocations: 0.584 MB / 474 MB, free: 9.395 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.654e-05/0.1007, allocations: 8.031 kB / 474 MB, free: 9.387 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.244e-05/0.1008, allocations: 70.72 kB / 474.1 MB, free: 9.309 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.322e-05/0.1009, allocations: 36.5 kB / 474.1 MB, free: 9.273 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001412/0.101, allocations: 199.9 kB / 474.3 MB, free: 9.039 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.312e-05/0.1011, allocations: 33.16 kB / 474.3 MB, free: 9.008 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.283e-05/0.1012, allocations: 28.38 kB / 474.4 MB, free: 8.98 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004411/0.1016, allocations: 282 kB / 474.7 MB, free: 8.699 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.1016, allocations: 0 / 474.7 MB, free: 8.699 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.418e-05/0.1016, allocations: 16 kB / 474.7 MB, free: 8.684 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.702e-06/0.1017, allocations: 4 kB / 474.7 MB, free: 8.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003693/0.102, allocations: 226.5 kB / 474.9 MB, free: 8.457 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00148/0.1035, allocations: 1.02 MB / 475.9 MB, free: 7.379 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.45e-05/0.1036, allocations: 30.56 kB / 475.9 MB, free: 7.34 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.727e-05/0.1036, allocations: 28.92 kB / 476 MB, free: 7.309 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.727e-06/0.1037, allocations: 0 / 476 MB, free: 7.309 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.672e-05/0.1037, allocations: 34.5 kB / 476 MB, free: 7.266 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 8.02e-07/0.1037, allocations: 0 / 476 MB, free: 7.266 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001791/0.1039, allocations: 73.36 kB / 476.1 MB, free: 7.188 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.06e-05/0.1039, allocations: 63.39 kB / 476.1 MB, free: 7.113 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003232/0.1042, allocations: 322.9 kB / 476.5 MB, free: 6.789 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.273e-05/0.1043, allocations: 29.7 kB / 476.5 MB, free: 6.754 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00012/0.1044, allocations: 234.8 kB / 476.7 MB, free: 6.52 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.032e-05/0.1044, allocations: 7.891 kB / 476.7 MB, free: 6.512 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.193e-05/0.1045, allocations: 57.61 kB / 476.8 MB, free: 6.449 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001001/0.1046, allocations: 330.8 kB / 477.1 MB, free: 6.117 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001321/0.1047, allocations: 63.97 kB / 477.2 MB, free: 6.055 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001336/0.1049, allocations: 107.4 kB / 477.3 MB, free: 5.945 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001813/0.1051, allocations: 122.1 kB / 477.4 MB, free: 5.82 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.1051, allocations: 0 / 477.4 MB, free: 5.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003624/0.1054, allocations: 229.4 kB / 477.6 MB, free: 5.59 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.1055, allocations: 7.938 kB / 477.6 MB, free: 5.582 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.1055, allocations: 0 / 477.6 MB, free: 5.582 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.1055, allocations: 4 kB / 477.6 MB, free: 5.578 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002678/0.1058, allocations: 59.89 kB / 477.7 MB, free: 5.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.1058, allocations: 8.016 kB / 477.7 MB, free: 5.512 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002363/0.106, allocations: 43.52 kB / 477.7 MB, free: 5.469 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.567e-05/0.106, allocations: 8 kB / 477.7 MB, free: 5.461 MB / 350.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 (30): * Single equations (assignments): 30 * 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.0001102/0.1062, allocations: 129.8 kB / 477.9 MB, free: 5.324 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.134e-05/0.1062, allocations: 19.75 kB / 477.9 MB, free: 5.305 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.802e-05/0.1062, allocations: 28.84 kB / 477.9 MB, free: 5.277 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.1063, allocations: 0 / 477.9 MB, free: 5.277 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.1063, allocations: 0 / 477.9 MB, free: 5.277 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.623e-06/0.1063, allocations: 0 / 477.9 MB, free: 5.277 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005254/0.1068, allocations: 0.5149 MB / 478.4 MB, free: 4.699 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1068, allocations: 0 / 478.4 MB, free: 4.699 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.599e-05/0.1069, allocations: 4 kB / 478.4 MB, free: 4.695 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.1069, allocations: 3.984 kB / 478.4 MB, free: 4.691 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-06/0.1069, allocations: 0 / 478.4 MB, free: 4.691 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.1069, allocations: 4 kB / 478.4 MB, free: 4.688 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1069, allocations: 0 / 478.4 MB, free: 4.688 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001033/0.107, allocations: 97.75 kB / 478.5 MB, free: 4.57 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.96e-05/0.1071, allocations: 104.8 kB / 478.6 MB, free: 4.449 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.114e-05/0.1071, allocations: 3.984 kB / 478.6 MB, free: 4.445 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.1072, allocations: 4 kB / 478.6 MB, free: 4.441 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.404e-05/0.1072, allocations: 8 kB / 478.7 MB, free: 4.434 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.926e-06/0.1072, allocations: 0 / 478.7 MB, free: 4.434 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002197/0.1075, allocations: 230 kB / 478.9 MB, free: 4.207 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1075, allocations: 0 / 478.9 MB, free: 4.207 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002459/0.1077, allocations: 63.84 kB / 478.9 MB, free: 4.145 MB / 350.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 (2): * Single equations (assignments): 2 * 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.0003355/0.1081, allocations: 0.6369 MB / 479.6 MB, free: 3.473 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002181/0.1083, allocations: 119.8 kB / 479.7 MB, free: 3.355 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1083, allocations: 0 / 479.7 MB, free: 3.355 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.982e-05/0.1083, allocations: 8 kB / 479.7 MB, free: 3.348 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002525/0.1086, allocations: 28.81 kB / 479.7 MB, free: 3.32 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002354/0.1109, allocations: 2.337 MB / 482.1 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002504/0.1112, allocations: 0.7478 MB / 482.8 MB, free: 116 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001124/0.1113, allocations: 21.94 kB / 482.8 MB, free: 96 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.215e-05/0.1114, allocations: 75.41 kB / 482.9 MB, free: 20 kB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1114, allocations: 4 kB / 482.9 MB, free: 16 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.104/0.2154, allocations: 3.982 MB / 486.9 MB, free: 12.16 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003098/0.2158, allocations: 199.3 kB / 487.1 MB, free: 11.91 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.215/2.431, allocations: 0 / 487.1 MB, free: 11.91 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_Shapes_Leakage_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_Shapes_Leakage.fmu > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Shapes/Leakage/Leakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches