Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009837/0.0009832, allocations: 198.9 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.335/1.335, allocations: 225.6 MB / 234.8 MB, free: 3.242 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008428/0.0008428, allocations: 90.58 kB / 286.7 MB, free: 5.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1815/0.1815, allocations: 45.15 MB / 383.8 MB, free: 256 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.359e-05/1.353e-05, allocations: 4 kB / 453.2 MB, free: 75.83 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0962/0.09623, allocations: 63.25 MB / 0.5044 GB, free: 12.64 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3681/0.4643, allocations: 89.93 MB / 0.5922 GB, free: 12.64 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002419/0.4646, allocations: 75.02 kB / 0.5923 GB, free: 12.6 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01083/0.4755, allocations: 4.425 MB / 0.5966 GB, free: 8.855 MB / 394.7 MB Notification: Performance of FrontEnd: time 8.71e-07/0.4755, allocations: 0 / 0.5966 GB, free: 8.855 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.115e-05/0.4755, allocations: 4 kB / 0.5966 GB, free: 8.852 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.0007235/0.4762, allocations: 0.5172 MB / 0.5971 GB, free: 8.309 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/0.4763, allocations: 8.031 kB / 0.5971 GB, free: 8.301 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002823/0.4766, allocations: 51.59 kB / 0.5972 GB, free: 8.25 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001845/0.4768, allocations: 194.7 kB / 0.5973 GB, free: 8.02 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.37e-05/0.4769, allocations: 16.78 kB / 0.5974 GB, free: 8 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.391e-05/0.4769, allocations: 16 kB / 0.5974 GB, free: 7.984 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003077/0.4772, allocations: 194.6 kB / 0.5976 GB, free: 7.867 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003722/0.4776, allocations: 220.4 kB / 0.5978 GB, free: 7.703 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.4776, allocations: 4 kB / 0.5978 GB, free: 7.699 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.202e-05/0.4777, allocations: 0 / 0.5978 GB, free: 7.699 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.4777, allocations: 8 kB / 0.5978 GB, free: 7.691 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001448/0.4791, allocations: 0.9508 MB / 0.5987 GB, free: 6.895 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.738e-05/0.4792, allocations: 33.39 kB / 0.5987 GB, free: 6.859 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.265e-05/0.4793, allocations: 23.92 kB / 0.5988 GB, free: 6.84 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.208e-05/0.4793, allocations: 4 kB / 0.5988 GB, free: 6.836 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.167e-05/0.4793, allocations: 34.55 kB / 0.5988 GB, free: 6.793 MB / 394.7 MB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.4793, allocations: 0 / 0.5988 GB, free: 6.793 MB / 394.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001589/0.4795, allocations: 56.64 kB / 0.5989 GB, free: 6.738 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.31e-05/0.4795, allocations: 55.44 kB / 0.5989 GB, free: 6.672 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002374/0.4798, allocations: 234.8 kB / 0.5991 GB, free: 6.48 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.327e-05/0.4798, allocations: 25.7 kB / 0.5992 GB, free: 6.449 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001357/0.4799, allocations: 242 kB / 0.5994 GB, free: 6.23 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.086e-05/0.4799, allocations: 7.406 kB / 0.5994 GB, free: 6.227 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.488e-06/0.48, allocations: 4 kB / 0.5994 GB, free: 6.223 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.4801, allocations: 321.5 kB / 0.5997 GB, free: 5.906 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.868e-05/0.4802, allocations: 52.5 kB / 0.5998 GB, free: 5.875 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.463e-05/0.4803, allocations: 78.7 kB / 0.5998 GB, free: 5.82 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.954e-05/0.4804, allocations: 68.28 kB / 0.5999 GB, free: 5.777 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/0.4804, allocations: 3.953 kB / 0.5999 GB, free: 5.773 MB / 394.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002685/0.4807, allocations: 198.8 kB / 0.6001 GB, free: 5.617 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.4807, allocations: 4 kB / 0.6001 GB, free: 5.613 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.4807, allocations: 0 / 0.6001 GB, free: 5.613 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.4807, allocations: 4 kB / 0.6001 GB, free: 5.609 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002802/0.481, allocations: 55.14 kB / 0.6001 GB, free: 5.559 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.084e-05/0.481, allocations: 4 kB / 0.6001 GB, free: 5.555 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000213/0.4813, allocations: 35.7 kB / 0.6002 GB, free: 5.52 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.621e-05/0.4813, allocations: 11.94 kB / 0.6002 GB, free: 5.508 MB / 394.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 8.951e-05/0.4814, allocations: 108.6 kB / 0.6003 GB, free: 5.398 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.509e-05/0.4814, allocations: 15.81 kB / 0.6003 GB, free: 5.383 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.587e-05/0.4815, allocations: 16.36 kB / 0.6003 GB, free: 5.375 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.4815, allocations: 0 / 0.6003 GB, free: 5.375 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.4815, allocations: 0 / 0.6003 GB, free: 5.375 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.4815, allocations: 0 / 0.6003 GB, free: 5.375 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005032/0.482, allocations: 479.8 kB / 0.6008 GB, free: 4.902 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.482, allocations: 0 / 0.6008 GB, free: 4.902 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.898e-05/0.482, allocations: 7.938 kB / 0.6008 GB, free: 4.895 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.4821, allocations: 0 / 0.6008 GB, free: 4.895 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.573e-06/0.4821, allocations: 0 / 0.6008 GB, free: 4.895 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.4821, allocations: 0 / 0.6008 GB, free: 4.895 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.369e-06/0.4821, allocations: 3.984 kB / 0.6008 GB, free: 4.891 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001452/0.4822, allocations: 109.9 kB / 0.6009 GB, free: 4.766 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.622e-05/0.4823, allocations: 96.53 kB / 0.601 GB, free: 4.656 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.018e-05/0.4824, allocations: 0 / 0.601 GB, free: 4.656 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.496e-05/0.4825, allocations: 4 kB / 0.601 GB, free: 4.652 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.613e-05/0.4825, allocations: 0 / 0.601 GB, free: 4.652 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.528e-06/0.4825, allocations: 8.031 kB / 0.601 GB, free: 4.645 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001462/0.4826, allocations: 170 kB / 0.6012 GB, free: 4.512 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4827, allocations: 0 / 0.6012 GB, free: 4.512 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002597/0.4829, allocations: 67.69 kB / 0.6012 GB, free: 4.445 MB / 394.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 0.0001347/0.4831, allocations: 99.19 kB / 0.6013 GB, free: 4.336 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001822/0.4832, allocations: 96.5 kB / 0.6014 GB, free: 4.273 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.4833, allocations: 3.938 kB / 0.6014 GB, free: 4.27 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.198e-05/0.4833, allocations: 16.38 kB / 0.6014 GB, free: 4.258 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001709/0.4835, allocations: 25.03 kB / 0.6015 GB, free: 4.238 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004783/0.4839, allocations: 218.4 kB / 0.6017 GB, free: 4.012 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002787/0.4842, allocations: 0.7514 MB / 0.6024 GB, free: 3.234 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001176/0.4844, allocations: 21.83 kB / 0.6024 GB, free: 3.215 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.717e-05/0.4844, allocations: 15.44 kB / 0.6024 GB, free: 3.199 MB / 394.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4844, allocations: 0 / 0.6024 GB, free: 3.199 MB / 394.7 MB Notification: Performance of Templates: time 0.003456/0.4879, allocations: 1.337 MB / 0.6037 GB, free: 1.887 MB / 394.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches