Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001472/0.001472, allocations: 103.6 kB / 21.18 MB, free: 332 kB / 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.001441/0.001441, allocations: 210.9 kB / 24.47 MB, free: 3.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.576/1.576, allocations: 207.7 MB / 235.3 MB, free: 9.812 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001856/0.001856, allocations: 55.88 kB / 347.7 MB, free: 9.379 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2752/0.277, allocations: 49.16 MB / 396.9 MB, free: 9.41 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.005669/0.2827, allocations: 4.655 MB / 401.5 MB, free: 6.309 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003117/0.2858, allocations: 1.631 MB / 403.1 MB, free: 5.191 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003266/0.2862, allocations: 16.53 kB / 403.2 MB, free: 5.191 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002839/0.289, allocations: 1.314 MB / 404.5 MB, free: 4.445 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007738/0.2898, allocations: 323.8 kB / 404.8 MB, free: 4.223 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00125/0.291, allocations: 0.6122 MB / 405.4 MB, free: 3.863 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007949/0.2918, allocations: 0.8139 MB / 406.2 MB, free: 3.445 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008987/0.2927, allocations: 0.6639 MB / 406.9 MB, free: 3.051 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003706/0.2931, allocations: 354.6 kB / 407.2 MB, free: 2.883 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004757/0.2936, allocations: 416.8 kB / 407.6 MB, free: 2.703 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001114/0.2937, allocations: 78.06 kB / 407.7 MB, free: 2.699 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005021/0.2942, allocations: 242.8 kB / 407.9 MB, free: 2.648 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001076/0.2943, allocations: 183 kB / 408.1 MB, free: 2.52 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002753/0.2946, allocations: 341.7 kB / 408.5 MB, free: 2.336 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001246/0.2958, allocations: 1.191 MB / 409.7 MB, free: 1.832 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.922e-05/0.2958, allocations: 9.172 kB / 409.7 MB, free: 1.824 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2958, allocations: 0 / 409.7 MB, free: 1.824 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.3e-05/0.2958, allocations: 0 / 409.7 MB, free: 1.824 MB / 318.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.003614/0.2995, allocations: 1.385 MB / 411 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.2995, allocations: 13.3 kB / 411.1 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001606/0.3011, allocations: 257.4 kB / 411.3 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002123/0.3013, allocations: 197.6 kB / 411.5 MB, free: 0.543 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.978e-05/0.3014, allocations: 73.16 kB / 411.6 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001461/0.3015, allocations: 107.9 kB / 411.7 MB, free: 476 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001454/0.303, allocations: 0.9455 MB / 412.6 MB, free: 15.91 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.309e-05/0.303, allocations: 0.7188 kB / 412.6 MB, free: 15.91 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.437e-05/0.3031, allocations: 40.69 kB / 412.7 MB, free: 15.88 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.98e-05/0.3031, allocations: 23.88 kB / 412.7 MB, free: 15.88 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001408/0.3045, allocations: 0.7726 MB / 413.5 MB, free: 15.51 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005206/0.3097, allocations: 2.684 MB / 416.1 MB, free: 13.48 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002076/0.3118, allocations: 0.8781 MB / 417 MB, free: 13.01 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000577/0.3124, allocations: 319.4 kB / 417.3 MB, free: 12.85 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.894e-05/0.3125, allocations: 29.42 kB / 417.4 MB, free: 12.84 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.547e-05/0.3125, allocations: 47.67 kB / 417.4 MB, free: 12.79 MB / 334.1 MB Notification: Performance of pre-optimization done (n=87): time 3.466e-06/0.3125, allocations: 0 / 417.4 MB, free: 12.79 MB / 334.1 MB Notification: Performance of matching and sorting (n=87): time 0.00237/0.3149, allocations: 0.9991 MB / 418.4 MB, free: 12.27 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.685e-05/0.315, allocations: 87.27 kB / 418.5 MB, free: 12.18 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000462/0.3154, allocations: 329.8 kB / 418.8 MB, free: 11.96 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.264e-05/0.3155, allocations: 49.78 kB / 418.9 MB, free: 11.91 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003273/0.3158, allocations: 399 kB / 419.3 MB, free: 11.55 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002668/0.3161, allocations: 309.3 kB / 419.6 MB, free: 11.28 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002791/0.3164, allocations: 175.7 kB / 419.7 MB, free: 11.17 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001951/0.3166, allocations: 357.8 kB / 420.1 MB, free: 10.82 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004822/0.317, allocations: 269.8 kB / 420.3 MB, free: 10.69 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006762/0.3177, allocations: 470.9 kB / 420.8 MB, free: 10.33 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001254/0.319, allocations: 0.7691 MB / 421.6 MB, free: 9.793 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.733e-06/0.319, allocations: 1.281 kB / 421.6 MB, free: 9.793 MB / 334.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001785/0.3208, allocations: 0.9653 MB / 422.5 MB, free: 9.062 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.492e-05/0.3208, allocations: 12.66 kB / 422.6 MB, free: 9.051 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/0.3208, allocations: 4 kB / 422.6 MB, free: 9.047 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004242/0.3212, allocations: 127.3 kB / 422.7 MB, free: 8.91 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007906/0.322, allocations: 203.7 kB / 422.9 MB, free: 8.711 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005012/0.327, allocations: 5.613 MB / 428.5 MB, free: 2.684 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007503/0.3278, allocations: 103.2 kB / 428.6 MB, free: 2.582 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.578e-05/0.3278, allocations: 36 kB / 428.6 MB, free: 2.547 MB / 334.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.0003887/0.3282, allocations: 237.7 kB / 428.9 MB, free: 2.305 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001171/0.3283, allocations: 51.67 kB / 428.9 MB, free: 2.254 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00155/0.3299, allocations: 0.8432 MB / 429.8 MB, free: 1.391 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-05/0.3299, allocations: 8 kB / 429.8 MB, free: 1.383 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.3299, allocations: 4 kB / 429.8 MB, free: 1.379 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.235e-06/0.3299, allocations: 3.984 kB / 429.8 MB, free: 1.375 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002859/0.3328, allocations: 1.538 MB / 431.3 MB, free: 15.76 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.3328, allocations: 3.938 kB / 431.3 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005834/0.3334, allocations: 147.7 kB / 431.5 MB, free: 15.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003031/0.3337, allocations: 111.6 kB / 431.6 MB, free: 15.49 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.959e-05/0.3337, allocations: 20 kB / 431.6 MB, free: 15.47 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004293/0.338, allocations: 5.185 MB / 436.8 MB, free: 9.879 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.072e-06/0.338, allocations: 7.938 kB / 436.8 MB, free: 9.871 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002021/0.34, allocations: 1.269 MB / 438 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001758/0.3402, allocations: 63.52 kB / 438.1 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.132e-05/0.3403, allocations: 27.92 kB / 438.1 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003858/0.3407, allocations: 16 kB / 438.2 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001246/0.3408, allocations: 64.48 kB / 438.2 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.884e-05/0.3409, allocations: 31.98 kB / 438.2 MB, free: 8.344 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002743/0.3411, allocations: 219.2 kB / 438.5 MB, free: 8.125 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3411, allocations: 0 / 438.5 MB, free: 8.125 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001091/0.3422, allocations: 267.5 kB / 438.7 MB, free: 7.863 MB / 350.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.0003008/0.3425, allocations: 155 kB / 438.9 MB, free: 7.703 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001783/0.3443, allocations: 1.133 MB / 440 MB, free: 6.52 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.3443, allocations: 0 / 440 MB, free: 6.52 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009387/0.3452, allocations: 0.7655 MB / 440.8 MB, free: 5.703 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005602/0.3458, allocations: 66.19 kB / 440.8 MB, free: 5.641 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002693/0.3485, allocations: 1.403 MB / 442.2 MB, free: 4.176 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003693/0.3489, allocations: 314.3 kB / 442.5 MB, free: 3.844 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000446/0.3493, allocations: 108.9 kB / 442.7 MB, free: 3.734 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001509/0.3495, allocations: 47.44 kB / 442.7 MB, free: 3.688 MB / 350.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3495, allocations: 0 / 442.7 MB, free: 3.688 MB / 350.1 MB Notification: Performance of Templates: time 0.01562/0.3651, allocations: 7.577 MB / 450.3 MB, free: 12.09 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/CylinderLeakage/CylinderLeakage.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 5.0393920838832855]