Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001288/0.001288, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.001398/0.001398, allocations: 209.8 kB / 24.5 MB, free: 4.133 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.422/1.422, allocations: 230.6 MB / 258.3 MB, free: 8.051 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2216/0.2216, allocations: 46.93 MB / 361.6 MB, free: 4.289 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002216/0.002216, allocations: 63.91 kB / 0.4974 GB, free: 7.422 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3404/0.3426, allocations: 66.03 MB / 0.5619 GB, free: 4.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.007319/0.3499, allocations: 5.381 MB / 0.5671 GB, free: 15.02 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003542/0.3535, allocations: 1.678 MB / 0.5688 GB, free: 13.34 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006934/0.3542, allocations: 20 kB / 0.5688 GB, free: 13.32 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003911/0.3581, allocations: 1.602 MB / 0.5703 GB, free: 11.71 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001266/0.3593, allocations: 317.6 kB / 0.5706 GB, free: 11.4 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001371/0.3607, allocations: 0.518 MB / 0.5712 GB, free: 10.88 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001589/0.3623, allocations: 0.8008 MB / 0.5719 GB, free: 10.07 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001478/0.3638, allocations: 0.6377 MB / 0.5726 GB, free: 9.422 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007295/0.3645, allocations: 350.7 kB / 0.5729 GB, free: 9.078 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008055/0.3653, allocations: 466.2 kB / 0.5733 GB, free: 8.621 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001841/0.3655, allocations: 76 kB / 0.5734 GB, free: 8.547 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005536/0.366, allocations: 195.9 kB / 0.5736 GB, free: 8.355 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001749/0.3662, allocations: 179.3 kB / 0.5738 GB, free: 8.18 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005099/0.3667, allocations: 429.9 kB / 0.5742 GB, free: 7.758 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00155/0.3683, allocations: 1.179 MB / 0.5753 GB, free: 6.578 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.3683, allocations: 0 / 0.5753 GB, free: 6.578 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.3683, allocations: 0 / 0.5753 GB, free: 6.578 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.036e-05/0.3683, allocations: 0 / 0.5753 GB, free: 6.578 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.003774/0.3721, allocations: 1.299 MB / 0.5766 GB, free: 5.25 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.3721, allocations: 8.031 kB / 0.5766 GB, free: 5.242 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00167/0.3738, allocations: 232.2 kB / 0.5768 GB, free: 5.016 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002994/0.3741, allocations: 211.5 kB / 0.577 GB, free: 4.785 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.996e-05/0.3742, allocations: 78.31 kB / 0.5771 GB, free: 4.707 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001858/0.3744, allocations: 104.1 kB / 0.5772 GB, free: 4.605 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001671/0.3761, allocations: 0.9361 MB / 0.5781 GB, free: 3.652 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.129e-05/0.3761, allocations: 7.953 kB / 0.5781 GB, free: 3.645 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.61e-05/0.3762, allocations: 40 kB / 0.5782 GB, free: 3.605 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.501e-05/0.3762, allocations: 24 kB / 0.5782 GB, free: 3.582 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001347/0.3776, allocations: 0.7222 MB / 0.5789 GB, free: 2.855 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005547/0.3831, allocations: 3.684 MB / 0.5825 GB, free: 14.88 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001601/0.3847, allocations: 0.7704 MB / 0.5832 GB, free: 14.09 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004227/0.3851, allocations: 264.5 kB / 0.5835 GB, free: 13.82 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001027/0.3852, allocations: 28.3 kB / 0.5835 GB, free: 13.79 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.593e-05/0.3853, allocations: 42.83 kB / 0.5836 GB, free: 13.74 MB / 430.1 MB Notification: Performance of pre-optimization done (n=66): time 2.024e-06/0.3853, allocations: 0 / 0.5836 GB, free: 13.74 MB / 430.1 MB Notification: Performance of matching and sorting (n=66): time 0.002603/0.3879, allocations: 1.019 MB / 0.5846 GB, free: 12.71 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.825e-05/0.388, allocations: 140.5 kB / 0.5847 GB, free: 12.54 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004021/0.3884, allocations: 319.9 kB / 0.585 GB, free: 12.22 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.41e-05/0.3884, allocations: 37.7 kB / 0.585 GB, free: 12.18 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002802/0.3887, allocations: 403.9 kB / 0.5854 GB, free: 11.77 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002288/0.3889, allocations: 242 kB / 0.5856 GB, free: 11.54 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000219/0.3891, allocations: 150.6 kB / 0.5858 GB, free: 11.38 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001768/0.3893, allocations: 362.8 kB / 0.5861 GB, free: 11.02 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003525/0.3897, allocations: 189.9 kB / 0.5863 GB, free: 10.83 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005229/0.3902, allocations: 408.6 kB / 0.5867 GB, free: 10.36 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009129/0.3911, allocations: 0.622 MB / 0.5873 GB, free: 9.652 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.436e-06/0.3911, allocations: 4 kB / 0.5873 GB, free: 9.648 MB / 430.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001579/0.3927, allocations: 0.8734 MB / 0.5882 GB, free: 8.758 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.917e-05/0.3927, allocations: 10.66 kB / 0.5882 GB, free: 8.75 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.537e-05/0.3927, allocations: 8.5 kB / 0.5882 GB, free: 8.742 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006782/0.3934, allocations: 227.2 kB / 0.5884 GB, free: 8.508 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004724/0.3939, allocations: 139.8 kB / 0.5885 GB, free: 8.371 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006138/0.4, allocations: 6.299 MB / 0.5947 GB, free: 1.609 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005099/0.4005, allocations: 83.41 kB / 0.5948 GB, free: 1.527 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.844e-05/0.4006, allocations: 28 kB / 0.5948 GB, free: 1.5 MB / 430.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.0003907/0.401, allocations: 241.5 kB / 0.595 GB, free: 1.254 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001517/0.4011, allocations: 43.72 kB / 0.5951 GB, free: 1.211 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001285/0.4024, allocations: 0.6866 MB / 0.5957 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.619e-06/0.4024, allocations: 8 kB / 0.5957 GB, free: 0.5 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.275e-05/0.4024, allocations: 4 kB / 0.5957 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.275e-06/0.4025, allocations: 3.984 kB / 0.5958 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002643/0.4051, allocations: 1.534 MB / 0.5973 GB, free: 14.89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.955e-06/0.4051, allocations: 4 kB / 0.5973 GB, free: 14.89 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002429/0.4053, allocations: 67.91 kB / 0.5973 GB, free: 14.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005433/0.4059, allocations: 219.2 kB / 0.5975 GB, free: 14.6 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.64e-05/0.4059, allocations: 16 kB / 0.5975 GB, free: 14.58 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005926/0.4118, allocations: 6.289 MB / 0.6037 GB, free: 7.836 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.4119, allocations: 0 / 0.6037 GB, free: 7.836 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001694/0.4135, allocations: 1.194 MB / 0.6049 GB, free: 6.613 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001271/0.4137, allocations: 47.66 kB / 0.6049 GB, free: 6.566 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.098e-05/0.4137, allocations: 20.06 kB / 0.6049 GB, free: 6.547 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003326/0.4141, allocations: 12 kB / 0.6049 GB, free: 6.535 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001138/0.4142, allocations: 63.7 kB / 0.605 GB, free: 6.473 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.553e-05/0.4142, allocations: 28.05 kB / 0.605 GB, free: 6.445 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002594/0.4145, allocations: 211.1 kB / 0.6052 GB, free: 6.238 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4145, allocations: 0 / 0.6052 GB, free: 6.238 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001067/0.4155, allocations: 275.3 kB / 0.6055 GB, free: 5.969 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.0002789/0.4158, allocations: 139.1 kB / 0.6056 GB, free: 5.82 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001673/0.4175, allocations: 1.061 MB / 0.6066 GB, free: 4.707 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.4175, allocations: 0 / 0.6066 GB, free: 4.707 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009231/0.4184, allocations: 0.7468 MB / 0.6074 GB, free: 3.91 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000654/0.4191, allocations: 53 kB / 0.6074 GB, free: 3.859 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002429/0.4215, allocations: 1.271 MB / 0.6087 GB, free: 2.543 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006274/0.4221, allocations: 0.9149 MB / 0.6096 GB, free: 1.598 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00013/0.4223, allocations: 47.42 kB / 0.6096 GB, free: 1.555 MB / 446.1 MB Notification: Performance of SimCode: time 4.71e-07/0.4223, allocations: 0 / 0.6096 GB, free: 1.555 MB / 446.1 MB Notification: Performance of Templates: time 0.0247/0.447, allocations: 19.71 MB / 0.6289 GB, free: 13.82 MB / 478.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.sim & ./ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/NoPhysicalTestLeakage/NoPhysicalTestLeakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 8.606461619026959]