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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|quarterCylinder.G_m|quarterHollowCylinder.G_m|halfCylinder.G_m|halfHollowCylinder.G_m|quarterSphere.G_m|quarterHollowSphere.G_m|eighthOfSphere.G_m|eighthOfHollowSphere.G_m|coaxCylindersEndFaces.G_m",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage") translateModel(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|quarterCylinder.G_m|quarterHollowCylinder.G_m|halfCylinder.G_m|halfHollowCylinder.G_m|quarterSphere.G_m|quarterHollowSphere.G_m|eighthOfSphere.G_m|eighthOfHollowSphere.G_m|coaxCylindersEndFaces.G_m",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001587/0.001587, allocations: 174.4 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.539/1.539, allocations: 221.5 MB / 230.7 MB, free: 7.57 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008569/0.000857, allocations: 90.84 kB / 281.6 MB, free: 5.328 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2609/0.2609, allocations: 44.15 MB / 376.5 MB, free: 3.039 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.337e-05/1.332e-05, allocations: 4.219 kB / 444.6 MB, free: 15.22 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.1245, allocations: 61.91 MB / 0.4947 GB, free: 1.246 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3778/0.5023, allocations: 88.87 MB / 0.5815 GB, free: 7.645 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002468/0.5026, allocations: 75.94 kB / 0.5815 GB, free: 7.57 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01085/0.5135, allocations: 4.366 MB / 0.5858 GB, free: 3.215 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.5135, allocations: 3.938 kB / 0.5858 GB, free: 3.211 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.214e-05/0.5136, allocations: 4 kB / 0.5858 GB, free: 3.207 MB / 394.7 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.0007072/0.5143, allocations: 0.513 MB / 0.5863 GB, free: 2.652 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/0.5143, allocations: 11.98 kB / 0.5863 GB, free: 2.641 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.285e-05/0.5144, allocations: 27.72 kB / 0.5863 GB, free: 2.613 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000208/0.5146, allocations: 210.6 kB / 0.5865 GB, free: 2.367 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.313e-05/0.5147, allocations: 20.78 kB / 0.5866 GB, free: 2.344 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.316e-05/0.5148, allocations: 16 kB / 0.5866 GB, free: 2.328 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003248/0.5151, allocations: 189.5 kB / 0.5868 GB, free: 2.145 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003685/0.5155, allocations: 218.2 kB / 0.587 GB, free: 1.926 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.5155, allocations: 0 / 0.587 GB, free: 1.926 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.135e-05/0.5155, allocations: 0 / 0.587 GB, free: 1.926 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.5155, allocations: 8 kB / 0.587 GB, free: 1.918 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001479/0.517, allocations: 0.9579 MB / 0.5879 GB, free: 0.9102 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.442e-05/0.5171, allocations: 26.58 kB / 0.5879 GB, free: 0.875 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.8e-05/0.5172, allocations: 24.92 kB / 0.588 GB, free: 0.8477 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.506e-05/0.5172, allocations: 0 / 0.588 GB, free: 0.8477 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.258e-05/0.5172, allocations: 42.34 kB / 0.588 GB, free: 0.8008 MB / 394.7 MB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.5172, allocations: 0 / 0.588 GB, free: 0.8008 MB / 394.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001617/0.5174, allocations: 65.44 kB / 0.5881 GB, free: 0.7305 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.804e-05/0.5174, allocations: 51.41 kB / 0.5881 GB, free: 0.668 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002136/0.5176, allocations: 222 kB / 0.5883 GB, free: 456 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.153e-05/0.5177, allocations: 25.7 kB / 0.5883 GB, free: 424 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001297/0.5178, allocations: 234.8 kB / 0.5886 GB, free: 184 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.15e-05/0.5178, allocations: 15.83 kB / 0.5886 GB, free: 168 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.097e-05/0.5178, allocations: 0 / 0.5886 GB, free: 168 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001138/0.5179, allocations: 330.9 kB / 0.5889 GB, free: 15.83 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.836e-05/0.518, allocations: 52 kB / 0.589 GB, free: 15.78 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001002/0.5181, allocations: 74.95 kB / 0.589 GB, free: 15.7 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001047/0.5183, allocations: 68.47 kB / 0.5891 GB, free: 15.64 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.5183, allocations: 0 / 0.5891 GB, free: 15.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002695/0.5185, allocations: 197.4 kB / 0.5893 GB, free: 15.44 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.5186, allocations: 8 kB / 0.5893 GB, free: 15.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.5186, allocations: 4.031 kB / 0.5893 GB, free: 15.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.5186, allocations: 3.953 kB / 0.5893 GB, free: 15.42 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002959/0.5189, allocations: 59.89 kB / 0.5894 GB, free: 15.36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.328e-06/0.5189, allocations: 0 / 0.5894 GB, free: 15.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002273/0.5191, allocations: 27.69 kB / 0.5894 GB, free: 15.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.721e-05/0.5192, allocations: 8 kB / 0.5894 GB, free: 15.33 MB / 410.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.73e-05/0.5193, allocations: 105 kB / 0.5895 GB, free: 15.22 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.788e-05/0.5193, allocations: 23.73 kB / 0.5895 GB, free: 15.2 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.917e-05/0.5193, allocations: 17.19 kB / 0.5895 GB, free: 15.18 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.5194, allocations: 7.891 kB / 0.5895 GB, free: 15.18 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.5194, allocations: 4 kB / 0.5895 GB, free: 15.17 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.5194, allocations: 0 / 0.5895 GB, free: 15.17 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004976/0.5199, allocations: 468 kB / 0.59 GB, free: 14.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.5199, allocations: 0 / 0.59 GB, free: 14.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.046e-05/0.5199, allocations: 4 kB / 0.59 GB, free: 14.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.538e-06/0.5199, allocations: 3.953 kB / 0.59 GB, free: 14.66 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.283e-06/0.52, allocations: 8 kB / 0.59 GB, free: 14.65 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.52, allocations: 448 / 0.59 GB, free: 14.65 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.52, allocations: 4 kB / 0.59 GB, free: 14.64 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001113/0.5201, allocations: 99.52 kB / 0.5901 GB, free: 14.52 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.883e-05/0.5202, allocations: 100.9 kB / 0.5902 GB, free: 14.4 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.027e-05/0.5202, allocations: 11.97 kB / 0.5902 GB, free: 14.39 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.952e-05/0.5203, allocations: 0 / 0.5902 GB, free: 14.39 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.913e-05/0.5203, allocations: 4 kB / 0.5902 GB, free: 14.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.999e-06/0.5203, allocations: 4 kB / 0.5902 GB, free: 14.38 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001411/0.5205, allocations: 172.6 kB / 0.5904 GB, free: 14.21 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5205, allocations: 0 / 0.5904 GB, free: 14.21 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002646/0.5208, allocations: 67.69 kB / 0.5904 GB, free: 14.15 MB / 410.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.83e-05/0.5209, allocations: 91.25 kB / 0.5905 GB, free: 14.05 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001942/0.5211, allocations: 111.9 kB / 0.5906 GB, free: 13.94 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.5211, allocations: 0 / 0.5906 GB, free: 13.94 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.815e-05/0.5211, allocations: 8 kB / 0.5906 GB, free: 13.93 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001804/0.5213, allocations: 17.44 kB / 0.5907 GB, free: 13.91 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004639/0.5218, allocations: 227.3 kB / 0.5909 GB, free: 13.66 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002621/0.522, allocations: 0.7475 MB / 0.5916 GB, free: 12.89 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001046/0.5221, allocations: 17.84 kB / 0.5916 GB, free: 12.88 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.234e-05/0.5222, allocations: 15.44 kB / 0.5916 GB, free: 12.86 MB / 410.7 MB Notification: Performance of SimCode: time 2.51e-07/0.5222, allocations: 0 / 0.5916 GB, free: 12.86 MB / 410.7 MB Notification: Performance of Templates: time 0.003508/0.5257, allocations: 1.341 MB / 0.5929 GB, free: 11.54 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.makefile (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 & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Shapes/Leakage/Leakage.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches