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.001877/0.001877, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.00154/0.00154, allocations: 209.2 kB / 23.73 MB, free: 4.387 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.451/1.451, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.001742/0.001742, allocations: 51.92 kB / 378.2 MB, free: 2.445 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2258/0.2275, allocations: 53.35 MB / 431.6 MB, free: 6.711 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.006964/0.2345, allocations: 4.702 MB / 436.3 MB, free: 1.992 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003088/0.2376, allocations: 1.65 MB / 437.9 MB, free: 340 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003767/0.238, allocations: 16 kB / 437.9 MB, free: 324 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003417/0.2414, allocations: 1.321 MB / 439.3 MB, free: 14.99 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000895/0.2423, allocations: 329.6 kB / 439.6 MB, free: 14.67 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001453/0.2437, allocations: 0.6029 MB / 440.2 MB, free: 14.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001068/0.2448, allocations: 0.8052 MB / 441 MB, free: 13.26 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00112/0.2459, allocations: 0.6634 MB / 441.7 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005068/0.2464, allocations: 358.7 kB / 442 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000558/0.247, allocations: 406.1 kB / 442.4 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001141/0.2471, allocations: 76 kB / 442.5 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005331/0.2476, allocations: 251.8 kB / 442.7 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001616/0.2478, allocations: 179.3 kB / 442.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003777/0.2482, allocations: 350.3 kB / 443.2 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001406/0.2496, allocations: 1.205 MB / 444.5 MB, free: 9.789 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.665e-06/0.2496, allocations: 8 kB / 444.5 MB, free: 9.781 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2496, allocations: 0 / 444.5 MB, free: 9.781 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.24e-05/0.2496, allocations: 0 / 444.5 MB, free: 9.781 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.004074/0.2537, allocations: 1.394 MB / 445.9 MB, free: 8.355 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.2537, allocations: 12.03 kB / 445.9 MB, free: 8.344 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001675/0.2554, allocations: 236.2 kB / 446.1 MB, free: 8.113 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002442/0.2556, allocations: 213.3 kB / 446.3 MB, free: 7.879 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.062e-05/0.2557, allocations: 70.38 kB / 446.4 MB, free: 7.809 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001636/0.2559, allocations: 100.4 kB / 446.5 MB, free: 7.711 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001678/0.2575, allocations: 0.9425 MB / 447.4 MB, free: 6.758 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.679e-05/0.2576, allocations: 7.953 kB / 447.4 MB, free: 6.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.208e-05/0.2576, allocations: 36 kB / 447.5 MB, free: 6.715 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.204e-05/0.2577, allocations: 28 kB / 447.5 MB, free: 6.688 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001451/0.2591, allocations: 0.7847 MB / 448.3 MB, free: 5.898 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005096/0.2642, allocations: 2.714 MB / 451 MB, free: 3.074 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001904/0.2661, allocations: 0.8815 MB / 451.9 MB, free: 2.18 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005525/0.2667, allocations: 332 kB / 452.2 MB, free: 1.855 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001047/0.2668, allocations: 32.97 kB / 452.2 MB, free: 1.82 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.293e-05/0.2668, allocations: 51.55 kB / 452.3 MB, free: 1.762 MB / 350.1 MB Notification: Performance of pre-optimization done (n=87): time 2.344e-06/0.2668, allocations: 0 / 452.3 MB, free: 1.762 MB / 350.1 MB Notification: Performance of matching and sorting (n=87): time 0.002198/0.269, allocations: 0.9993 MB / 453.3 MB, free: 0.75 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.881e-05/0.2691, allocations: 86.11 kB / 453.4 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003871/0.2695, allocations: 339.8 kB / 453.7 MB, free: 312 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.475e-05/0.2695, allocations: 37.7 kB / 453.7 MB, free: 268 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002772/0.2698, allocations: 400.3 kB / 454.1 MB, free: 15.86 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002501/0.27, allocations: 313.3 kB / 454.4 MB, free: 15.55 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002674/0.2703, allocations: 182.9 kB / 454.6 MB, free: 15.37 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001744/0.2705, allocations: 354.8 kB / 454.9 MB, free: 15.01 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004987/0.271, allocations: 270.5 kB / 455.2 MB, free: 14.75 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006718/0.2717, allocations: 475.4 kB / 455.7 MB, free: 14.21 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00124/0.2729, allocations: 0.7745 MB / 456.4 MB, free: 13.36 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-06/0.2729, allocations: 4 kB / 456.5 MB, free: 13.35 MB / 366.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.0018/0.2747, allocations: 0.9767 MB / 457.4 MB, free: 12.36 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/0.2747, allocations: 11.98 kB / 457.4 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.2747, allocations: 4 kB / 457.4 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000399/0.2751, allocations: 127.8 kB / 457.6 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008167/0.2759, allocations: 203.7 kB / 457.8 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004733/0.2807, allocations: 5.601 MB / 463.4 MB, free: 5.992 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005804/0.2813, allocations: 99.23 kB / 463.5 MB, free: 5.895 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.092e-05/0.2813, allocations: 40 kB / 463.5 MB, free: 5.855 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.0003341/0.2817, allocations: 231.6 kB / 463.7 MB, free: 5.621 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001243/0.2818, allocations: 51.84 kB / 463.8 MB, free: 5.57 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001617/0.2834, allocations: 0.8394 MB / 464.6 MB, free: 4.711 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.029e-05/0.2834, allocations: 11.94 kB / 464.6 MB, free: 4.699 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.306e-06/0.2834, allocations: 8 kB / 464.6 MB, free: 4.691 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-06/0.2834, allocations: 3.984 kB / 464.6 MB, free: 4.688 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002933/0.2864, allocations: 1.569 MB / 466.2 MB, free: 3.043 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.063e-06/0.2864, allocations: 4 kB / 466.2 MB, free: 3.039 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006126/0.287, allocations: 139.7 kB / 466.4 MB, free: 2.902 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003037/0.2873, allocations: 111.6 kB / 466.5 MB, free: 2.781 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.652e-05/0.2873, allocations: 20 kB / 466.5 MB, free: 2.762 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004256/0.2916, allocations: 5.2 MB / 471.7 MB, free: 13.15 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/0.2916, allocations: 4 kB / 471.7 MB, free: 13.15 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002011/0.2936, allocations: 1.273 MB / 473 MB, free: 11.82 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001159/0.2937, allocations: 63.52 kB / 473 MB, free: 11.76 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.366e-05/0.2938, allocations: 27.81 kB / 473 MB, free: 11.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003907/0.2942, allocations: 24.17 kB / 473.1 MB, free: 11.71 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001089/0.2943, allocations: 60.55 kB / 473.1 MB, free: 11.65 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.032e-05/0.2943, allocations: 31.98 kB / 473.2 MB, free: 11.62 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002572/0.2946, allocations: 219.1 kB / 473.4 MB, free: 11.4 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2946, allocations: 0 / 473.4 MB, free: 11.4 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009649/0.2956, allocations: 271.4 kB / 473.6 MB, free: 11.14 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.0002759/0.2958, allocations: 163 kB / 473.8 MB, free: 10.97 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001834/0.2977, allocations: 1.137 MB / 474.9 MB, free: 9.777 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.773e-06/0.2977, allocations: 9.375 kB / 474.9 MB, free: 9.77 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000959/0.2986, allocations: 0.7567 MB / 475.7 MB, free: 8.965 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005565/0.2992, allocations: 60.52 kB / 475.8 MB, free: 8.906 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002771/0.302, allocations: 1.372 MB / 477.1 MB, free: 7.473 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003703/0.3023, allocations: 318.3 kB / 477.4 MB, free: 7.133 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004264/0.3028, allocations: 104.9 kB / 477.5 MB, free: 7.027 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001644/0.3029, allocations: 51.42 kB / 477.6 MB, free: 6.977 MB / 382.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3029, allocations: 4 kB / 477.6 MB, free: 6.973 MB / 382.1 MB Notification: Performance of Templates: time 0.0161/0.319, allocations: 7.829 MB / 485.4 MB, free: 15.23 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/CylinderLeakage/CylinderLeakage.csv","/var/lib/jenkins/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.888725167140365]