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.001566/0.001566, allocations: 82.81 kB / 20.68 MB, free: 1.035 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.001398/0.001398, allocations: 163.5 kB / 23.95 MB, free: 4.168 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.42/1.42, allocations: 177.1 MB / 204.3 MB, free: 9.203 MB / 190.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 1.473e-06/1.473e-06, allocations: 3.938 kB / 325.1 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.594e-05/1.741e-05, allocations: 2.281 kB / 325.1 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.00618/0.006198, allocations: 4.712 MB / 329.8 MB, free: 13.41 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00312/0.009318, allocations: 1.663 MB / 331.4 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002477/0.009566, allocations: 21.28 kB / 331.5 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003261/0.01283, allocations: 1.389 MB / 332.9 MB, free: 11.33 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007475/0.01357, allocations: 332.5 kB / 333.2 MB, free: 11.06 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001393/0.01497, allocations: 0.6101 MB / 333.8 MB, free: 10.6 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001158/0.01613, allocations: 0.8397 MB / 334.6 MB, free: 10.08 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001116/0.01724, allocations: 0.6621 MB / 335.3 MB, free: 9.625 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007343/0.01798, allocations: 0.5117 MB / 335.8 MB, free: 9.309 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004992/0.01848, allocations: 354.5 kB / 336.2 MB, free: 9.121 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001091/0.01858, allocations: 75.03 kB / 336.2 MB, free: 9.121 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005454/0.01913, allocations: 255.9 kB / 336.5 MB, free: 9.035 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001618/0.01929, allocations: 179.9 kB / 336.7 MB, free: 8.887 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003433/0.01963, allocations: 288.1 kB / 336.9 MB, free: 8.734 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001402/0.02104, allocations: 1.219 MB / 338.2 MB, free: 7.836 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.02104, allocations: 1.188 kB / 338.2 MB, free: 7.836 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.02104, allocations: 0 / 338.2 MB, free: 7.836 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.166e-05/0.02105, allocations: 0 / 338.2 MB, free: 7.836 MB / 302.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.004138/0.02519, allocations: 1.394 MB / 339.5 MB, free: 6.648 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.02523, allocations: 12.03 kB / 339.6 MB, free: 6.637 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001745/0.02697, allocations: 248.2 kB / 339.8 MB, free: 6.395 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002407/0.02721, allocations: 204.6 kB / 340 MB, free: 6.168 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.084e-05/0.02728, allocations: 74.38 kB / 340.1 MB, free: 6.098 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001503/0.02743, allocations: 96.38 kB / 340.2 MB, free: 6.004 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001619/0.02905, allocations: 0.9466 MB / 341.1 MB, free: 5.043 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.414e-05/0.02909, allocations: 4.141 kB / 341.1 MB, free: 5.039 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.08e-05/0.02918, allocations: 44.38 kB / 341.2 MB, free: 4.996 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.548e-05/0.0292, allocations: 23.94 kB / 341.2 MB, free: 4.973 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001408/0.03061, allocations: 0.7809 MB / 342 MB, free: 4.191 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00502/0.03563, allocations: 2.701 MB / 344.7 MB, free: 1.375 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001909/0.03754, allocations: 0.8829 MB / 345.6 MB, free: 492 kB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005442/0.03808, allocations: 329 kB / 345.9 MB, free: 160 kB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001089/0.03819, allocations: 36.95 kB / 345.9 MB, free: 120 kB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.615e-05/0.03823, allocations: 43.56 kB / 346 MB, free: 68 kB / 302.1 MB Notification: Performance of pre-optimization done (n=87): time 2.465e-06/0.03823, allocations: 4 kB / 346 MB, free: 64 kB / 302.1 MB Notification: Performance of matching and sorting (n=87): time 0.002249/0.04048, allocations: 0.9994 MB / 347 MB, free: 15.04 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.03e-05/0.04054, allocations: 90.11 kB / 347 MB, free: 14.93 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00039/0.04093, allocations: 339.8 kB / 347.4 MB, free: 14.59 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.517e-05/0.04099, allocations: 45.64 kB / 347.4 MB, free: 14.54 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002756/0.04126, allocations: 396 kB / 347.8 MB, free: 14.15 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002828/0.04155, allocations: 301.4 kB / 348.1 MB, free: 13.86 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002818/0.04183, allocations: 186.8 kB / 348.3 MB, free: 13.66 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001757/0.042, allocations: 354.8 kB / 348.6 MB, free: 13.31 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004957/0.0425, allocations: 262.5 kB / 348.9 MB, free: 13.05 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006727/0.04317, allocations: 483.5 kB / 349.4 MB, free: 12.5 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001221/0.04439, allocations: 0.7784 MB / 350.1 MB, free: 11.65 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.0444, allocations: 4 kB / 350.1 MB, free: 11.65 MB / 318.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001742/0.04614, allocations: 0.9809 MB / 351.1 MB, free: 10.64 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.04616, allocations: 8 kB / 351.1 MB, free: 10.64 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/0.04617, allocations: 4 kB / 351.1 MB, free: 10.63 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003932/0.04656, allocations: 119.4 kB / 351.2 MB, free: 10.5 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008458/0.04741, allocations: 207.7 kB / 351.5 MB, free: 10.3 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004615/0.05202, allocations: 5.598 MB / 357 MB, free: 4.297 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006672/0.05269, allocations: 103.2 kB / 357.1 MB, free: 4.195 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.556e-05/0.05276, allocations: 47.98 kB / 357.2 MB, free: 4.148 MB / 318.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.000331/0.0531, allocations: 225.2 kB / 357.4 MB, free: 3.922 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001219/0.05322, allocations: 47.72 kB / 357.5 MB, free: 3.875 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001603/0.05482, allocations: 0.8473 MB / 358.3 MB, free: 3.004 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.987e-06/0.05483, allocations: 8 kB / 358.3 MB, free: 2.996 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.05483, allocations: 0 / 358.3 MB, free: 2.996 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.996e-06/0.05484, allocations: 7.984 kB / 358.3 MB, free: 2.988 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002825/0.05767, allocations: 1.573 MB / 359.9 MB, free: 1.344 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/0.05767, allocations: 4 kB / 359.9 MB, free: 1.34 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006118/0.05829, allocations: 139.7 kB / 360 MB, free: 1.203 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002959/0.05858, allocations: 111.6 kB / 360.1 MB, free: 1.082 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.658e-05/0.05863, allocations: 20 kB / 360.2 MB, free: 1.062 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004287/0.06292, allocations: 5.193 MB / 365.4 MB, free: 11.46 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.362e-06/0.06292, allocations: 4 kB / 365.4 MB, free: 11.46 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001961/0.06488, allocations: 1.273 MB / 366.6 MB, free: 10.13 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.444e-05/0.06498, allocations: 63.55 kB / 366.7 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.432e-05/0.06505, allocations: 16.19 kB / 366.7 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003961/0.06545, allocations: 20 kB / 366.7 MB, free: 10.03 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001293/0.06558, allocations: 76.39 kB / 366.8 MB, free: 9.957 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.766e-05/0.06563, allocations: 28 kB / 366.8 MB, free: 9.93 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002475/0.06587, allocations: 219.2 kB / 367.1 MB, free: 9.719 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.06587, allocations: 4 kB / 367.1 MB, free: 9.715 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0009415/0.06681, allocations: 275.4 kB / 367.3 MB, free: 9.445 MB / 334.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.0003124/0.06713, allocations: 151.1 kB / 367.5 MB, free: 9.289 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001704/0.06883, allocations: 1.133 MB / 368.6 MB, free: 8.098 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.06883, allocations: 3.938 kB / 368.6 MB, free: 8.094 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009297/0.06976, allocations: 0.7616 MB / 369.4 MB, free: 7.285 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005569/0.07032, allocations: 64.67 kB / 369.4 MB, free: 7.223 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002562/0.07288, allocations: 1.339 MB / 370.8 MB, free: 5.824 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003513/0.07323, allocations: 318.3 kB / 371.1 MB, free: 5.484 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003885/0.07362, allocations: 96.95 kB / 371.2 MB, free: 5.391 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001719/0.07379, allocations: 60.48 kB / 371.2 MB, free: 5.332 MB / 334.1 MB Notification: Performance of SimCode: time 3.21e-07/0.07379, allocations: 0 / 371.2 MB, free: 5.332 MB / 334.1 MB Notification: Performance of Templates: time 0.01496/0.08875, allocations: 6.959 MB / 378.2 MB, free: 14.46 MB / 350.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/CylinderLeakage/CylinderLeakage.csv","/var/lib/jenkins/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: 4.5862639881670475]