Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001567/0.001568, allocations: 170.4 kB / 16.07 MB, free: 5.73 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.677/1.677, allocations: 205.6 MB / 222.4 MB, free: 8.934 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008076/0.0008079, allocations: 86.94 kB / 270.8 MB, free: 8.133 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3508/0.3508, allocations: 43.67 MB / 362.7 MB, free: 51.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004867/0.0004868, allocations: 12 kB / 432.3 MB, free: 4.789 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.1353, allocations: 58.84 MB / 491.2 MB, free: 9.816 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.004964/0.1403, allocations: 4.532 MB / 495.7 MB, free: 5.266 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002925/0.1432, allocations: 2.086 MB / 497.8 MB, free: 3.039 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005055/0.1438, allocations: 16 kB / 497.8 MB, free: 3.023 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006443/0.1444, allocations: 254.9 kB / 498 MB, free: 2.773 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008311/0.1453, allocations: 254.4 kB / 498.3 MB, free: 2.523 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001549/0.1468, allocations: 1.222 MB / 499.5 MB, free: 1.152 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009428/0.1478, allocations: 0.7658 MB / 0.4886 GB, free: 392 kB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2063/0.3541, allocations: 2.431 MB / 0.4909 GB, free: 35.93 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005001/0.3546, allocations: 285.2 kB / 0.4912 GB, free: 35.92 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005342/0.3551, allocations: 408.3 kB / 0.4916 GB, free: 35.84 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 7.562e-05/0.3552, allocations: 38.03 kB / 0.4916 GB, free: 35.84 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004584/0.3557, allocations: 145.6 kB / 0.4918 GB, free: 35.84 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001278/0.3558, allocations: 134.4 kB / 0.4919 GB, free: 35.8 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004106/0.3563, allocations: 406.3 kB / 0.4923 GB, free: 35.66 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001425/0.3577, allocations: 1.096 MB / 0.4934 GB, free: 35.5 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.3577, allocations: 3.156 kB / 0.4934 GB, free: 35.5 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.3577, allocations: 0 / 0.4934 GB, free: 35.5 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.459e-05/0.3577, allocations: 0 / 0.4934 GB, free: 35.5 MB / 378.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.003066/0.3608, allocations: 1.209 MB / 0.4945 GB, free: 34.91 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.3609, allocations: 9.094 kB / 0.4945 GB, free: 34.91 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001395/0.3623, allocations: 227 kB / 0.4948 GB, free: 34.87 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000286/0.3626, allocations: 256.4 kB / 0.495 GB, free: 34.63 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001579/0.3627, allocations: 78.42 kB / 0.4951 GB, free: 34.63 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001739/0.3629, allocations: 103.4 kB / 0.4952 GB, free: 34.62 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001812/0.3647, allocations: 0.9286 MB / 0.4961 GB, free: 34.53 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.569e-05/0.3648, allocations: 5.875 kB / 0.4961 GB, free: 34.52 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.872e-05/0.3649, allocations: 43.89 kB / 0.4961 GB, free: 34.52 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.02e-05/0.3649, allocations: 23.22 kB / 0.4962 GB, free: 34.52 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001253/0.3662, allocations: 0.7123 MB / 0.4969 GB, free: 34.52 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004541/0.3707, allocations: 3.96 MB / 0.5007 GB, free: 32.42 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001767/0.3725, allocations: 3.364 MB / 0.504 GB, free: 29.12 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003379/0.3729, allocations: 290.1 kB / 0.5043 GB, free: 29.09 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.331e-05/0.3729, allocations: 96.98 kB / 0.5044 GB, free: 29 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.294e-05/0.373, allocations: 43.86 kB / 0.5044 GB, free: 28.95 MB / 378.7 MB Notification: Performance of pre-optimization done (n=66): time 2.855e-06/0.373, allocations: 2.688 kB / 0.5044 GB, free: 28.95 MB / 378.7 MB Notification: Performance of matching and sorting (n=66): time 0.002407/0.3754, allocations: 1.342 MB / 0.5057 GB, free: 28.45 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.517e-05/0.3755, allocations: 140 kB / 0.5059 GB, free: 28.29 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003769/0.3759, allocations: 317.1 kB / 0.5062 GB, free: 28.17 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.09e-05/0.3759, allocations: 38.05 kB / 0.5062 GB, free: 28.14 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001846/0.3761, allocations: 400.3 kB / 0.5066 GB, free: 27.86 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001351/0.3762, allocations: 231.7 kB / 0.5068 GB, free: 27.72 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.372e-05/0.3763, allocations: 17.41 kB / 0.5068 GB, free: 27.72 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.504e-05/0.3764, allocations: 350.9 kB / 0.5072 GB, free: 27.41 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003537/0.3767, allocations: 203 kB / 0.5073 GB, free: 27.41 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003973/0.3771, allocations: 399.4 kB / 0.5077 GB, free: 27.19 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007236/0.3779, allocations: 0.6207 MB / 0.5083 GB, free: 26.96 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.3779, allocations: 2.688 kB / 0.5083 GB, free: 26.96 MB / 378.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001333/0.3792, allocations: 0.8739 MB / 0.5092 GB, free: 26.84 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.514e-05/0.3793, allocations: 7.531 kB / 0.5092 GB, free: 26.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.251e-05/0.3793, allocations: 6.062 kB / 0.5092 GB, free: 26.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00073/0.38, allocations: 221 kB / 0.5094 GB, free: 26.81 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000491/0.3805, allocations: 137.9 kB / 0.5095 GB, free: 26.81 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004021/0.3845, allocations: 6.238 MB / 0.5156 GB, free: 21.05 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004916/0.3851, allocations: 92.88 kB / 0.5157 GB, free: 20.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.653e-05/0.3851, allocations: 33.3 kB / 0.5158 GB, free: 20.98 MB / 378.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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,8,100.0%), (1,8,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002993/0.3854, allocations: 229.1 kB / 0.516 GB, free: 20.79 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000111/0.3855, allocations: 43.72 kB / 0.516 GB, free: 20.77 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001119/0.3867, allocations: 0.6881 MB / 0.5167 GB, free: 20.44 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.935e-06/0.3867, allocations: 9.25 kB / 0.5167 GB, free: 20.44 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.3867, allocations: 6.375 kB / 0.5167 GB, free: 20.44 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.173e-06/0.3867, allocations: 3.062 kB / 0.5167 GB, free: 20.44 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002037/0.3888, allocations: 1.57 MB / 0.5182 GB, free: 19.56 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.3888, allocations: 0 / 0.5182 GB, free: 19.56 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002271/0.389, allocations: 75.41 kB / 0.5183 GB, free: 19.55 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004633/0.3895, allocations: 216.5 kB / 0.5185 GB, free: 19.47 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.892e-05/0.3895, allocations: 14.61 kB / 0.5185 GB, free: 19.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003576/0.3931, allocations: 6.22 MB / 0.5246 GB, free: 13.68 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.3931, allocations: 3.938 kB / 0.5246 GB, free: 13.68 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001578/0.3947, allocations: 1.172 MB / 0.5258 GB, free: 28.96 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001102/0.3948, allocations: 137.2 kB / 0.5259 GB, free: 28.82 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.957e-05/0.3949, allocations: 14.62 kB / 0.5259 GB, free: 28.81 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003139/0.3952, allocations: 15.25 kB / 0.5259 GB, free: 28.8 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.202e-05/0.3953, allocations: 60.72 kB / 0.526 GB, free: 28.79 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.677e-05/0.3953, allocations: 17.41 kB / 0.526 GB, free: 28.79 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002206/0.3956, allocations: 217.2 kB / 0.5262 GB, free: 28.66 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3956, allocations: 0 / 0.5262 GB, free: 28.66 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009543/0.3965, allocations: 274.2 kB / 0.5265 GB, free: 28.59 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (constantSource2.port_p.reference.gamma,constantSource1.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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,8,100.0%), (1,8,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000211/0.3968, allocations: 142.6 kB / 0.5266 GB, free: 28.49 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001294/0.3981, allocations: 1.073 MB / 0.5276 GB, free: 27.82 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.3981, allocations: 0 / 0.5276 GB, free: 27.82 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00074/0.3988, allocations: 0.7878 MB / 0.5284 GB, free: 27.23 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006371/0.3995, allocations: 49.03 kB / 0.5285 GB, free: 27.2 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001896/0.4014, allocations: 1.64 MB / 0.5301 GB, free: 26.1 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004464/0.4018, allocations: 0.9068 MB / 0.5309 GB, free: 25.39 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002809/0.4021, allocations: 69.09 kB / 0.531 GB, free: 25.36 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.267e-05/0.4022, allocations: 40.17 kB / 0.5311 GB, free: 25.35 MB / 394.7 MB Notification: Performance of SimCode: time 3.1e-07/0.4022, allocations: 0 / 0.5311 GB, free: 25.35 MB / 394.7 MB Notification: Performance of Templates: time 0.01035/0.4126, allocations: 6.316 MB / 0.5372 GB, free: 24.9 MB / 394.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