Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|constantSource1.port_p.reference.gamma|quarterHollowSphere.port_p.reference.gamma",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage") translateModel(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|constantSource1.port_p.reference.gamma|quarterHollowSphere.port_p.reference.gamma",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001353/0.001353, allocations: 184.6 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.84/1.84, allocations: 205.4 MB / 221.9 MB, free: 13.83 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001086/0.001086, allocations: 90.86 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2232/0.2232, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003078/0.0003078, allocations: 8 kB / 431.4 MB, free: 19.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1329/0.1332, allocations: 58.85 MB / 490.2 MB, free: 8.672 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4267/0.5599, allocations: 91.63 MB / 0.5682 GB, free: 8.246 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003343/0.5603, allocations: 83.89 kB / 0.5683 GB, free: 8.199 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06697/0.6273, allocations: 26.99 MB / 0.5947 GB, free: 2.332 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.754e-06/0.6274, allocations: 0 / 0.5947 GB, free: 2.332 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.263e-05/0.6274, allocations: 16 kB / 0.5947 GB, free: 2.316 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: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.002438/0.6298, allocations: 1.056 MB / 0.5957 GB, free: 1.305 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.6299, allocations: 12.03 kB / 0.5957 GB, free: 1.293 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001337/0.6312, allocations: 232.8 kB / 0.596 GB, free: 1.09 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002705/0.6315, allocations: 258.5 kB / 0.5962 GB, free: 0.793 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001371/0.6317, allocations: 78.31 kB / 0.5963 GB, free: 0.75 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001284/0.6318, allocations: 101 kB / 0.5964 GB, free: 0.6836 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001355/0.6332, allocations: 0.9151 MB / 0.5973 GB, free: 60 kB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.884e-05/0.6332, allocations: 3.906 kB / 0.5973 GB, free: 56 kB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.966e-05/0.6333, allocations: 43.88 kB / 0.5973 GB, free: 44 kB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.037e-05/0.6333, allocations: 24 kB / 0.5973 GB, free: 20 kB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001184/0.6345, allocations: 0.7226 MB / 0.598 GB, free: 15.54 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004833/0.6393, allocations: 3.949 MB / 0.6019 GB, free: 12.05 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002545/0.6419, allocations: 3.373 MB / 0.6052 GB, free: 8.266 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001039/0.642, allocations: 95.05 kB / 0.6053 GB, free: 8.156 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.386e-05/0.6421, allocations: 43.33 kB / 0.6053 GB, free: 8.109 MB / 410.7 MB Notification: Performance of pre-optimization done (n=66): time 2.795e-06/0.6421, allocations: 0 / 0.6053 GB, free: 8.109 MB / 410.7 MB Notification: Performance of matching and sorting (n=66): time 0.002426/0.6445, allocations: 1.309 MB / 0.6066 GB, free: 6.941 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.144e-05/0.6446, allocations: 140.5 kB / 0.6067 GB, free: 6.773 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003194/0.6449, allocations: 296 kB / 0.607 GB, free: 6.539 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.887e-05/0.6449, allocations: 33.02 kB / 0.607 GB, free: 6.508 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002087/0.6452, allocations: 401.9 kB / 0.6074 GB, free: 6.148 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001477/0.6453, allocations: 232.3 kB / 0.6077 GB, free: 5.949 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.876e-05/0.6454, allocations: 18.31 kB / 0.6077 GB, free: 5.945 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.6455, allocations: 352.6 kB / 0.608 GB, free: 5.609 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003047/0.6458, allocations: 192.2 kB / 0.6082 GB, free: 5.488 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004417/0.6463, allocations: 392 kB / 0.6086 GB, free: 5.113 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000384/0.6467, allocations: 255.2 kB / 0.6088 GB, free: 4.969 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.6467, allocations: 3.938 kB / 0.6088 GB, free: 4.965 MB / 410.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001322/0.648, allocations: 0.8764 MB / 0.6097 GB, free: 4.301 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.734e-05/0.648, allocations: 15.42 kB / 0.6097 GB, free: 4.289 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.6481, allocations: 4 kB / 0.6097 GB, free: 4.285 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006058/0.6487, allocations: 224.2 kB / 0.6099 GB, free: 4.098 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004506/0.6491, allocations: 138.9 kB / 0.61 GB, free: 3.965 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005452/0.6546, allocations: 6.312 MB / 0.6162 GB, free: 13.59 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006007/0.6552, allocations: 87.06 kB / 0.6163 GB, free: 13.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.009e-05/0.6553, allocations: 35.98 kB / 0.6163 GB, free: 13.46 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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 (82): * Single equations (assignments): 78 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 8,(1,100.0%) 8,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003903/0.6557, allocations: 221.7 kB / 0.6165 GB, free: 13.24 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000116/0.6558, allocations: 39.53 kB / 0.6166 GB, free: 13.2 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001168/0.657, allocations: 0.6835 MB / 0.6172 GB, free: 12.5 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.276e-06/0.657, allocations: 8 kB / 0.6172 GB, free: 12.49 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.657, allocations: 8 kB / 0.6172 GB, free: 12.48 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.726e-06/0.657, allocations: 7.984 kB / 0.6173 GB, free: 12.47 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002303/0.6593, allocations: 1.558 MB / 0.6188 GB, free: 10.84 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.127e-06/0.6594, allocations: 0 / 0.6188 GB, free: 10.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002367/0.6596, allocations: 63.92 kB / 0.6188 GB, free: 10.78 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005226/0.6601, allocations: 227.8 kB / 0.6191 GB, free: 10.54 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.379e-05/0.6602, allocations: 16 kB / 0.6191 GB, free: 10.53 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005224/0.6654, allocations: 6.293 MB / 0.6252 GB, free: 3.699 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.6655, allocations: 4.031 kB / 0.6252 GB, free: 3.695 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001601/0.6671, allocations: 1.214 MB / 0.6264 GB, free: 2.438 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001575/0.6673, allocations: 128.4 kB / 0.6265 GB, free: 2.293 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.724e-05/0.6673, allocations: 12 kB / 0.6265 GB, free: 2.281 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003146/0.6676, allocations: 16 kB / 0.6266 GB, free: 2.266 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001095/0.6677, allocations: 55.88 kB / 0.6266 GB, free: 2.211 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.912e-05/0.6678, allocations: 16 kB / 0.6266 GB, free: 2.195 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002762/0.6681, allocations: 218 kB / 0.6268 GB, free: 1.977 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.81e-07/0.6681, allocations: 0 / 0.6268 GB, free: 1.977 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001071/0.6692, allocations: 283.1 kB / 0.6271 GB, free: 1.699 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (coaxCylindersEndFaces.port_p.reference.gamma,halfCylinder.port_p.reference.gamma) * 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 (42): * Single equations (assignments): 38 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 8,(1,100.0%) 8,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002522/0.6694, allocations: 151 kB / 0.6272 GB, free: 1.543 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001583/0.671, allocations: 1.071 MB / 0.6283 GB, free: 432 kB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.671, allocations: 0 / 0.6283 GB, free: 432 kB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008883/0.6719, allocations: 0.781 MB / 0.6291 GB, free: 15.59 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004231/0.6724, allocations: 28.56 kB / 0.6291 GB, free: 15.56 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002596/0.675, allocations: 1.613 MB / 0.6307 GB, free: 13.91 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005473/0.6755, allocations: 0.9308 MB / 0.6316 GB, free: 12.95 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003348/0.6759, allocations: 64.53 kB / 0.6316 GB, free: 12.89 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.012e-05/0.676, allocations: 43.42 kB / 0.6317 GB, free: 12.84 MB / 442.7 MB Notification: Performance of SimCode: time 8.51e-07/0.676, allocations: 0 / 0.6317 GB, free: 12.84 MB / 442.7 MB Notification: Performance of Templates: time 0.01273/0.6887, allocations: 6.113 MB / 0.6376 GB, free: 6.734 MB / 442.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.sim & ./ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/NoPhysicalTestLeakage/NoPhysicalTestLeakage.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches