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.0008519/0.0008519, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 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.003447/0.003447, allocations: 160 kB / 24.7 MB, free: 9.43 MB / 18.57 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 0.9179/0.9179, allocations: 177.1 MB / 205 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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.2465/0.2465, allocations: 32.79 MB / 294.2 MB, free: 1.211 MB / 266.7 MB " [Timeout remaining time 180] 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: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 3.938 kB / 440.8 MB, free: 3.758 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.086e-05/3.238e-05, allocations: 3.969 kB / 440.8 MB, free: 3.754 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.2175/0.2175, allocations: 4.755 MB / 445.6 MB, free: 43.79 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00259/0.2201, allocations: 1.578 MB / 447.2 MB, free: 43.65 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002573/0.2204, allocations: 17.44 kB / 447.2 MB, free: 43.65 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001677/0.2221, allocations: 1.572 MB / 448.8 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005909/0.2226, allocations: 323.2 kB / 449.1 MB, free: 42.76 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007428/0.2234, allocations: 0.4956 MB / 449.6 MB, free: 42.47 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004794/0.2239, allocations: 0.8321 MB / 450.4 MB, free: 42.02 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006431/0.2245, allocations: 0.6346 MB / 451 MB, free: 41.66 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004122/0.2249, allocations: 0.4971 MB / 451.5 MB, free: 41.45 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000292/0.2252, allocations: 349.5 kB / 451.9 MB, free: 41.33 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.411e-05/0.2253, allocations: 74.41 kB / 452 MB, free: 41.33 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003201/0.2256, allocations: 195.9 kB / 452.1 MB, free: 41.29 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.645e-05/0.2257, allocations: 182.6 kB / 452.3 MB, free: 41.16 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001491/0.2258, allocations: 283.2 kB / 452.6 MB, free: 41.04 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007636/0.2266, allocations: 1.187 MB / 453.8 MB, free: 40.57 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.2266, allocations: 0 / 453.8 MB, free: 40.57 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.2266, allocations: 3.469 kB / 453.8 MB, free: 40.57 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.989e-06/0.2266, allocations: 0 / 453.8 MB, free: 40.57 MB / 410.7 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.001933/0.2285, allocations: 1.292 MB / 455.1 MB, free: 39.83 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.143e-05/0.2286, allocations: 13.3 kB / 455.1 MB, free: 39.82 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008572/0.2294, allocations: 236.8 kB / 455.3 MB, free: 39.75 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002132/0.2297, allocations: 206.1 kB / 455.5 MB, free: 39.55 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.683e-05/0.2297, allocations: 75.7 kB / 455.6 MB, free: 39.52 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001124/0.2298, allocations: 106 kB / 455.7 MB, free: 39.48 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009951/0.2308, allocations: 0.9274 MB / 456.6 MB, free: 39.08 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.297e-05/0.2309, allocations: 14.31 kB / 456.6 MB, free: 39.07 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.263e-05/0.2309, allocations: 34.34 kB / 456.7 MB, free: 39.04 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.837e-05/0.2309, allocations: 25.81 kB / 456.7 MB, free: 39.04 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008073/0.2317, allocations: 0.7216 MB / 457.4 MB, free: 38.79 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002835/0.2346, allocations: 2.715 MB / 460.1 MB, free: 36.97 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009834/0.2355, allocations: 0.7638 MB / 460.9 MB, free: 36.63 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002303/0.2358, allocations: 254.8 kB / 461.2 MB, free: 36.51 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.327e-05/0.2359, allocations: 33.7 kB / 461.2 MB, free: 36.5 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.455e-05/0.2359, allocations: 45.89 kB / 461.2 MB, free: 36.45 MB / 410.7 MB Notification: Performance of pre-optimization done (n=66): time 3.186e-06/0.2359, allocations: 3.281 kB / 461.2 MB, free: 36.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=66): time 0.001478/0.2374, allocations: 1.022 MB / 462.3 MB, free: 36.06 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.586e-05/0.2374, allocations: 135 kB / 462.4 MB, free: 35.91 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000231/0.2376, allocations: 295.6 kB / 462.7 MB, free: 35.73 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.137e-05/0.2377, allocations: 37.14 kB / 462.7 MB, free: 35.7 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001319/0.2378, allocations: 412.6 kB / 463.1 MB, free: 35.36 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.61e-05/0.2379, allocations: 239.6 kB / 463.4 MB, free: 35.17 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001272/0.238, allocations: 154.3 kB / 463.5 MB, free: 35.09 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.593e-05/0.2381, allocations: 347.4 kB / 463.8 MB, free: 34.75 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002123/0.2383, allocations: 202.8 kB / 464 MB, free: 34.68 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002909/0.2386, allocations: 401.7 kB / 464.4 MB, free: 34.38 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005255/0.2391, allocations: 0.6237 MB / 465.1 MB, free: 33.94 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/0.2391, allocations: 3.219 kB / 465.1 MB, free: 33.94 MB / 410.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.0008456/0.2399, allocations: 0.8802 MB / 465.9 MB, free: 33.54 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.386e-05/0.24, allocations: 13.41 kB / 466 MB, free: 33.53 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/0.24, allocations: 12.81 kB / 466 MB, free: 33.53 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004047/0.2404, allocations: 211.8 kB / 466.2 MB, free: 33.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002517/0.2406, allocations: 145.8 kB / 466.3 MB, free: 33.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003111/0.2438, allocations: 6.158 MB / 472.5 MB, free: 27.85 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000291/0.244, allocations: 85.27 kB / 472.6 MB, free: 27.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.124e-05/0.2441, allocations: 32.31 kB / 472.6 MB, free: 27.79 MB / 410.7 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.0003125/0.2444, allocations: 227.1 kB / 472.8 MB, free: 27.59 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.161e-05/0.2445, allocations: 42.66 kB / 472.9 MB, free: 27.57 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007377/0.2452, allocations: 0.6806 MB / 473.5 MB, free: 27.24 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.613e-06/0.2452, allocations: 10.69 kB / 473.5 MB, free: 27.23 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.2452, allocations: 3.312 kB / 473.5 MB, free: 27.23 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.179e-05/0.2452, allocations: 6.438 kB / 473.6 MB, free: 27.23 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001456/0.2467, allocations: 1.339 MB / 474.9 MB, free: 26.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.2467, allocations: 3.312 kB / 474.9 MB, free: 26.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001374/0.2468, allocations: 70.62 kB / 475 MB, free: 26.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003154/0.2471, allocations: 219.4 kB / 475.2 MB, free: 26.36 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.1e-05/0.2472, allocations: 11.22 kB / 475.2 MB, free: 26.36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002569/0.2497, allocations: 6.156 MB / 481.3 MB, free: 20.75 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.2497, allocations: 3.328 kB / 481.3 MB, free: 20.75 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001135/0.2509, allocations: 1.189 MB / 482.5 MB, free: 20.01 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001055/0.251, allocations: 47.02 kB / 482.6 MB, free: 19.98 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.075e-05/0.251, allocations: 14.09 kB / 482.6 MB, free: 19.97 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002057/0.2512, allocations: 11 kB / 482.6 MB, free: 19.96 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001414/0.2514, allocations: 67.56 kB / 482.7 MB, free: 19.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.254e-05/0.2514, allocations: 19.92 kB / 482.7 MB, free: 19.94 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001628/0.2515, allocations: 194.6 kB / 482.9 MB, free: 19.83 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2515, allocations: 64 / 482.9 MB, free: 19.83 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001019/0.2526, allocations: 286.3 kB / 483.2 MB, free: 19.75 MB / 410.7 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.0002906/0.2528, allocations: 147.1 kB / 483.3 MB, free: 19.63 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001059/0.2539, allocations: 1.047 MB / 484.4 MB, free: 18.95 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.2539, allocations: 0 / 484.4 MB, free: 18.95 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004598/0.2544, allocations: 0.7468 MB / 485.1 MB, free: 18.36 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005616/0.2549, allocations: 46.67 kB / 485.1 MB, free: 18.34 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001685/0.2566, allocations: 1.226 MB / 486.4 MB, free: 17.6 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002312/0.2568, allocations: 313.7 kB / 486.7 MB, free: 17.49 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.682e-05/0.2569, allocations: 49.14 kB / 486.7 MB, free: 17.48 MB / 410.7 MB Notification: Performance of SimCode: time 2.324e-06/0.2569, allocations: 4 kB / 486.7 MB, free: 17.48 MB / 410.7 MB Notification: Performance of Templates: time 0.02083/0.2778, allocations: 19.93 MB / 0.4948 GB, free: 13.01 MB / 410.7 MB " [Timeout remaining time 660] 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.994213684462011]