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.0009155/0.0009155, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.0009025/0.0009025, allocations: 167.3 kB / 24.99 MB, free: 8.746 MB / 18.57 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 0.9783/0.9783, allocations: 177.1 MB / 205.3 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] 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 1.082e-06/1.082e-06, allocations: 0 / 273.1 MB, free: 1.844 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.612e-05/1.72e-05, allocations: 5.547 kB / 273.1 MB, free: 1.84 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.004648/0.004665, allocations: 5.194 MB / 278.3 MB, free: 12.62 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002478/0.007143, allocations: 1.701 MB / 280 MB, free: 10.91 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003083/0.007451, allocations: 16 kB / 280 MB, free: 10.89 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001701/0.009152, allocations: 1.501 MB / 281.5 MB, free: 9.387 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000816/0.009968, allocations: 337.4 kB / 281.8 MB, free: 9.055 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008359/0.0108, allocations: 0.6229 MB / 282.4 MB, free: 8.43 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006367/0.01144, allocations: 0.8395 MB / 283.3 MB, free: 7.586 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007009/0.01214, allocations: 0.6636 MB / 283.9 MB, free: 6.91 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003921/0.01253, allocations: 0.5184 MB / 284.4 MB, free: 6.391 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002957/0.01283, allocations: 355 kB / 284.8 MB, free: 6.043 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.725e-05/0.0129, allocations: 72 kB / 284.9 MB, free: 5.973 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003496/0.01325, allocations: 251.6 kB / 285.1 MB, free: 5.727 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.019e-05/0.01334, allocations: 179.3 kB / 285.3 MB, free: 5.551 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001779/0.01351, allocations: 291.3 kB / 285.6 MB, free: 5.266 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006882/0.0142, allocations: 0.8056 MB / 286.4 MB, free: 4.457 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.01421, allocations: 0 / 286.4 MB, free: 4.457 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.01421, allocations: 0 / 286.4 MB, free: 4.457 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.284e-06/0.01421, allocations: 8 kB / 286.4 MB, free: 4.449 MB / 266.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.002296/0.01651, allocations: 1.517 MB / 287.9 MB, free: 2.895 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.01654, allocations: 12.03 kB / 287.9 MB, free: 2.883 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001174/0.01772, allocations: 419.6 kB / 288.3 MB, free: 2.473 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001619/0.01788, allocations: 208.2 kB / 288.5 MB, free: 2.242 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.725e-05/0.01793, allocations: 74.38 kB / 288.6 MB, free: 2.168 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.919e-05/0.01803, allocations: 92.38 kB / 288.7 MB, free: 2.078 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001102/0.01913, allocations: 0.7373 MB / 289.4 MB, free: 1.328 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.637e-05/0.01915, allocations: 8.141 kB / 289.4 MB, free: 1.32 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.363e-05/0.01921, allocations: 36.38 kB / 289.5 MB, free: 1.285 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.921e-05/0.01923, allocations: 27.94 kB / 289.5 MB, free: 1.258 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006603/0.01989, allocations: 459.3 kB / 289.9 MB, free: 0.8047 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1033/0.1232, allocations: 2.682 MB / 292.6 MB, free: 27.41 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001177/0.1244, allocations: 0.7864 MB / 293.4 MB, free: 27.21 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003337/0.1247, allocations: 242.5 kB / 293.7 MB, free: 27.14 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.954e-05/0.1248, allocations: 39.67 kB / 293.7 MB, free: 27.14 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.352e-05/0.1248, allocations: 48.23 kB / 293.7 MB, free: 27.09 MB / 266.7 MB Notification: Performance of pre-optimization done (n=87): time 2.715e-06/0.1248, allocations: 2.906 kB / 293.7 MB, free: 27.09 MB / 266.7 MB Notification: Performance of matching and sorting (n=87): time 0.001459/0.1263, allocations: 0.7824 MB / 294.5 MB, free: 26.82 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.095e-05/0.1263, allocations: 91.73 kB / 294.6 MB, free: 26.73 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002806/0.1266, allocations: 373.1 kB / 295 MB, free: 26.5 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.801e-05/0.1266, allocations: 40.86 kB / 295 MB, free: 26.46 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001561/0.1268, allocations: 447.5 kB / 295.5 MB, free: 26.14 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001624/0.1269, allocations: 318.1 kB / 295.8 MB, free: 25.93 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001931/0.1271, allocations: 191.5 kB / 296 MB, free: 25.83 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.45e-05/0.1272, allocations: 0.5329 MB / 296.5 MB, free: 25.32 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002776/0.1275, allocations: 159.6 kB / 296.6 MB, free: 25.29 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000384/0.1279, allocations: 443.8 kB / 297.1 MB, free: 24.94 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006615/0.1285, allocations: 0.638 MB / 297.7 MB, free: 24.49 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.141e-06/0.1285, allocations: 3.109 kB / 297.7 MB, free: 24.49 MB / 266.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001044/0.1296, allocations: 0.8115 MB / 298.5 MB, free: 24.19 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/0.1296, allocations: 10.38 kB / 298.5 MB, free: 24.19 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/0.1296, allocations: 9.375 kB / 298.5 MB, free: 24.19 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004488/0.1301, allocations: 165.7 kB / 298.7 MB, free: 24.12 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004553/0.1305, allocations: 203.3 kB / 298.9 MB, free: 24.11 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002123/0.1326, allocations: 7.638 MB / 306.5 MB, free: 16.5 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003434/0.133, allocations: 100.7 kB / 306.6 MB, free: 16.46 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.478e-05/0.133, allocations: 45.11 kB / 306.7 MB, free: 16.45 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.0001906/0.1332, allocations: 213.6 kB / 306.9 MB, free: 16.25 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001058/0.1333, allocations: 79.81 kB / 307 MB, free: 16.21 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009544/0.1343, allocations: 0.6871 MB / 307.7 MB, free: 15.9 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.049e-05/0.1343, allocations: 13.31 kB / 307.7 MB, free: 15.89 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.665e-06/0.1343, allocations: 2.812 kB / 307.7 MB, free: 15.89 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.058e-05/0.1343, allocations: 4.031 kB / 307.7 MB, free: 15.89 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001792/0.1361, allocations: 1.437 MB / 309.1 MB, free: 15.07 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.1361, allocations: 2.75 kB / 309.1 MB, free: 15.07 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003235/0.1364, allocations: 137.2 kB / 309.3 MB, free: 15.06 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003383/0.1368, allocations: 153.5 kB / 309.4 MB, free: 14.99 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4e-05/0.1368, allocations: 21.98 kB / 309.4 MB, free: 14.98 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001684/0.1385, allocations: 7.083 MB / 316.5 MB, free: 7.852 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/0.1385, allocations: 7.969 kB / 316.5 MB, free: 7.848 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001187/0.1397, allocations: 1.082 MB / 317.6 MB, free: 7.18 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.485e-05/0.1398, allocations: 68.64 kB / 317.7 MB, free: 7.133 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.39e-05/0.1398, allocations: 14.66 kB / 317.7 MB, free: 7.125 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001987/0.14, allocations: 26.2 kB / 317.7 MB, free: 7.109 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/0.1401, allocations: 69.83 kB / 317.8 MB, free: 7.098 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.548e-05/0.1401, allocations: 24.34 kB / 317.8 MB, free: 7.094 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001367/0.1403, allocations: 236.6 kB / 318 MB, free: 6.949 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1403, allocations: 0 / 318 MB, free: 6.949 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000754/0.141, allocations: 274 kB / 318.3 MB, free: 6.879 MB / 266.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.0002393/0.1413, allocations: 152.7 kB / 318.4 MB, free: 6.758 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0009324/0.1422, allocations: 1.219 MB / 319.7 MB, free: 5.934 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.1422, allocations: 384 / 319.7 MB, free: 5.934 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004498/0.1426, allocations: 0.9401 MB / 320.6 MB, free: 5.164 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004021/0.143, allocations: 66.91 kB / 320.7 MB, free: 5.125 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00181/0.1449, allocations: 1.306 MB / 322 MB, free: 4.148 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.629e-05/0.145, allocations: 153.7 kB / 322.1 MB, free: 4.008 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002503/0.1452, allocations: 103.6 kB / 322.2 MB, free: 3.922 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001009/0.1453, allocations: 60.48 kB / 322.3 MB, free: 3.863 MB / 266.7 MB Notification: Performance of SimCode: time 1.763e-06/0.1453, allocations: 0 / 322.3 MB, free: 3.863 MB / 266.7 MB Notification: Performance of Templates: time 0.009677/0.155, allocations: 7.084 MB / 329.4 MB, free: 12.93 MB / 282.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.080392934847623]