Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001563/0.001563, allocations: 75.73 kB / 21.24 MB, free: 400 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001836/0.001836, allocations: 168.6 kB / 24.5 MB, free: 3.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.493/1.493, allocations: 177.2 MB / 204.9 MB, free: 9.043 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2166/0.2166, allocations: 32.81 MB / 294.1 MB, free: 48 kB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|constantSource1.port_p.reference.gamma|quarterHollowSphere.port_p.reference.gamma",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage") translateModel(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|constantSource1.port_p.reference.gamma|quarterHollowSphere.port_p.reference.gamma",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002839/0.002839, allocations: 67.91 kB / 440.6 MB, free: 9.477 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4191/0.4219, allocations: 65.44 MB / 0.4941 GB, free: 31.41 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.005524/0.4275, allocations: 4.76 MB / 0.4988 GB, free: 28.25 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003125/0.4306, allocations: 1.582 MB / 0.5003 GB, free: 27.16 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003411/0.4309, allocations: 18.78 kB / 0.5004 GB, free: 27.16 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003091/0.434, allocations: 1.553 MB / 0.5019 GB, free: 26.28 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009847/0.435, allocations: 314.5 kB / 0.5022 GB, free: 26.06 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001086/0.4361, allocations: 0.4927 MB / 0.5027 GB, free: 25.77 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008393/0.4369, allocations: 0.7994 MB / 0.5034 GB, free: 25.36 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008752/0.4378, allocations: 0.6273 MB / 0.504 GB, free: 24.99 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004039/0.4382, allocations: 350 kB / 0.5044 GB, free: 24.82 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004353/0.4386, allocations: 407.8 kB / 0.5048 GB, free: 24.65 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.835e-05/0.4387, allocations: 80.53 kB / 0.5048 GB, free: 24.64 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003946/0.4391, allocations: 187.3 kB / 0.505 GB, free: 24.61 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000112/0.4392, allocations: 177 kB / 0.5052 GB, free: 24.48 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002615/0.4395, allocations: 343.4 kB / 0.5055 GB, free: 24.3 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001107/0.4406, allocations: 1.19 MB / 0.5067 GB, free: 23.81 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.4406, allocations: 0 / 0.5067 GB, free: 23.81 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.4406, allocations: 0 / 0.5067 GB, free: 23.81 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.317e-05/0.4406, allocations: 0 / 0.5067 GB, free: 23.81 MB / 446.1 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.003004/0.4436, allocations: 1.297 MB / 0.5079 GB, free: 23.08 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.4437, allocations: 12.95 kB / 0.508 GB, free: 23.07 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001523/0.4452, allocations: 233.5 kB / 0.5082 GB, free: 23 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001845/0.4454, allocations: 206.3 kB / 0.5084 GB, free: 22.8 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.319e-05/0.4454, allocations: 73.81 kB / 0.5084 GB, free: 22.77 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001151/0.4455, allocations: 106.9 kB / 0.5086 GB, free: 22.73 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001213/0.4468, allocations: 0.9299 MB / 0.5095 GB, free: 22.32 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.37e-05/0.4468, allocations: 10.33 kB / 0.5095 GB, free: 22.32 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.497e-05/0.4469, allocations: 42.62 kB / 0.5095 GB, free: 22.29 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.685e-05/0.4469, allocations: 25.78 kB / 0.5095 GB, free: 22.29 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001052/0.4479, allocations: 0.7227 MB / 0.5102 GB, free: 22.03 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003891/0.4518, allocations: 2.715 MB / 0.5129 GB, free: 20.2 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001579/0.4534, allocations: 0.773 MB / 0.5136 GB, free: 19.84 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004396/0.4538, allocations: 271.2 kB / 0.5139 GB, free: 19.71 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.043e-05/0.4539, allocations: 25.16 kB / 0.5139 GB, free: 19.7 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.836e-05/0.454, allocations: 43.92 kB / 0.514 GB, free: 19.66 MB / 446.1 MB Notification: Performance of pre-optimization done (n=66): time 2.685e-06/0.454, allocations: 0 / 0.514 GB, free: 19.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=66): time 0.002548/0.4565, allocations: 1.008 MB / 0.515 GB, free: 19.28 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.353e-05/0.4566, allocations: 140.4 kB / 0.5151 GB, free: 19.12 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003218/0.4569, allocations: 303.7 kB / 0.5154 GB, free: 18.94 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.707e-05/0.4569, allocations: 40.52 kB / 0.5154 GB, free: 18.89 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001841/0.4571, allocations: 411.1 kB / 0.5158 GB, free: 18.57 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000141/0.4572, allocations: 246.1 kB / 0.516 GB, free: 18.37 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001908/0.4574, allocations: 145.8 kB / 0.5162 GB, free: 18.3 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.449e-05/0.4575, allocations: 348.5 kB / 0.5165 GB, free: 17.97 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003243/0.4578, allocations: 195.8 kB / 0.5167 GB, free: 17.9 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004355/0.4583, allocations: 405.4 kB / 0.5171 GB, free: 17.59 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007723/0.459, allocations: 0.621 MB / 0.5177 GB, free: 17.15 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.112e-06/0.459, allocations: 1.281 kB / 0.5177 GB, free: 17.15 MB / 446.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001434/0.4605, allocations: 0.8906 MB / 0.5186 GB, free: 16.73 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.4605, allocations: 7.297 kB / 0.5186 GB, free: 16.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/0.4605, allocations: 7.312 kB / 0.5186 GB, free: 16.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006083/0.4611, allocations: 224.2 kB / 0.5188 GB, free: 16.64 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004898/0.4616, allocations: 140.8 kB / 0.5189 GB, free: 16.63 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004217/0.4658, allocations: 6.157 MB / 0.5249 GB, free: 11.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004995/0.4663, allocations: 84.09 kB / 0.525 GB, free: 10.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-05/0.4664, allocations: 31.09 kB / 0.5251 GB, free: 10.97 MB / 446.1 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.0003243/0.4667, allocations: 225.9 kB / 0.5253 GB, free: 10.78 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001506/0.4669, allocations: 48 kB / 0.5253 GB, free: 10.75 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001216/0.4681, allocations: 0.6839 MB / 0.526 GB, free: 10.41 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.827e-06/0.4681, allocations: 7.828 kB / 0.526 GB, free: 10.41 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.736e-06/0.4681, allocations: 5.188 kB / 0.526 GB, free: 10.41 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.023e-05/0.4681, allocations: 9.078 kB / 0.526 GB, free: 10.41 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002155/0.4703, allocations: 1.347 MB / 0.5273 GB, free: 9.625 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.4703, allocations: 0 / 0.5273 GB, free: 9.625 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002471/0.4705, allocations: 71.95 kB / 0.5274 GB, free: 9.617 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000503/0.471, allocations: 219.1 kB / 0.5276 GB, free: 9.527 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.302e-05/0.471, allocations: 18.84 kB / 0.5276 GB, free: 9.516 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004078/0.4751, allocations: 6.147 MB / 0.5336 GB, free: 3.922 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.4751, allocations: 2.219 kB / 0.5336 GB, free: 3.922 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001496/0.4766, allocations: 1.187 MB / 0.5348 GB, free: 3.18 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.674e-05/0.4767, allocations: 51.98 kB / 0.5348 GB, free: 3.145 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.596e-05/0.4768, allocations: 12.62 kB / 0.5348 GB, free: 3.137 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003273/0.4771, allocations: 13.09 kB / 0.5349 GB, free: 3.129 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001219/0.4772, allocations: 71.59 kB / 0.5349 GB, free: 3.105 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.581e-05/0.4773, allocations: 19.77 kB / 0.5349 GB, free: 3.102 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002074/0.4775, allocations: 189.5 kB / 0.5351 GB, free: 2.992 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4775, allocations: 1.312 kB / 0.5351 GB, free: 2.992 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001119/0.4786, allocations: 283.3 kB / 0.5354 GB, free: 2.914 MB / 446.1 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.0002017/0.4788, allocations: 137.2 kB / 0.5355 GB, free: 2.805 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001405/0.4802, allocations: 1.051 MB / 0.5365 GB, free: 2.113 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.4802, allocations: 0 / 0.5365 GB, free: 2.113 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007604/0.4809, allocations: 0.7608 MB / 0.5373 GB, free: 1.52 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006426/0.4816, allocations: 52.5 kB / 0.5373 GB, free: 1.484 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002344/0.4839, allocations: 1.238 MB / 0.5385 GB, free: 0.7422 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005918/0.4845, allocations: 317.1 kB / 0.5389 GB, free: 0.6367 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002876/0.4848, allocations: 68.34 kB / 0.5389 GB, free: 0.6055 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001157/0.4849, allocations: 40.05 kB / 0.539 GB, free: 0.5938 MB / 446.1 MB Notification: Performance of SimCode: time 1.944e-06/0.4849, allocations: 0 / 0.539 GB, free: 0.5938 MB / 446.1 MB Notification: Performance of Templates: time 0.01611/0.501, allocations: 6.739 MB / 0.5455 GB, free: 15.71 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/NoPhysicalTestLeakage/NoPhysicalTestLeakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.6762803849997]