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.001259/0.001259, 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.001369/0.001369, 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.399/1.399, allocations: 230.6 MB / 258.3 MB, free: 8.004 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.001564/0.001564, allocations: 51.92 kB / 379.1 MB, free: 2.578 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2409/0.2425, allocations: 53.35 MB / 432.4 MB, free: 6.887 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.006963/0.2494, allocations: 5.301 MB / 437.7 MB, free: 1.566 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003312/0.2527, allocations: 1.755 MB / 439.5 MB, free: 15.8 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002425/0.253, allocations: 20 kB / 439.5 MB, free: 15.78 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003142/0.2561, allocations: 1.424 MB / 440.9 MB, free: 14.35 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007721/0.2569, allocations: 325.6 kB / 441.2 MB, free: 14.03 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001383/0.2583, allocations: 0.656 MB / 441.9 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001124/0.2594, allocations: 0.8052 MB / 442.7 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001217/0.2606, allocations: 0.6751 MB / 443.4 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005169/0.2611, allocations: 358.7 kB / 443.7 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005861/0.2617, allocations: 466.2 kB / 444.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.673e-05/0.2618, allocations: 75.94 kB / 444.2 MB, free: 11 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000545/0.2624, allocations: 263.8 kB / 444.5 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001561/0.2625, allocations: 183.3 kB / 444.7 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004126/0.2629, allocations: 425.9 kB / 445.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0014/0.2643, allocations: 1.196 MB / 446.3 MB, free: 8.949 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.14e-05/0.2643, allocations: 3.984 kB / 446.3 MB, free: 8.945 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.2643, allocations: 4 kB / 446.3 MB, free: 8.941 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.393e-05/0.2643, allocations: 0 / 446.3 MB, free: 8.941 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.003877/0.2682, allocations: 1.39 MB / 447.7 MB, free: 7.52 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.2683, allocations: 16.02 kB / 447.7 MB, free: 7.504 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001532/0.2698, allocations: 240.2 kB / 447.9 MB, free: 7.27 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002267/0.27, allocations: 213.3 kB / 448.1 MB, free: 7.035 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.349e-05/0.2701, allocations: 70.38 kB / 448.2 MB, free: 6.965 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000142/0.2702, allocations: 96.38 kB / 448.3 MB, free: 6.871 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001495/0.2717, allocations: 0.9464 MB / 449.3 MB, free: 5.914 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.761e-05/0.2718, allocations: 7.953 kB / 449.3 MB, free: 5.906 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.726e-05/0.2718, allocations: 43.94 kB / 449.3 MB, free: 5.863 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.307e-05/0.2719, allocations: 28 kB / 449.3 MB, free: 5.836 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001409/0.2733, allocations: 0.7848 MB / 450.1 MB, free: 5.047 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005255/0.2785, allocations: 3.08 MB / 453.2 MB, free: 1.844 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001864/0.2804, allocations: 0.882 MB / 454.1 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005255/0.2809, allocations: 321.1 kB / 454.4 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000112/0.281, allocations: 44.94 kB / 454.4 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.782e-05/0.2811, allocations: 47.5 kB / 454.5 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of pre-optimization done (n=87): time 2.675e-06/0.2811, allocations: 0 / 454.5 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of matching and sorting (n=87): time 0.002083/0.2832, allocations: 1.003 MB / 455.5 MB, free: 15.52 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.912e-05/0.2832, allocations: 90.09 kB / 455.6 MB, free: 15.41 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004577/0.2837, allocations: 372.4 kB / 455.9 MB, free: 15.04 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.878e-05/0.2837, allocations: 41.7 kB / 456 MB, free: 14.99 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002698/0.284, allocations: 388.2 kB / 456.4 MB, free: 14.6 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002506/0.2842, allocations: 317.3 kB / 456.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002549/0.2845, allocations: 174.9 kB / 456.8 MB, free: 14.11 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001569/0.2847, allocations: 358.7 kB / 457.2 MB, free: 13.75 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004616/0.2851, allocations: 270.5 kB / 457.5 MB, free: 13.49 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000626/0.2857, allocations: 483.4 kB / 457.9 MB, free: 12.94 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001154/0.2869, allocations: 0.7745 MB / 458.7 MB, free: 12.09 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.319e-06/0.2869, allocations: 0 / 458.7 MB, free: 12.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001761/0.2887, allocations: 0.9845 MB / 459.7 MB, free: 11.09 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/0.2887, allocations: 8 kB / 459.7 MB, free: 11.08 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.757e-05/0.2887, allocations: 8 kB / 459.7 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003887/0.2891, allocations: 123.7 kB / 459.8 MB, free: 10.94 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007799/0.2899, allocations: 211.7 kB / 460 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004681/0.2945, allocations: 5.708 MB / 465.7 MB, free: 4.562 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005414/0.2951, allocations: 103.2 kB / 465.8 MB, free: 4.461 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.566e-05/0.2952, allocations: 36 kB / 465.9 MB, free: 4.426 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.0003495/0.2955, allocations: 237.5 kB / 466.1 MB, free: 4.184 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001214/0.2956, allocations: 55.66 kB / 466.2 MB, free: 4.129 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001494/0.2971, allocations: 0.8404 MB / 467 MB, free: 3.266 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.16e-05/0.2971, allocations: 12 kB / 467 MB, free: 3.254 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.2971, allocations: 7.938 kB / 467 MB, free: 3.246 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.047e-05/0.2971, allocations: 7.922 kB / 467 MB, free: 3.238 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002994/0.3001, allocations: 1.771 MB / 468.8 MB, free: 1.383 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.105e-06/0.3002, allocations: 4 kB / 468.8 MB, free: 1.379 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005726/0.3007, allocations: 135.8 kB / 468.9 MB, free: 1.246 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002951/0.301, allocations: 115.6 kB / 469 MB, free: 1.121 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.413e-05/0.3011, allocations: 20 kB / 469.1 MB, free: 1.102 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004254/0.3053, allocations: 5.296 MB / 474.4 MB, free: 11.35 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.769e-06/0.3053, allocations: 11.88 kB / 474.4 MB, free: 11.34 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001985/0.3073, allocations: 1.277 MB / 475.6 MB, free: 10 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001625/0.3075, allocations: 67.42 kB / 475.7 MB, free: 9.938 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.263e-05/0.3076, allocations: 27.94 kB / 475.7 MB, free: 9.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003956/0.308, allocations: 20 kB / 475.8 MB, free: 9.891 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001227/0.3081, allocations: 68.47 kB / 475.8 MB, free: 9.824 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.44e-05/0.3081, allocations: 28 kB / 475.9 MB, free: 9.797 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003116/0.3085, allocations: 255.2 kB / 476.1 MB, free: 9.547 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3085, allocations: 0 / 476.1 MB, free: 9.547 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001005/0.3095, allocations: 259.6 kB / 476.4 MB, free: 9.293 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.0002982/0.3098, allocations: 159 kB / 476.5 MB, free: 9.125 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001839/0.3116, allocations: 1.141 MB / 477.7 MB, free: 7.934 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/0.3116, allocations: 0 / 477.7 MB, free: 7.934 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009251/0.3125, allocations: 0.7615 MB / 478.4 MB, free: 7.125 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005856/0.3131, allocations: 80.61 kB / 478.5 MB, free: 7.047 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002813/0.3159, allocations: 1.407 MB / 479.9 MB, free: 5.574 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006147/0.3165, allocations: 0.9149 MB / 480.8 MB, free: 4.629 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002271/0.3168, allocations: 71.41 kB / 480.9 MB, free: 4.559 MB / 382.1 MB Notification: Performance of SimCode: time 1.012e-06/0.3168, allocations: 0 / 480.9 MB, free: 4.559 MB / 382.1 MB Notification: Performance of Templates: time 0.02585/0.3426, allocations: 21.48 MB / 0.4906 GB, free: 15.08 MB / 414.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/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: 8.123919840203598]