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/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.002239/0.002239, allocations: 77.94 kB / 20.51 MB, free: 1.277 MB / 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.002584/0.002584, allocations: 171.2 kB / 23.76 MB, free: 4.461 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.579/1.579, allocations: 158.6 MB / 185.5 MB, free: 6.219 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2245/0.2245, allocations: 32.38 MB / 270.1 MB, free: 2.715 MB / 254.1 MB " [Timeout remaining time 179] 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 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 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_3.2.3_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_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.002525/0.002525, allocations: 67.84 kB / 407.8 MB, free: 5.543 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1327, allocations: 61.03 MB / 468.8 MB, free: 8.324 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.00877/0.1415, allocations: 4.712 MB / 473.5 MB, free: 3.586 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00447/0.146, allocations: 1.55 MB / 475.1 MB, free: 2.023 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001093/0.1471, allocations: 16 kB / 475.1 MB, free: 2.008 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004587/0.1517, allocations: 1.56 MB / 476.6 MB, free: 452 kB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001593/0.1533, allocations: 305.7 kB / 476.9 MB, free: 144 kB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2926/0.4459, allocations: 491.5 kB / 477.4 MB, free: 44.02 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002382/0.4482, allocations: 0.8046 MB / 478.2 MB, free: 44.02 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002296/0.4505, allocations: 0.6286 MB / 478.8 MB, free: 43.98 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008825/0.4514, allocations: 343.7 kB / 479.2 MB, free: 43.93 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009225/0.4523, allocations: 406.5 kB / 479.6 MB, free: 43.84 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002616/0.4526, allocations: 76.09 kB / 479.6 MB, free: 43.84 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000895/0.4535, allocations: 185 kB / 479.8 MB, free: 43.84 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003038/0.4538, allocations: 179.7 kB / 480 MB, free: 43.8 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001099/0.4549, allocations: 343.4 kB / 480.3 MB, free: 43.71 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002738/0.4576, allocations: 1.161 MB / 481.5 MB, free: 43.55 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.708e-06/0.4576, allocations: 3.234 kB / 481.5 MB, free: 43.55 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.405e-06/0.4576, allocations: 0 / 481.5 MB, free: 43.55 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.229e-05/0.4577, allocations: 0 / 481.5 MB, free: 43.55 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.005446/0.4632, allocations: 1.291 MB / 482.8 MB, free: 43.04 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.4632, allocations: 9.719 kB / 482.8 MB, free: 43.04 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002117/0.4653, allocations: 233.2 kB / 483 MB, free: 43 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000256/0.4656, allocations: 207 kB / 483.2 MB, free: 42.82 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.182e-05/0.4657, allocations: 74.03 kB / 483.3 MB, free: 42.82 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002175/0.4659, allocations: 97 kB / 483.4 MB, free: 42.82 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002037/0.4679, allocations: 0.94 MB / 484.3 MB, free: 42.52 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.304e-05/0.468, allocations: 15.42 kB / 484.4 MB, free: 42.51 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001083/0.4681, allocations: 37.69 kB / 484.4 MB, free: 42.48 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.39e-05/0.4681, allocations: 25.72 kB / 484.4 MB, free: 42.48 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001557/0.4696, allocations: 0.7127 MB / 485.1 MB, free: 42.24 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00503/0.4747, allocations: 2.695 MB / 487.8 MB, free: 40.5 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001934/0.4766, allocations: 0.7572 MB / 488.6 MB, free: 40.17 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004718/0.4771, allocations: 256.8 kB / 488.8 MB, free: 40.05 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.716e-05/0.4772, allocations: 20.05 kB / 488.9 MB, free: 40.05 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.553e-05/0.4772, allocations: 47.95 kB / 488.9 MB, free: 40 MB / 446.1 MB Notification: Performance of pre-optimization done (n=66): time 3.787e-06/0.4772, allocations: 0 / 488.9 MB, free: 40 MB / 446.1 MB Notification: Performance of matching and sorting (n=66): time 0.00323/0.4804, allocations: 1.006 MB / 489.9 MB, free: 39.65 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.648e-05/0.4805, allocations: 137.9 kB / 490 MB, free: 39.5 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003911/0.4809, allocations: 305 kB / 490.3 MB, free: 39.31 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.452e-05/0.4809, allocations: 36.61 kB / 490.4 MB, free: 39.27 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002008/0.4811, allocations: 414.4 kB / 490.8 MB, free: 38.95 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001546/0.4812, allocations: 243.8 kB / 491 MB, free: 38.76 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002503/0.4815, allocations: 146.5 kB / 491.2 MB, free: 38.68 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.988e-05/0.4816, allocations: 350.1 kB / 491.5 MB, free: 38.36 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000438/0.482, allocations: 202.6 kB / 491.7 MB, free: 38.28 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005283/0.4825, allocations: 402.3 kB / 492.1 MB, free: 37.98 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001013/0.4836, allocations: 0.62 MB / 492.7 MB, free: 37.56 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.828e-06/0.4836, allocations: 4.562 kB / 492.7 MB, free: 37.56 MB / 446.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001944/0.4855, allocations: 0.8724 MB / 493.6 MB, free: 37.2 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/0.4855, allocations: 6.625 kB / 493.6 MB, free: 37.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.59e-05/0.4856, allocations: 10.25 kB / 493.6 MB, free: 37.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007405/0.4863, allocations: 224.4 kB / 493.8 MB, free: 37.12 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006583/0.4869, allocations: 135.6 kB / 494 MB, free: 37.12 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005332/0.4923, allocations: 6.177 MB / 0.4884 GB, free: 31.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006669/0.4929, allocations: 85.11 kB / 0.4885 GB, free: 31.51 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.656e-05/0.493, allocations: 36.78 kB / 0.4885 GB, free: 31.5 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.0003622/0.4934, allocations: 222.5 kB / 0.4887 GB, free: 31.33 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001741/0.4936, allocations: 39.17 kB / 0.4888 GB, free: 31.31 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001467/0.495, allocations: 0.6818 MB / 0.4894 GB, free: 30.98 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.829e-06/0.495, allocations: 12.02 kB / 0.4895 GB, free: 30.98 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.318e-05/0.495, allocations: 5.812 kB / 0.4895 GB, free: 30.98 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.428e-06/0.4951, allocations: 3.375 kB / 0.4895 GB, free: 30.98 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002106/0.4972, allocations: 1.34 MB / 0.4908 GB, free: 30.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.4972, allocations: 3.312 kB / 0.4908 GB, free: 30.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002284/0.4974, allocations: 70.86 kB / 0.4908 GB, free: 30.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004393/0.4978, allocations: 211.1 kB / 0.491 GB, free: 30.15 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.963e-05/0.4979, allocations: 14.56 kB / 0.4911 GB, free: 30.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003623/0.5015, allocations: 6.147 MB / 0.4971 GB, free: 24.6 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.5015, allocations: 4.969 kB / 0.4971 GB, free: 24.6 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001188/0.5027, allocations: 1.184 MB / 0.4982 GB, free: 23.88 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.916e-05/0.5028, allocations: 59.56 kB / 0.4983 GB, free: 23.84 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.494e-05/0.5028, allocations: 15.81 kB / 0.4983 GB, free: 23.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003246/0.5031, allocations: 11.38 kB / 0.4983 GB, free: 23.82 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.556e-05/0.5032, allocations: 70.11 kB / 0.4984 GB, free: 23.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.601e-05/0.5032, allocations: 15.91 kB / 0.4984 GB, free: 23.8 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001576/0.5034, allocations: 191.2 kB / 0.4986 GB, free: 23.68 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5034, allocations: 0 / 0.4986 GB, free: 23.68 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008517/0.5043, allocations: 281.4 kB / 0.4988 GB, free: 23.61 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.0001934/0.5044, allocations: 137.5 kB / 0.499 GB, free: 23.51 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001219/0.5057, allocations: 1.043 MB / 0.5 GB, free: 22.84 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.5057, allocations: 1.125 kB / 0.5 GB, free: 22.84 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006141/0.5063, allocations: 0.7609 MB / 0.5007 GB, free: 22.26 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005882/0.5069, allocations: 37.48 kB / 0.5008 GB, free: 22.24 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00174/0.5086, allocations: 1.253 MB / 0.502 GB, free: 21.51 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002832/0.5089, allocations: 317.4 kB / 0.5023 GB, free: 21.4 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002451/0.5091, allocations: 65.25 kB / 0.5024 GB, free: 21.38 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.247e-05/0.5092, allocations: 36.19 kB / 0.5024 GB, free: 21.36 MB / 446.1 MB Notification: Performance of SimCode: time 7.01e-07/0.5092, allocations: 0 / 0.5024 GB, free: 21.36 MB / 446.1 MB Notification: Performance of Templates: time 0.01518/0.5244, allocations: 6.606 MB / 0.5088 GB, free: 20.52 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.makefile [Timeout 660] (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 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.842536573065445]