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.00191/0.00191, allocations: 100.4 kB / 20.45 MB, free: 1.262 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.002308/0.002308, allocations: 215.5 kB / 23.74 MB, free: 4.449 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.66/1.66, allocations: 207.7 MB / 234.6 MB, free: 9.816 MB / 190.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.2218/0.2218, allocations: 44.26 MB / 331.1 MB, free: 9.316 MB / 270.1 MB " [Timeout remaining time 180] 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.002342/0.002342, allocations: 71.91 kB / 468.8 MB, free: 3.852 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1264, allocations: 61.04 MB / 0.5174 GB, free: 6.688 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.006897/0.1333, allocations: 4.712 MB / 0.522 GB, free: 1.949 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003449/0.1367, allocations: 1.546 MB / 0.5235 GB, free: 400 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003681/0.1371, allocations: 20 kB / 0.5235 GB, free: 380 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003676/0.1408, allocations: 1.474 MB / 0.5249 GB, free: 14.89 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001085/0.1419, allocations: 309.6 kB / 0.5252 GB, free: 14.59 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0012/0.1431, allocations: 0.4947 MB / 0.5257 GB, free: 14.09 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001023/0.1441, allocations: 0.8047 MB / 0.5265 GB, free: 13.28 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001082/0.1452, allocations: 0.6233 MB / 0.5271 GB, free: 12.64 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004577/0.1456, allocations: 354.7 kB / 0.5275 GB, free: 12.29 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006845/0.1463, allocations: 402.2 kB / 0.5278 GB, free: 11.9 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001043/0.1464, allocations: 72 kB / 0.5279 GB, free: 11.83 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000429/0.1469, allocations: 183.9 kB / 0.5281 GB, free: 11.65 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001449/0.147, allocations: 183.3 kB / 0.5283 GB, free: 11.47 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003274/0.1473, allocations: 338.4 kB / 0.5286 GB, free: 11.14 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001379/0.1487, allocations: 1.167 MB / 0.5297 GB, free: 9.965 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.106e-05/0.1487, allocations: 0 / 0.5297 GB, free: 9.965 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.506e-05/0.1487, allocations: 4 kB / 0.5297 GB, free: 9.961 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.841e-05/0.1488, allocations: 0 / 0.5297 GB, free: 9.961 MB / 414.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.003469/0.1522, allocations: 1.289 MB / 0.531 GB, free: 8.641 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.1523, allocations: 8.031 kB / 0.531 GB, free: 8.633 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001434/0.1537, allocations: 232.2 kB / 0.5312 GB, free: 8.406 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002946/0.154, allocations: 198 kB / 0.5314 GB, free: 8.188 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.767e-05/0.1541, allocations: 74.38 kB / 0.5315 GB, free: 8.113 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002161/0.1543, allocations: 104.1 kB / 0.5316 GB, free: 8.012 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00159/0.1559, allocations: 0.9282 MB / 0.5325 GB, free: 7.066 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.315e-05/0.1559, allocations: 15.92 kB / 0.5325 GB, free: 7.051 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.061e-05/0.156, allocations: 40 kB / 0.5325 GB, free: 7.012 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.375e-05/0.156, allocations: 28 kB / 0.5326 GB, free: 6.984 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001379/0.1574, allocations: 0.7182 MB / 0.5333 GB, free: 6.27 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00483/0.1622, allocations: 2.689 MB / 0.5359 GB, free: 3.449 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001579/0.1638, allocations: 0.7663 MB / 0.5366 GB, free: 2.656 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004307/0.1642, allocations: 260.4 kB / 0.5369 GB, free: 2.391 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.91e-05/0.1643, allocations: 20.31 kB / 0.5369 GB, free: 2.371 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.745e-05/0.1644, allocations: 38.89 kB / 0.5369 GB, free: 2.324 MB / 414.1 MB Notification: Performance of pre-optimization done (n=66): time 2.675e-06/0.1644, allocations: 0 / 0.5369 GB, free: 2.324 MB / 414.1 MB Notification: Performance of matching and sorting (n=66): time 0.002749/0.1671, allocations: 1.016 MB / 0.5379 GB, free: 1.293 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001005/0.1672, allocations: 140.5 kB / 0.5381 GB, free: 1.125 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003788/0.1676, allocations: 305.5 kB / 0.5384 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.829e-05/0.1676, allocations: 41.77 kB / 0.5384 GB, free: 0.7734 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002764/0.1679, allocations: 411.9 kB / 0.5388 GB, free: 372 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001994/0.1681, allocations: 245.9 kB / 0.539 GB, free: 124 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.2304/0.3985, allocations: 141.6 kB / 0.5392 GB, free: 28.34 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.3986, allocations: 347.6 kB / 0.5395 GB, free: 28.02 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004349/0.399, allocations: 199.9 kB / 0.5397 GB, free: 28.02 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005809/0.3996, allocations: 398 kB / 0.5401 GB, free: 27.81 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007948/0.4004, allocations: 0.6185 MB / 0.5407 GB, free: 27.59 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.414e-06/0.4004, allocations: 4.562 kB / 0.5407 GB, free: 27.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001412/0.4018, allocations: 0.8699 MB / 0.5415 GB, free: 27.46 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.084e-05/0.4019, allocations: 7.688 kB / 0.5415 GB, free: 27.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.104e-05/0.4019, allocations: 8.234 kB / 0.5415 GB, free: 27.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007545/0.4026, allocations: 220 kB / 0.5417 GB, free: 27.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005333/0.4032, allocations: 148.3 kB / 0.5419 GB, free: 27.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004622/0.4078, allocations: 6.158 MB / 0.5479 GB, free: 22.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005156/0.4083, allocations: 86.47 kB / 0.548 GB, free: 22.1 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.247e-05/0.4084, allocations: 34.03 kB / 0.548 GB, free: 22.1 MB / 414.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.0002896/0.4087, allocations: 219.2 kB / 0.5482 GB, free: 21.91 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001228/0.4088, allocations: 47.83 kB / 0.5483 GB, free: 21.89 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001203/0.41, allocations: 0.6819 MB / 0.5489 GB, free: 21.56 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.017e-05/0.41, allocations: 7.875 kB / 0.5489 GB, free: 21.56 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/0.41, allocations: 7.125 kB / 0.5489 GB, free: 21.56 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.147e-05/0.41, allocations: 4.391 kB / 0.549 GB, free: 21.56 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002117/0.4121, allocations: 1.341 MB / 0.5503 GB, free: 20.81 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.4121, allocations: 3.75 kB / 0.5503 GB, free: 20.81 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002465/0.4124, allocations: 69.83 kB / 0.5503 GB, free: 20.8 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005017/0.4129, allocations: 217.1 kB / 0.5505 GB, free: 20.72 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.203e-05/0.4129, allocations: 14.17 kB / 0.5506 GB, free: 20.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004224/0.4171, allocations: 6.151 MB / 0.5566 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.4171, allocations: 8.078 kB / 0.5566 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001407/0.4185, allocations: 1.178 MB / 0.5577 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001032/0.4187, allocations: 49.88 kB / 0.5578 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.736e-05/0.4187, allocations: 12.84 kB / 0.5578 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003168/0.419, allocations: 13.62 kB / 0.5578 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000109/0.4191, allocations: 63.36 kB / 0.5578 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.812e-05/0.4192, allocations: 17.89 kB / 0.5579 GB, free: 14.34 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001998/0.4194, allocations: 194.4 kB / 0.5581 GB, free: 14.23 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4194, allocations: 0 / 0.5581 GB, free: 14.23 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001112/0.4205, allocations: 276.7 kB / 0.5583 GB, free: 14.18 MB / 414.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.0002151/0.4207, allocations: 132.5 kB / 0.5584 GB, free: 14.07 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001483/0.4222, allocations: 1.049 MB / 0.5595 GB, free: 13.39 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.4222, allocations: 0.7188 kB / 0.5595 GB, free: 13.39 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007611/0.4229, allocations: 0.7618 MB / 0.5602 GB, free: 12.8 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006227/0.4236, allocations: 43.73 kB / 0.5603 GB, free: 12.77 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00205/0.4256, allocations: 1.282 MB / 0.5615 GB, free: 12.02 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003559/0.426, allocations: 313.8 kB / 0.5618 GB, free: 11.91 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001162/0.4261, allocations: 39.25 kB / 0.5618 GB, free: 11.9 MB / 414.1 MB Notification: Performance of SimCode: time 6.91e-07/0.4261, allocations: 0 / 0.5618 GB, free: 11.9 MB / 414.1 MB Notification: Performance of Templates: time 0.02319/0.4493, allocations: 19.71 MB / 0.5811 GB, free: 4.215 MB / 414.1 MB " [Timeout remaining time 660] 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 -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: 9.228192027192563]