Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.001715/0.001715, allocations: 181.7 kB / 17.41 MB, free: 4.289 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.034/2.034, allocations: 205.4 MB / 223.6 MB, free: 9.02 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.001033/0.001033, allocations: 82.42 kB / 271.9 MB, free: 8.262 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.581/0.581, allocations: 43.56 MB / 363.8 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006243/0.0006244, allocations: 16 kB / 432.6 MB, free: 5.863 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2163/0.217, allocations: 58.85 MB / 491.5 MB, free: 10.94 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6089/0.826, allocations: 91.67 MB / 0.5695 GB, free: 10.73 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004396/0.8265, allocations: 82.17 kB / 0.5695 GB, free: 10.66 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1192/0.9458, allocations: 26.92 MB / 0.5958 GB, free: 15.44 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.238e-06/0.9458, allocations: 3.938 kB / 0.5958 GB, free: 15.43 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.301e-05/0.9459, allocations: 16 kB / 0.5958 GB, free: 15.42 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.005427/0.9513, allocations: 1.046 MB / 0.5969 GB, free: 14.32 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.012e-05/0.9514, allocations: 8.031 kB / 0.5969 GB, free: 14.31 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003136/0.9546, allocations: 231.7 kB / 0.5971 GB, free: 14.09 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005025/0.9551, allocations: 256.4 kB / 0.5973 GB, free: 13.8 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002948/0.9554, allocations: 74.56 kB / 0.5974 GB, free: 13.72 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005261/0.956, allocations: 104.3 kB / 0.5975 GB, free: 13.62 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004323/0.9603, allocations: 0.932 MB / 0.5984 GB, free: 12.67 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.334e-05/0.9605, allocations: 0 / 0.5984 GB, free: 12.67 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002015/0.9607, allocations: 40 kB / 0.5985 GB, free: 12.63 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.335e-05/0.9608, allocations: 24 kB / 0.5985 GB, free: 12.61 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002738/0.9635, allocations: 0.7222 MB / 0.5992 GB, free: 11.88 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009785/0.9733, allocations: 3.967 MB / 0.6031 GB, free: 7.586 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00446/0.9779, allocations: 3.374 MB / 0.6064 GB, free: 3.566 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008586/0.9788, allocations: 284.5 kB / 0.6066 GB, free: 3.277 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002443/0.9791, allocations: 101.4 kB / 0.6067 GB, free: 3.16 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.379e-05/0.9792, allocations: 42.89 kB / 0.6068 GB, free: 3.109 MB / 426.7 MB Notification: Performance of pre-optimization done (n=66): time 6.973e-06/0.9792, allocations: 0 / 0.6068 GB, free: 3.109 MB / 426.7 MB Notification: Performance of matching and sorting (n=66): time 0.005194/0.9844, allocations: 1.322 MB / 0.6081 GB, free: 1.699 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000134/0.9846, allocations: 144.5 kB / 0.6082 GB, free: 1.527 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008479/0.9855, allocations: 322.7 kB / 0.6085 GB, free: 1.207 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.768e-05/0.9856, allocations: 37.7 kB / 0.6085 GB, free: 1.164 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004427/0.9861, allocations: 398.4 kB / 0.6089 GB, free: 0.7656 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003345/0.9864, allocations: 232.6 kB / 0.6091 GB, free: 0.5352 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.362e-05/0.9865, allocations: 16 kB / 0.6092 GB, free: 0.5195 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002405/0.9868, allocations: 350.8 kB / 0.6095 GB, free: 172 kB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000723/0.9875, allocations: 190 kB / 0.6097 GB, free: 15.98 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009564/0.9885, allocations: 404.5 kB / 0.6101 GB, free: 15.51 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001672/0.9902, allocations: 0.6175 MB / 0.6107 GB, free: 14.82 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.357e-05/0.9902, allocations: 3.938 kB / 0.6107 GB, free: 14.81 MB / 442.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002848/0.9931, allocations: 0.8691 MB / 0.6115 GB, free: 13.93 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.723e-05/0.9932, allocations: 4 kB / 0.6115 GB, free: 13.93 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.284e-05/0.9932, allocations: 8 kB / 0.6115 GB, free: 13.92 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001253/0.9945, allocations: 223.5 kB / 0.6117 GB, free: 13.69 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008857/0.9954, allocations: 143.7 kB / 0.6119 GB, free: 13.55 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009456/1.005, allocations: 6.228 MB / 0.618 GB, free: 6.781 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001145/1.006, allocations: 87.06 kB / 0.618 GB, free: 6.695 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001684/1.006, allocations: 39.97 kB / 0.6181 GB, free: 6.656 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.0007836/1.007, allocations: 225.5 kB / 0.6183 GB, free: 6.426 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002728/1.007, allocations: 43.59 kB / 0.6183 GB, free: 6.383 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002329/1.01, allocations: 0.6807 MB / 0.619 GB, free: 5.68 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.891e-05/1.01, allocations: 8 kB / 0.619 GB, free: 5.672 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.401e-05/1.01, allocations: 8 kB / 0.619 GB, free: 5.664 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.402e-05/1.01, allocations: 11.92 kB / 0.619 GB, free: 5.652 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004772/1.015, allocations: 1.562 MB / 0.6205 GB, free: 4.023 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-05/1.015, allocations: 4 kB / 0.6206 GB, free: 4.02 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004836/1.015, allocations: 63.92 kB / 0.6206 GB, free: 3.957 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001108/1.016, allocations: 223.5 kB / 0.6208 GB, free: 3.727 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.143e-05/1.016, allocations: 16 kB / 0.6208 GB, free: 3.711 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009347/1.026, allocations: 6.209 MB / 0.6269 GB, free: 12.97 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.987e-06/1.026, allocations: 3.938 kB / 0.6269 GB, free: 12.96 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003194/1.029, allocations: 1.178 MB / 0.6281 GB, free: 11.76 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003533/1.029, allocations: 132.5 kB / 0.6282 GB, free: 11.61 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001578/1.03, allocations: 12.06 kB / 0.6282 GB, free: 11.6 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007341/1.03, allocations: 20 kB / 0.6282 GB, free: 11.58 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002285/1.031, allocations: 63.64 kB / 0.6283 GB, free: 11.52 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.193e-05/1.031, allocations: 20 kB / 0.6283 GB, free: 11.5 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0005463/1.031, allocations: 213.9 kB / 0.6285 GB, free: 11.29 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.31e-07/1.031, allocations: 0 / 0.6285 GB, free: 11.29 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002017/1.033, allocations: 279.1 kB / 0.6288 GB, free: 11.01 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.0004703/1.034, allocations: 147.1 kB / 0.6289 GB, free: 10.86 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002998/1.037, allocations: 1.068 MB / 0.6299 GB, free: 9.738 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.785e-06/1.037, allocations: 0 / 0.6299 GB, free: 9.738 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001673/1.039, allocations: 0.7883 MB / 0.6307 GB, free: 8.898 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001374/1.04, allocations: 48.12 kB / 0.6308 GB, free: 8.859 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00481/1.045, allocations: 1.647 MB / 0.6324 GB, free: 7.172 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009985/1.046, allocations: 0.9111 MB / 0.6333 GB, free: 6.23 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002761/1.046, allocations: 43.42 kB / 0.6333 GB, free: 6.188 MB / 458.7 MB Notification: Performance of SimCode: time 1.051e-06/1.046, allocations: 4 kB / 0.6333 GB, free: 6.184 MB / 458.7 MB Notification: Performance of Templates: time 0.03747/1.084, allocations: 19.3 MB / 0.6522 GB, free: 2.855 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches