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.0009367/0.0009368, allocations: 174.2 kB / 16.76 MB, free: 4.805 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.341/1.341, allocations: 205.4 MB / 222.9 MB, free: 9.008 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.0007799/0.00078, allocations: 90.36 kB / 271.3 MB, free: 8.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3316/0.3316, allocations: 43.56 MB / 363.1 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003932/0.0003934, allocations: 16 kB / 432.6 MB, free: 5.184 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.13, allocations: 58.84 MB / 491.5 MB, free: 10.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3864/0.5164, allocations: 91.67 MB / 0.5695 GB, free: 10.31 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000303/0.5168, allocations: 83.95 kB / 0.5696 GB, free: 10.23 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06068/0.5775, allocations: 26.92 MB / 0.5959 GB, free: 15.02 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.435e-06/0.5775, allocations: 0 / 0.5959 GB, free: 15.02 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.816e-05/0.5775, allocations: 12 kB / 0.5959 GB, free: 15 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: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.002411/0.5799, allocations: 1.046 MB / 0.5969 GB, free: 13.91 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.58, allocations: 8.031 kB / 0.5969 GB, free: 13.9 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001354/0.5814, allocations: 231.7 kB / 0.5971 GB, free: 13.67 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002442/0.5816, allocations: 259.8 kB / 0.5974 GB, free: 13.38 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001369/0.5818, allocations: 78.56 kB / 0.5974 GB, free: 13.3 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001518/0.5819, allocations: 100.3 kB / 0.5975 GB, free: 13.2 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001511/0.5834, allocations: 0.9359 MB / 0.5984 GB, free: 12.25 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.59e-05/0.5835, allocations: 4 kB / 0.5985 GB, free: 12.25 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.345e-05/0.5836, allocations: 40 kB / 0.5985 GB, free: 12.21 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.928e-05/0.5836, allocations: 24 kB / 0.5985 GB, free: 12.18 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001266/0.5849, allocations: 0.7158 MB / 0.5992 GB, free: 11.46 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005116/0.59, allocations: 3.963 MB / 0.6031 GB, free: 7.172 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002601/0.5926, allocations: 3.379 MB / 0.6064 GB, free: 3.145 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004146/0.5931, allocations: 282.9 kB / 0.6067 GB, free: 2.859 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001137/0.5932, allocations: 97.42 kB / 0.6067 GB, free: 2.746 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.26e-05/0.5932, allocations: 42.89 kB / 0.6068 GB, free: 2.695 MB / 426.7 MB Notification: Performance of pre-optimization done (n=66): time 2.755e-06/0.5932, allocations: 0 / 0.6068 GB, free: 2.695 MB / 426.7 MB Notification: Performance of matching and sorting (n=66): time 0.00265/0.5959, allocations: 1.33 MB / 0.6081 GB, free: 1.277 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.948e-05/0.596, allocations: 144.4 kB / 0.6082 GB, free: 1.105 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003957/0.5964, allocations: 314.8 kB / 0.6085 GB, free: 0.793 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.392e-05/0.5964, allocations: 41.64 kB / 0.6086 GB, free: 0.7461 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002468/0.5967, allocations: 394.5 kB / 0.6089 GB, free: 360 kB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002413/0.597, allocations: 236.6 kB / 0.6092 GB, free: 120 kB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.239e-05/0.597, allocations: 16 kB / 0.6092 GB, free: 104 kB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001836/0.5972, allocations: 354.8 kB / 0.6095 GB, free: 15.75 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000361/0.5976, allocations: 193.9 kB / 0.6097 GB, free: 15.56 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004851/0.5981, allocations: 392.6 kB / 0.6101 GB, free: 15.1 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008453/0.5989, allocations: 0.6175 MB / 0.6107 GB, free: 14.4 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/0.5989, allocations: 7.938 kB / 0.6107 GB, free: 14.39 MB / 442.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001455/0.6004, allocations: 0.8652 MB / 0.6115 GB, free: 13.52 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/0.6004, allocations: 8 kB / 0.6115 GB, free: 13.51 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/0.6004, allocations: 8 kB / 0.6115 GB, free: 13.5 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006544/0.6011, allocations: 223.5 kB / 0.6118 GB, free: 13.27 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004542/0.6016, allocations: 143.8 kB / 0.6119 GB, free: 13.13 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00535/0.6069, allocations: 6.228 MB / 0.618 GB, free: 6.363 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005053/0.6075, allocations: 95.11 kB / 0.6181 GB, free: 6.27 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.383e-05/0.6075, allocations: 32 kB / 0.6181 GB, free: 6.238 MB / 442.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.0004202/0.608, allocations: 225.5 kB / 0.6183 GB, free: 6.008 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001492/0.6081, allocations: 43.53 kB / 0.6184 GB, free: 5.965 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00129/0.6094, allocations: 0.6884 MB / 0.619 GB, free: 5.254 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.017e-06/0.6094, allocations: 8 kB / 0.619 GB, free: 5.246 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.6094, allocations: 4 kB / 0.619 GB, free: 5.242 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.105e-06/0.6095, allocations: 0 / 0.619 GB, free: 5.242 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002413/0.6119, allocations: 1.573 MB / 0.6206 GB, free: 3.602 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.6119, allocations: 0 / 0.6206 GB, free: 3.602 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002331/0.6121, allocations: 71.84 kB / 0.6206 GB, free: 3.531 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005175/0.6127, allocations: 215.5 kB / 0.6209 GB, free: 3.309 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.664e-05/0.6127, allocations: 23.98 kB / 0.6209 GB, free: 3.285 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005499/0.6182, allocations: 6.213 MB / 0.6269 GB, free: 12.54 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.6182, allocations: 3.938 kB / 0.6269 GB, free: 12.54 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001545/0.6198, allocations: 1.17 MB / 0.6281 GB, free: 11.34 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001479/0.62, allocations: 128.5 kB / 0.6282 GB, free: 11.2 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.703e-05/0.62, allocations: 12 kB / 0.6282 GB, free: 11.18 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000301/0.6203, allocations: 16 kB / 0.6282 GB, free: 11.17 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.761e-05/0.6204, allocations: 67.72 kB / 0.6283 GB, free: 11.1 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.891e-05/0.6205, allocations: 16 kB / 0.6283 GB, free: 11.09 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0003222/0.6208, allocations: 213.9 kB / 0.6285 GB, free: 10.87 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.6e-07/0.6208, allocations: 0 / 0.6285 GB, free: 10.87 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001102/0.6219, allocations: 283.1 kB / 0.6288 GB, free: 10.59 MB / 458.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.0002842/0.6222, allocations: 148.1 kB / 0.6289 GB, free: 10.44 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001673/0.6239, allocations: 1.072 MB / 0.63 GB, free: 9.316 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.6239, allocations: 0 / 0.63 GB, free: 9.316 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001009/0.6249, allocations: 0.7844 MB / 0.6307 GB, free: 8.48 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006651/0.6256, allocations: 40.56 kB / 0.6308 GB, free: 8.441 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002997/0.6286, allocations: 1.621 MB / 0.6324 GB, free: 6.789 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006787/0.6293, allocations: 0.9111 MB / 0.6333 GB, free: 5.848 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0003422/0.6297, allocations: 68.53 kB / 0.6333 GB, free: 5.781 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.608e-05/0.6298, allocations: 31.44 kB / 0.6334 GB, free: 5.75 MB / 458.7 MB Notification: Performance of SimCode: time 1.192e-06/0.6298, allocations: 0 / 0.6334 GB, free: 5.75 MB / 458.7 MB Notification: Performance of Templates: time 0.01363/0.6434, allocations: 6.135 MB / 0.6393 GB, free: 15.63 MB / 474.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/jenkins1/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