Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.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.00181/0.00181, allocations: 107 kB / 21.18 MB, free: 0.6484 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.002205/0.002205, allocations: 214.7 kB / 24.48 MB, free: 3.941 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.474/1.474, allocations: 230.6 MB / 258.2 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|quarterCylinder1.port_p.reference.gamma",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|quarterCylinder1.port_p.reference.gamma",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001556/0.001556, allocations: 47.92 kB / 379 MB, free: 2.434 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2026/0.2041, allocations: 53.37 MB / 432.3 MB, free: 6.668 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.006859/0.211, allocations: 4.694 MB / 437 MB, free: 1.957 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003129/0.2141, allocations: 1.65 MB / 438.7 MB, free: 304 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003718/0.2145, allocations: 16 kB / 438.7 MB, free: 288 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003175/0.2177, allocations: 1.314 MB / 440 MB, free: 14.96 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00071/0.2184, allocations: 325.6 kB / 440.3 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001306/0.2197, allocations: 0.6182 MB / 441 MB, free: 14.03 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008444/0.2205, allocations: 0.8052 MB / 441.8 MB, free: 13.22 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001002/0.2215, allocations: 0.6713 MB / 442.4 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004101/0.2219, allocations: 362.6 kB / 442.8 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005393/0.2225, allocations: 466.1 kB / 443.2 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001015/0.2226, allocations: 72 kB / 443.3 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004722/0.2231, allocations: 263.8 kB / 443.6 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001457/0.2232, allocations: 183.2 kB / 443.7 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003256/0.2235, allocations: 338.4 kB / 444.1 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001312/0.2248, allocations: 1.213 MB / 445.3 MB, free: 9.672 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.2248, allocations: 0 / 445.3 MB, free: 9.672 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.2248, allocations: 0 / 445.3 MB, free: 9.672 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.178e-06/0.2249, allocations: 0 / 445.3 MB, free: 9.672 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.00413/0.229, allocations: 1.398 MB / 446.7 MB, free: 8.242 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.111e-05/0.229, allocations: 8.031 kB / 446.7 MB, free: 8.234 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001758/0.2308, allocations: 240.2 kB / 446.9 MB, free: 8 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002113/0.231, allocations: 209.3 kB / 447.1 MB, free: 7.77 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.103e-05/0.2311, allocations: 74.38 kB / 447.2 MB, free: 7.695 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001523/0.2312, allocations: 100.4 kB / 447.3 MB, free: 7.598 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001656/0.2329, allocations: 0.9503 MB / 448.3 MB, free: 6.637 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.441e-05/0.2329, allocations: 3.953 kB / 448.3 MB, free: 6.633 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.82e-05/0.233, allocations: 43.94 kB / 448.3 MB, free: 6.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.292e-05/0.233, allocations: 24 kB / 448.3 MB, free: 6.566 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001414/0.2344, allocations: 0.777 MB / 449.1 MB, free: 5.785 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005026/0.2395, allocations: 2.714 MB / 451.8 MB, free: 2.961 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00195/0.2414, allocations: 0.8824 MB / 452.7 MB, free: 2.07 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005662/0.242, allocations: 331.5 kB / 453 MB, free: 1.746 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001102/0.2421, allocations: 36.91 kB / 453.1 MB, free: 1.707 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.642e-05/0.2421, allocations: 43.5 kB / 453.1 MB, free: 1.656 MB / 350.1 MB Notification: Performance of pre-optimization done (n=87): time 2.304e-06/0.2421, allocations: 0 / 453.1 MB, free: 1.656 MB / 350.1 MB Notification: Performance of matching and sorting (n=87): time 0.002237/0.2444, allocations: 0.9994 MB / 454.1 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.986e-05/0.2444, allocations: 90.11 kB / 454.2 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003953/0.2448, allocations: 339.9 kB / 454.5 MB, free: 196 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.145e-05/0.2449, allocations: 41.7 kB / 454.6 MB, free: 148 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002851/0.2452, allocations: 400.1 kB / 455 MB, free: 15.75 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002477/0.2454, allocations: 309.3 kB / 455.3 MB, free: 15.44 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002833/0.2457, allocations: 174.9 kB / 455.4 MB, free: 15.27 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001703/0.2459, allocations: 358.8 kB / 455.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004918/0.2463, allocations: 266.5 kB / 456 MB, free: 14.64 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006844/0.247, allocations: 479.4 kB / 456.5 MB, free: 14.1 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001208/0.2482, allocations: 0.7745 MB / 457.3 MB, free: 13.25 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.2482, allocations: 0 / 457.3 MB, free: 13.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001834/0.2501, allocations: 0.9881 MB / 458.3 MB, free: 12.24 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.2501, allocations: 8.719 kB / 458.3 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.818e-06/0.2501, allocations: 4 kB / 458.3 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003969/0.2505, allocations: 123.3 kB / 458.4 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000849/0.2514, allocations: 207.7 kB / 458.6 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004615/0.256, allocations: 5.609 MB / 464.2 MB, free: 5.875 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005472/0.2565, allocations: 95.25 kB / 464.3 MB, free: 5.781 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.113e-05/0.2566, allocations: 40 kB / 464.3 MB, free: 5.742 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (120): * Single equations (assignments): 116 * 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,2,100.0%), (1,2,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003037/0.2569, allocations: 237.7 kB / 464.6 MB, free: 5.5 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001244/0.257, allocations: 43.72 kB / 464.6 MB, free: 5.457 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001631/0.2586, allocations: 0.8472 MB / 465.5 MB, free: 4.59 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-05/0.2587, allocations: 12 kB / 465.5 MB, free: 4.578 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.079e-05/0.2587, allocations: 4 kB / 465.5 MB, free: 4.574 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.956e-06/0.2587, allocations: 3.984 kB / 465.5 MB, free: 4.57 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002839/0.2615, allocations: 1.569 MB / 467.1 MB, free: 2.926 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.2615, allocations: 288 / 467.1 MB, free: 2.926 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006358/0.2622, allocations: 151.7 kB / 467.2 MB, free: 2.777 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000296/0.2625, allocations: 103.3 kB / 467.3 MB, free: 2.664 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.053e-05/0.2625, allocations: 23.98 kB / 467.3 MB, free: 2.641 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004069/0.2666, allocations: 5.189 MB / 472.5 MB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.2666, allocations: 0 / 472.5 MB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001953/0.2685, allocations: 1.289 MB / 473.8 MB, free: 11.7 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.076e-05/0.2686, allocations: 59.52 kB / 473.9 MB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.93e-05/0.2687, allocations: 19.94 kB / 473.9 MB, free: 11.62 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004044/0.2691, allocations: 20 kB / 473.9 MB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001076/0.2692, allocations: 68.47 kB / 474 MB, free: 11.54 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.886e-05/0.2693, allocations: 28 kB / 474 MB, free: 11.51 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002467/0.2695, allocations: 227 kB / 474.2 MB, free: 11.29 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2695, allocations: 0 / 474.2 MB, free: 11.29 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008951/0.2704, allocations: 271.4 kB / 474.5 MB, free: 11.02 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 1 (constantSource.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 (78): * Single equations (assignments): 74 * 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,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002604/0.2707, allocations: 159.2 kB / 474.6 MB, free: 10.86 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001671/0.2723, allocations: 1.138 MB / 475.8 MB, free: 9.664 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.2723, allocations: 4.188 kB / 475.8 MB, free: 9.66 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009368/0.2733, allocations: 0.7639 MB / 476.5 MB, free: 8.848 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000547/0.2738, allocations: 44.66 kB / 476.6 MB, free: 8.805 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00252/0.2763, allocations: 1.386 MB / 478 MB, free: 7.359 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003371/0.2767, allocations: 310.3 kB / 478.3 MB, free: 7.027 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004104/0.2771, allocations: 108.9 kB / 478.4 MB, free: 6.918 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001641/0.2772, allocations: 55.42 kB / 478.4 MB, free: 6.863 MB / 382.1 MB Notification: Performance of SimCode: time 3.91e-07/0.2772, allocations: 0 / 478.4 MB, free: 6.863 MB / 382.1 MB Notification: Performance of Templates: time 0.0156/0.2929, allocations: 8.13 MB / 486.6 MB, free: 14.82 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/CylinderLeakage/CylinderLeakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.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: 4.588474204996601]