Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007878/0.0007878, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001012/0.0018, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0007188/0.0007188, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008749/0.001594, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9657/0.9657, allocations: 177.4 MB / 189.9 MB, free: 4.844 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08688/1.053, allocations: 53.87 MB / 243.8 MB, free: 14.91 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 245 MB, free: 13.67 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.694e-05/1.816e-05, allocations: 2.312 kB / 245 MB, free: 13.66 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.004211/0.004229, allocations: 5.16 MB / 250.2 MB, free: 8.477 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001623/0.005852, allocations: 1.782 MB / 252 MB, free: 6.684 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001484/0.006001, allocations: 16 kB / 252 MB, free: 6.668 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001333/0.007334, allocations: 1.493 MB / 253.5 MB, free: 5.168 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003643/0.007698, allocations: 341.3 kB / 253.8 MB, free: 4.832 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006644/0.008362, allocations: 0.6151 MB / 254.4 MB, free: 4.215 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005314/0.008894, allocations: 0.84 MB / 255.2 MB, free: 3.371 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006319/0.009526, allocations: 0.6657 MB / 255.9 MB, free: 2.691 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003757/0.009901, allocations: 0.5339 MB / 256.4 MB, free: 2.156 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002892/0.01019, allocations: 363 kB / 256.8 MB, free: 1.801 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.687e-05/0.01026, allocations: 76 kB / 256.9 MB, free: 1.727 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003159/0.01057, allocations: 263.6 kB / 257.1 MB, free: 1.469 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.414e-05/0.01065, allocations: 127.6 kB / 257.3 MB, free: 1.344 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000165/0.01081, allocations: 243.5 kB / 257.5 MB, free: 1.105 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000584/0.0114, allocations: 0.7434 MB / 258.2 MB, free: 368 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.539e-05/0.01141, allocations: 0 / 258.2 MB, free: 368 kB / 250.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.01141, allocations: 0 / 258.2 MB, free: 368 kB / 250.7 MB Notification: Performance of Transformations before backend: time 1.881e-05/0.01143, allocations: 0 / 258.2 MB, free: 368 kB / 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.002042/0.01347, allocations: 1.698 MB / 259.9 MB, free: 14.61 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.809e-05/0.0135, allocations: 8.625 kB / 259.9 MB, free: 14.61 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009341/0.01443, allocations: 436 kB / 260.4 MB, free: 14.18 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001459/0.01458, allocations: 201.3 kB / 260.6 MB, free: 13.96 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.196e-05/0.01462, allocations: 74.38 kB / 260.6 MB, free: 13.89 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.598e-05/0.01471, allocations: 96.38 kB / 260.7 MB, free: 13.79 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005645/0.01527, allocations: 0.6612 MB / 261.4 MB, free: 13.12 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.298e-05/0.0153, allocations: 8.125 kB / 261.4 MB, free: 13.11 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.642e-05/0.01534, allocations: 40.38 kB / 261.4 MB, free: 13.07 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.596e-05/0.01536, allocations: 31.94 kB / 261.5 MB, free: 13.04 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003179/0.01568, allocations: 289.5 kB / 261.8 MB, free: 12.76 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002423/0.0181, allocations: 2.211 MB / 264 MB, free: 10.45 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007534/0.01885, allocations: 0.6796 MB / 264.6 MB, free: 9.746 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000162/0.01902, allocations: 180.9 kB / 264.8 MB, free: 9.566 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.439e-05/0.01908, allocations: 44.95 kB / 264.9 MB, free: 9.523 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.453e-05/0.0191, allocations: 43.56 kB / 264.9 MB, free: 9.473 MB / 266.7 MB Notification: Performance of pre-optimization done (n=87): time 1.944e-06/0.01911, allocations: 0 / 264.9 MB, free: 9.473 MB / 266.7 MB Notification: Performance of matching and sorting (n=87): time 0.001177/0.02028, allocations: 0.5523 MB / 265.5 MB, free: 8.906 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.318e-05/0.02032, allocations: 90.14 kB / 265.6 MB, free: 8.801 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001658/0.02048, allocations: 306.6 kB / 265.9 MB, free: 8.492 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.786e-05/0.02051, allocations: 37.7 kB / 265.9 MB, free: 8.449 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001306/0.02064, allocations: 388.1 kB / 266.3 MB, free: 8.062 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001339/0.02077, allocations: 321.2 kB / 266.6 MB, free: 7.746 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001374/0.02091, allocations: 174.8 kB / 266.8 MB, free: 7.566 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.632e-05/0.021, allocations: 362.7 kB / 267.1 MB, free: 7.203 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000106/0.0211, allocations: 98.56 kB / 267.2 MB, free: 7.109 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002072/0.02131, allocations: 323.3 kB / 267.5 MB, free: 6.711 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003622/0.02167, allocations: 0.4929 MB / 268 MB, free: 6.145 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.02168, allocations: 0 / 268 MB, free: 6.145 MB / 266.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.000516/0.02219, allocations: 0.5613 MB / 268.6 MB, free: 5.562 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.02221, allocations: 8 kB / 268.6 MB, free: 5.555 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.02221, allocations: 8 kB / 268.6 MB, free: 5.547 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003378/0.02255, allocations: 147.2 kB / 268.7 MB, free: 5.391 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004942/0.02305, allocations: 235.7 kB / 269 MB, free: 5.16 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002037/0.02508, allocations: 5.116 MB / 274.1 MB, free: 15.7 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002145/0.0253, allocations: 99.33 kB / 274.2 MB, free: 15.6 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.963e-05/0.02533, allocations: 31.98 kB / 274.2 MB, free: 15.57 MB / 282.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.0001278/0.02545, allocations: 165.5 kB / 274.4 MB, free: 15.4 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.41e-05/0.02552, allocations: 63.89 kB / 274.4 MB, free: 15.34 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005011/0.02602, allocations: 0.5093 MB / 274.9 MB, free: 14.8 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.02602, allocations: 8 kB / 274.9 MB, free: 14.8 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.02603, allocations: 4 kB / 275 MB, free: 14.79 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.02603, allocations: 3.984 kB / 275 MB, free: 14.79 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001003/0.02704, allocations: 0.9796 MB / 275.9 MB, free: 13.74 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.02704, allocations: 7.938 kB / 275.9 MB, free: 13.73 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000303/0.02734, allocations: 155.8 kB / 276.1 MB, free: 13.58 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.155e-05/0.02739, allocations: 55.53 kB / 276.1 MB, free: 13.53 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002446/0.02763, allocations: 135.5 kB / 276.3 MB, free: 13.38 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.463e-05/0.02765, allocations: 19.98 kB / 276.3 MB, free: 13.36 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001743/0.0294, allocations: 4.756 MB / 281.1 MB, free: 8.262 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.0294, allocations: 4 kB / 281.1 MB, free: 8.258 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005583/0.02996, allocations: 0.7519 MB / 281.8 MB, free: 7.449 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.895e-05/0.03, allocations: 19.98 kB / 281.8 MB, free: 7.43 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001617/0.03016, allocations: 20 kB / 281.9 MB, free: 7.41 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.839e-05/0.03022, allocations: 68.42 kB / 281.9 MB, free: 7.34 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.048e-05/0.03024, allocations: 24.08 kB / 281.9 MB, free: 7.316 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.294e-05/0.03031, allocations: 108.6 kB / 282 MB, free: 7.211 MB / 282.7 MB Notification: Performance of sort global known variables: time 3e-08/0.03031, allocations: 0 / 282 MB, free: 7.211 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004791/0.03079, allocations: 267.5 kB / 282.3 MB, free: 6.949 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.0001721/0.03096, allocations: 136.2 kB / 282.4 MB, free: 6.809 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006392/0.0316, allocations: 0.897 MB / 283.3 MB, free: 5.863 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.739e-05/0.03162, allocations: 9.938 kB / 283.3 MB, free: 5.855 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003608/0.03198, allocations: 0.6811 MB / 284 MB, free: 5.121 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003254/0.0323, allocations: 108.6 kB / 284.1 MB, free: 5.016 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006048/0.03835, allocations: 1.353 MB / 285.5 MB, free: 3.598 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001034/0.03845, allocations: 159.3 kB / 285.6 MB, free: 3.422 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000243/0.0387, allocations: 105 kB / 285.7 MB, free: 3.32 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001631/0.03886, allocations: 131.4 kB / 285.9 MB, free: 3.191 MB / 282.7 MB Notification: Performance of SimCode: time 6.61e-07/0.03886, allocations: 4 kB / 285.9 MB, free: 3.188 MB / 282.7 MB Notification: Performance of Templates: time 0.1048/0.1437, allocations: 7.806 MB / 293.7 MB, free: 28.61 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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","",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.8075854694470763]