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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001524/0.001524, allocations: 102 kB / 21.22 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001376/0.001376, allocations: 185.2 kB / 24.51 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.616/1.616, allocations: 225.6 MB / 253.3 MB, free: 13.02 MB / 206.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.2409/0.2409, allocations: 44.92 MB / 353.5 MB, free: 11.84 MB / 286.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002285/0.002285, allocations: 67.91 kB / 497.7 MB, free: 1.016 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.422/0.4243, allocations: 64.29 MB / 0.5488 GB, free: 13.16 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.008259/0.4326, allocations: 5.353 MB / 0.554 GB, free: 8.938 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003921/0.4365, allocations: 1.605 MB / 0.5556 GB, free: 7.625 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009871/0.4375, allocations: 19 kB / 0.5556 GB, free: 7.625 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004328/0.4418, allocations: 1.61 MB / 0.5572 GB, free: 6.418 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00151/0.4433, allocations: 302.9 kB / 0.5575 GB, free: 6.168 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001894/0.4452, allocations: 0.6796 MB / 0.5582 GB, free: 5.656 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001795/0.447, allocations: 0.8043 MB / 0.5589 GB, free: 5.059 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001322/0.4483, allocations: 0.565 MB / 0.5595 GB, free: 4.48 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007697/0.4491, allocations: 346.7 kB / 0.5598 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009975/0.4501, allocations: 462.2 kB / 0.5603 GB, free: 3.688 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002334/0.4503, allocations: 76 kB / 0.5603 GB, free: 3.613 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007669/0.4511, allocations: 187.9 kB / 0.5605 GB, free: 3.43 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000239/0.4514, allocations: 179.3 kB / 0.5607 GB, free: 3.254 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006921/0.452, allocations: 425.9 kB / 0.5611 GB, free: 2.836 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002329/0.4544, allocations: 1.158 MB / 0.5622 GB, free: 1.676 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.4544, allocations: 0 / 0.5622 GB, free: 1.676 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.805e-06/0.4544, allocations: 0 / 0.5622 GB, free: 1.676 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.901e-05/0.4544, allocations: 4 kB / 0.5622 GB, free: 1.672 MB / 398.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.004663/0.4591, allocations: 1.293 MB / 0.5635 GB, free: 356 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.081e-05/0.4592, allocations: 12.92 kB / 0.5635 GB, free: 344 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001411/0.4606, allocations: 228.3 kB / 0.5637 GB, free: 116 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003324/0.4609, allocations: 215.5 kB / 0.5639 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.359e-05/0.461, allocations: 78.31 kB / 0.564 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001611/0.4612, allocations: 108.1 kB / 0.5641 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001806/0.463, allocations: 0.9243 MB / 0.565 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.814e-05/0.463, allocations: 4 kB / 0.565 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.41e-05/0.4631, allocations: 40 kB / 0.5651 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.887e-05/0.4631, allocations: 28 kB / 0.5651 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001317/0.4644, allocations: 0.7184 MB / 0.5658 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006178/0.4706, allocations: 3.653 MB / 0.5693 GB, free: 10.02 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001739/0.4723, allocations: 0.7818 MB / 0.5701 GB, free: 9.223 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004886/0.4728, allocations: 260.8 kB / 0.5704 GB, free: 8.957 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.839e-05/0.4729, allocations: 20.31 kB / 0.5704 GB, free: 8.938 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.381e-05/0.473, allocations: 50.83 kB / 0.5704 GB, free: 8.879 MB / 414.1 MB Notification: Performance of pre-optimization done (n=66): time 3.376e-06/0.473, allocations: 0 / 0.5704 GB, free: 8.879 MB / 414.1 MB Notification: Performance of matching and sorting (n=66): time 0.00259/0.4756, allocations: 1.01 MB / 0.5714 GB, free: 7.855 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001072/0.4757, allocations: 132.5 kB / 0.5715 GB, free: 7.695 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005245/0.4762, allocations: 320 kB / 0.5718 GB, free: 7.371 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.912e-05/0.4763, allocations: 37.7 kB / 0.5719 GB, free: 7.328 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004402/0.4767, allocations: 415.8 kB / 0.5723 GB, free: 6.914 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002722/0.477, allocations: 238 kB / 0.5725 GB, free: 6.68 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002752/0.4772, allocations: 146.6 kB / 0.5726 GB, free: 6.531 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002239/0.4775, allocations: 346.8 kB / 0.573 GB, free: 6.184 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003982/0.4779, allocations: 201.9 kB / 0.5732 GB, free: 5.984 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006148/0.4785, allocations: 404.5 kB / 0.5736 GB, free: 5.504 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009479/0.4794, allocations: 0.623 MB / 0.5742 GB, free: 4.805 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/0.4794, allocations: 0 / 0.5742 GB, free: 4.805 MB / 414.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001616/0.481, allocations: 0.8776 MB / 0.575 GB, free: 3.906 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.745e-05/0.4811, allocations: 7.938 kB / 0.575 GB, free: 3.898 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.746e-05/0.4811, allocations: 15.92 kB / 0.575 GB, free: 3.883 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007125/0.4818, allocations: 215.4 kB / 0.5752 GB, free: 3.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004676/0.4823, allocations: 139.8 kB / 0.5754 GB, free: 3.523 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006249/0.4885, allocations: 6.311 MB / 0.5815 GB, free: 12.75 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005574/0.4891, allocations: 83.36 kB / 0.5816 GB, free: 12.67 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.873e-05/0.4891, allocations: 39.98 kB / 0.5817 GB, free: 12.63 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.0004413/0.4896, allocations: 222.8 kB / 0.5819 GB, free: 12.4 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001675/0.4898, allocations: 43.72 kB / 0.5819 GB, free: 12.36 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001308/0.4911, allocations: 0.6793 MB / 0.5826 GB, free: 11.66 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.296e-06/0.4911, allocations: 8 kB / 0.5826 GB, free: 11.65 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/0.4911, allocations: 4 kB / 0.5826 GB, free: 11.65 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.366e-06/0.4911, allocations: 7.984 kB / 0.5826 GB, free: 11.64 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002424/0.4935, allocations: 1.525 MB / 0.5841 GB, free: 10.05 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.4935, allocations: 0 / 0.5841 GB, free: 10.05 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002319/0.4937, allocations: 63.92 kB / 0.5841 GB, free: 9.988 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005495/0.4943, allocations: 219.2 kB / 0.5844 GB, free: 9.762 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.855e-05/0.4943, allocations: 19.98 kB / 0.5844 GB, free: 9.742 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005836/0.5002, allocations: 6.281 MB / 0.5905 GB, free: 3.004 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.5002, allocations: 3.938 kB / 0.5905 GB, free: 3 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00162/0.5018, allocations: 1.182 MB / 0.5917 GB, free: 1.793 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001185/0.5019, allocations: 59.67 kB / 0.5917 GB, free: 1.734 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.085e-05/0.502, allocations: 12 kB / 0.5917 GB, free: 1.723 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003113/0.5023, allocations: 15.98 kB / 0.5918 GB, free: 1.707 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000119/0.5024, allocations: 67.77 kB / 0.5918 GB, free: 1.641 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.278e-05/0.5024, allocations: 20 kB / 0.5918 GB, free: 1.621 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000279/0.5027, allocations: 215.1 kB / 0.592 GB, free: 1.406 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5027, allocations: 0 / 0.592 GB, free: 1.406 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001154/0.5039, allocations: 279.3 kB / 0.5923 GB, free: 1.133 MB / 430.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.0002553/0.5041, allocations: 135.2 kB / 0.5924 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001685/0.5058, allocations: 1.046 MB / 0.5935 GB, free: 15.89 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.5058, allocations: 0 / 0.5935 GB, free: 15.89 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009374/0.5067, allocations: 0.7605 MB / 0.5942 GB, free: 15.08 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000665/0.5074, allocations: 44.64 kB / 0.5942 GB, free: 15.04 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002535/0.5099, allocations: 1.255 MB / 0.5955 GB, free: 13.74 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006093/0.5105, allocations: 0.9111 MB / 0.5964 GB, free: 12.8 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002501/0.5108, allocations: 68.53 kB / 0.5964 GB, free: 12.73 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.986e-05/0.5109, allocations: 31.44 kB / 0.5965 GB, free: 12.7 MB / 446.1 MB Notification: Performance of SimCode: time 4.31e-07/0.5109, allocations: 0 / 0.5965 GB, free: 12.7 MB / 446.1 MB Notification: Performance of Templates: time 0.01507/0.5259, allocations: 7.365 MB / 0.6036 GB, free: 5.359 MB / 446.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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/NoPhysicalTestLeakage/NoPhysicalTestLeakage.csv","/var/lib/jenkins/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.838810705579817]