Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_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_cpp_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_cpp_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009452/0.0009453, allocations: 197.5 kB / 16.78 MB, free: 5.031 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.245/1.245, allocations: 226.5 MB / 244.1 MB, free: 8.215 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007448/0.0007448, allocations: 99.75 kB / 296.1 MB, free: 6.906 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3157/0.3157, allocations: 44.82 MB / 393 MB, free: 35.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002705/0.0002705, allocations: 8 kB / 465.9 MB, free: 12.71 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3399/0.3402, allocations: 62.95 MB / 0.5165 GB, free: 37.05 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1121/0.4523, allocations: 90.53 MB / 0.6049 GB, free: 14.85 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002308/0.4526, allocations: 75.95 kB / 0.605 GB, free: 14.78 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01038/0.463, allocations: 4.465 MB / 0.6093 GB, free: 10.31 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.463, allocations: 0 / 0.6093 GB, free: 10.31 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.488e-06/0.463, allocations: 4 kB / 0.6093 GB, free: 10.31 MB / 426.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.0006874/0.4637, allocations: 0.5343 MB / 0.6098 GB, free: 9.723 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.4638, allocations: 8.031 kB / 0.6099 GB, free: 9.715 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002637/0.4641, allocations: 52.55 kB / 0.6099 GB, free: 9.664 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001545/0.4642, allocations: 195.9 kB / 0.6101 GB, free: 9.434 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.234e-05/0.4643, allocations: 33.2 kB / 0.6101 GB, free: 9.402 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.989e-05/0.4644, allocations: 28.38 kB / 0.6101 GB, free: 9.375 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004697/0.4648, allocations: 278.6 kB / 0.6104 GB, free: 9.098 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/0.4649, allocations: 7.922 kB / 0.6104 GB, free: 9.09 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.727e-05/0.4649, allocations: 12 kB / 0.6104 GB, free: 9.078 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.4649, allocations: 8 kB / 0.6104 GB, free: 9.07 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003878/0.4653, allocations: 218.5 kB / 0.6106 GB, free: 8.855 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00149/0.4668, allocations: 1.027 MB / 0.6117 GB, free: 7.773 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.856e-05/0.4669, allocations: 26.64 kB / 0.6117 GB, free: 7.738 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.012e-05/0.4669, allocations: 40.84 kB / 0.6117 GB, free: 7.695 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.159e-05/0.467, allocations: 0 / 0.6117 GB, free: 7.695 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.638e-05/0.467, allocations: 34.5 kB / 0.6117 GB, free: 7.652 MB / 426.7 MB Notification: Performance of pre-optimization done (n=2): time 8.81e-07/0.467, allocations: 0 / 0.6117 GB, free: 7.652 MB / 426.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001745/0.4672, allocations: 77.36 kB / 0.6118 GB, free: 7.57 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.186e-05/0.4672, allocations: 51.41 kB / 0.6119 GB, free: 7.508 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003245/0.4675, allocations: 327 kB / 0.6122 GB, free: 7.18 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.032e-05/0.4675, allocations: 25.7 kB / 0.6122 GB, free: 7.148 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001164/0.4677, allocations: 234.8 kB / 0.6124 GB, free: 6.914 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.205e-05/0.4677, allocations: 11.89 kB / 0.6124 GB, free: 6.902 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.174e-05/0.4677, allocations: 8 kB / 0.6124 GB, free: 6.895 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.084e-05/0.4678, allocations: 326.8 kB / 0.6128 GB, free: 6.566 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001192/0.4679, allocations: 59.97 kB / 0.6128 GB, free: 6.508 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000132/0.4681, allocations: 95.42 kB / 0.6129 GB, free: 6.41 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001861/0.4683, allocations: 130.1 kB / 0.613 GB, free: 6.277 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.4683, allocations: 0 / 0.613 GB, free: 6.277 MB / 426.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003461/0.4686, allocations: 229.4 kB / 0.6133 GB, free: 6.047 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.4686, allocations: 4 kB / 0.6133 GB, free: 6.043 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.4687, allocations: 0 / 0.6133 GB, free: 6.043 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.4687, allocations: 3.938 kB / 0.6133 GB, free: 6.039 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002711/0.4689, allocations: 63.98 kB / 0.6133 GB, free: 5.977 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.469, allocations: 3.938 kB / 0.6133 GB, free: 5.973 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002087/0.4692, allocations: 51.38 kB / 0.6134 GB, free: 5.922 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.456e-05/0.4692, allocations: 4 kB / 0.6134 GB, free: 5.918 MB / 426.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.63e-05/0.4693, allocations: 129.8 kB / 0.6135 GB, free: 5.781 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.719e-05/0.4693, allocations: 23.75 kB / 0.6135 GB, free: 5.758 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.127e-05/0.4694, allocations: 24.83 kB / 0.6135 GB, free: 5.727 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.4694, allocations: 4 kB / 0.6136 GB, free: 5.723 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.4694, allocations: 4 kB / 0.6136 GB, free: 5.719 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.4694, allocations: 3.938 kB / 0.6136 GB, free: 5.715 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004945/0.4699, allocations: 0.5032 MB / 0.6141 GB, free: 5.148 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.4699, allocations: 4 kB / 0.6141 GB, free: 5.145 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.596e-05/0.47, allocations: 3.938 kB / 0.6141 GB, free: 5.141 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.47, allocations: 4 kB / 0.6141 GB, free: 5.137 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.702e-06/0.47, allocations: 0 / 0.6141 GB, free: 5.137 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.47, allocations: 64 / 0.6141 GB, free: 5.137 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.47, allocations: 4 kB / 0.6141 GB, free: 5.133 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001044/0.4701, allocations: 97.73 kB / 0.6142 GB, free: 5.016 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.733e-05/0.4702, allocations: 100.8 kB / 0.6143 GB, free: 4.898 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.776e-05/0.4702, allocations: 0 / 0.6143 GB, free: 4.898 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.652e-05/0.4703, allocations: 8 kB / 0.6143 GB, free: 4.891 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.018e-05/0.4703, allocations: 8.016 kB / 0.6143 GB, free: 4.883 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.945e-06/0.4703, allocations: 0 / 0.6143 GB, free: 4.883 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002196/0.4706, allocations: 222 kB / 0.6145 GB, free: 4.664 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4706, allocations: 0 / 0.6145 GB, free: 4.664 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002361/0.4708, allocations: 63.84 kB / 0.6145 GB, free: 4.602 MB / 426.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 () * 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 (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.2e-05/0.4709, allocations: 99.17 kB / 0.6146 GB, free: 4.496 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002201/0.4711, allocations: 115.9 kB / 0.6147 GB, free: 4.383 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.4712, allocations: 4.062 kB / 0.6148 GB, free: 4.379 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.074e-05/0.4712, allocations: 8 kB / 0.6148 GB, free: 4.371 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002466/0.4714, allocations: 30.22 kB / 0.6148 GB, free: 4.34 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005922/0.472, allocations: 486 kB / 0.6153 GB, free: 3.828 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002435/0.4723, allocations: 0.7404 MB / 0.616 GB, free: 3.062 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.874e-05/0.4724, allocations: 19.44 kB / 0.616 GB, free: 3.043 MB / 426.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4724, allocations: 0 / 0.616 GB, free: 3.043 MB / 426.7 MB Notification: Performance of Templates: time 0.003625/0.476, allocations: 2.661 MB / 0.6186 GB, free: 404 kB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_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","../files/ModelicaTest_trunk_cpp_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches