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.0009873/0.0009873, allocations: 79.73 kB / 21.97 MB, free: 2.594 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.00102/0.00102, allocations: 168.5 kB / 25.33 MB, free: 8.133 MB / 18.57 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 0.8126/0.8126, allocations: 158.6 MB / 187.2 MB, free: 2.922 MB / 170.7 MB " [Timeout remaining time 179] 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: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 251.1 MB, free: 7.504 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.494e-05/1.63e-05, allocations: 6.25 kB / 251.1 MB, free: 7.496 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.004561/0.004578, allocations: 5.162 MB / 256.2 MB, free: 2.309 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002447/0.007025, allocations: 1.694 MB / 257.9 MB, free: 0.5977 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002976/0.007323, allocations: 16 kB / 257.9 MB, free: 0.582 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001733/0.009055, allocations: 1.513 MB / 259.4 MB, free: 15.06 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005228/0.009578, allocations: 329.4 kB / 259.8 MB, free: 14.74 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008128/0.01039, allocations: 0.6151 MB / 260.4 MB, free: 14.12 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006876/0.01108, allocations: 0.8438 MB / 261.2 MB, free: 13.27 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007184/0.0118, allocations: 0.6597 MB / 261.9 MB, free: 12.6 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004271/0.01222, allocations: 0.5262 MB / 262.4 MB, free: 12.07 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003278/0.01255, allocations: 359 kB / 262.8 MB, free: 11.72 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 7.463e-05/0.01263, allocations: 72 kB / 262.8 MB, free: 11.65 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003709/0.013, allocations: 243.6 kB / 263.1 MB, free: 11.41 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.584e-05/0.01308, allocations: 183.3 kB / 263.2 MB, free: 11.23 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001861/0.01327, allocations: 287.3 kB / 263.5 MB, free: 10.95 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006529/0.01392, allocations: 0.7979 MB / 264.3 MB, free: 10.15 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.903e-06/0.01392, allocations: 4 kB / 264.3 MB, free: 10.14 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.02e-07/0.01392, allocations: 0 / 264.3 MB, free: 10.14 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.516e-06/0.01393, allocations: 7.938 kB / 264.3 MB, free: 10.14 MB / 250.7 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.002096/0.01603, allocations: 1.502 MB / 265.8 MB, free: 8.598 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.01606, allocations: 15.98 kB / 265.9 MB, free: 8.582 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009824/0.01705, allocations: 435.6 kB / 266.3 MB, free: 8.156 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001376/0.01718, allocations: 211.5 kB / 266.5 MB, free: 7.922 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.242e-05/0.01723, allocations: 66.38 kB / 266.6 MB, free: 7.855 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.451e-05/0.01732, allocations: 96.38 kB / 266.6 MB, free: 7.762 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008405/0.01816, allocations: 0.7373 MB / 267.4 MB, free: 7.012 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.247e-05/0.01818, allocations: 8.141 kB / 267.4 MB, free: 7.004 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.15e-05/0.01823, allocations: 40.38 kB / 267.4 MB, free: 6.965 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.728e-05/0.01825, allocations: 27.94 kB / 267.5 MB, free: 6.938 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006218/0.01887, allocations: 443.4 kB / 267.9 MB, free: 6.504 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002755/0.02163, allocations: 2.66 MB / 270.5 MB, free: 3.738 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009908/0.02262, allocations: 0.7844 MB / 271.3 MB, free: 2.934 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002899/0.02291, allocations: 242.8 kB / 271.6 MB, free: 2.691 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.155e-05/0.02297, allocations: 28.92 kB / 271.6 MB, free: 2.664 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.529e-05/0.023, allocations: 46.39 kB / 271.6 MB, free: 2.609 MB / 250.7 MB Notification: Performance of pre-optimization done (n=87): time 2.194e-06/0.023, allocations: 4 kB / 271.6 MB, free: 2.605 MB / 250.7 MB Notification: Performance of matching and sorting (n=87): time 0.001103/0.0241, allocations: 0.776 MB / 272.4 MB, free: 1.805 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.042e-05/0.02414, allocations: 86.11 kB / 272.5 MB, free: 1.703 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000255/0.0244, allocations: 377.9 kB / 272.9 MB, free: 1.312 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.283e-05/0.02443, allocations: 41.7 kB / 272.9 MB, free: 1.266 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001785/0.02461, allocations: 446.9 kB / 273.4 MB, free: 0.8203 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001679/0.02478, allocations: 313.3 kB / 273.7 MB, free: 0.5117 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000173/0.02495, allocations: 184.5 kB / 273.8 MB, free: 328 kB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001661/0.02512, allocations: 0.5352 MB / 274.4 MB, free: 15.77 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002216/0.02534, allocations: 158.5 kB / 274.5 MB, free: 15.62 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003435/0.02568, allocations: 442.2 kB / 275 MB, free: 15.08 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006045/0.02629, allocations: 0.6326 MB / 275.6 MB, free: 14.34 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.638e-06/0.02629, allocations: 4 kB / 275.6 MB, free: 14.34 MB / 266.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.0009223/0.02721, allocations: 0.8123 MB / 276.4 MB, free: 13.5 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.02723, allocations: 11.12 kB / 276.4 MB, free: 13.5 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.02724, allocations: 4 kB / 276.4 MB, free: 13.49 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003773/0.02761, allocations: 158.6 kB / 276.6 MB, free: 13.32 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004113/0.02802, allocations: 203.7 kB / 276.8 MB, free: 13.12 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002979/0.031, allocations: 7.63 MB / 284.4 MB, free: 5.004 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002734/0.03128, allocations: 103.2 kB / 284.5 MB, free: 4.902 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.935e-05/0.03132, allocations: 40 kB / 284.5 MB, free: 4.863 MB / 266.7 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.0001717/0.03149, allocations: 216.2 kB / 284.8 MB, free: 4.641 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.52e-05/0.03157, allocations: 75.72 kB / 284.8 MB, free: 4.566 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007658/0.03234, allocations: 0.6853 MB / 285.5 MB, free: 3.852 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.03234, allocations: 8 kB / 285.5 MB, free: 3.844 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.03235, allocations: 7.984 kB / 285.5 MB, free: 3.836 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.03236, allocations: 11.97 kB / 285.5 MB, free: 3.824 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001648/0.03401, allocations: 1.413 MB / 287 MB, free: 2.32 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.03401, allocations: 4 kB / 287 MB, free: 2.316 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000349/0.03436, allocations: 131.8 kB / 287.1 MB, free: 2.188 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003466/0.0347, allocations: 154.8 kB / 287.2 MB, free: 2.02 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.147e-05/0.03476, allocations: 20 kB / 287.3 MB, free: 2 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002523/0.03728, allocations: 7.083 MB / 294.3 MB, free: 10.43 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.03728, allocations: 0 / 294.3 MB, free: 10.43 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001015/0.0383, allocations: 1.079 MB / 295.4 MB, free: 9.273 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.782e-05/0.03834, allocations: 59.52 kB / 295.5 MB, free: 9.215 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.074e-05/0.03838, allocations: 23.94 kB / 295.5 MB, free: 9.191 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001734/0.03856, allocations: 20.09 kB / 295.5 MB, free: 9.172 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.055e-05/0.03865, allocations: 72.41 kB / 295.6 MB, free: 9.102 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.542e-05/0.03867, allocations: 28 kB / 295.6 MB, free: 9.074 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001369/0.03881, allocations: 235 kB / 295.9 MB, free: 8.844 MB / 282.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.03881, allocations: 0 / 295.9 MB, free: 8.844 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005607/0.03937, allocations: 267.5 kB / 296.1 MB, free: 8.582 MB / 282.7 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.0002016/0.03957, allocations: 143 kB / 296.3 MB, free: 8.434 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000961/0.04053, allocations: 1.22 MB / 297.5 MB, free: 7.137 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.04054, allocations: 0 / 297.5 MB, free: 7.137 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005196/0.04106, allocations: 0.9361 MB / 298.4 MB, free: 6.133 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003482/0.0414, allocations: 68.52 kB / 298.5 MB, free: 6.066 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001741/0.04314, allocations: 1.344 MB / 299.8 MB, free: 4.645 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001263/0.04327, allocations: 151.3 kB / 300 MB, free: 4.477 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002585/0.04353, allocations: 108.9 kB / 300.1 MB, free: 4.367 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001126/0.04364, allocations: 48.5 kB / 300.1 MB, free: 4.32 MB / 282.7 MB Notification: Performance of SimCode: time 6.91e-07/0.04364, allocations: 0 / 300.1 MB, free: 4.32 MB / 282.7 MB Notification: Performance of Templates: time 0.009787/0.05343, allocations: 7.308 MB / 307.4 MB, free: 13.05 MB / 298.7 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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7609847942367196]