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.001916/0.001916, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.002353/0.002353, allocations: 216.6 kB / 23.75 MB, free: 4.668 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.447/1.447, allocations: 230.6 MB / 257.5 MB, free: 7.996 MB / 206.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 0.00161/0.00161, allocations: 51.92 kB / 378.3 MB, free: 2.625 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2396/0.2412, allocations: 53.36 MB / 431.6 MB, free: 6.926 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.007899/0.2491, allocations: 5.307 MB / 436.9 MB, free: 1.602 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003568/0.2527, allocations: 1.763 MB / 438.7 MB, free: 15.83 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005218/0.2532, allocations: 16 kB / 438.7 MB, free: 15.81 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003402/0.2566, allocations: 1.427 MB / 440.1 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000949/0.2576, allocations: 321.6 kB / 440.5 MB, free: 14.06 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001421/0.259, allocations: 0.6525 MB / 441.1 MB, free: 13.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001034/0.26, allocations: 0.8052 MB / 441.9 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001116/0.2612, allocations: 0.6751 MB / 442.6 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004712/0.2616, allocations: 358.7 kB / 442.9 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006024/0.2622, allocations: 466.1 kB / 443.4 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.796e-05/0.2623, allocations: 72 kB / 443.5 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005736/0.2629, allocations: 267.8 kB / 443.7 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001535/0.2631, allocations: 175.4 kB / 443.9 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004534/0.2635, allocations: 433.8 kB / 444.3 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001471/0.265, allocations: 1.2 MB / 445.5 MB, free: 8.977 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.265, allocations: 0 / 445.5 MB, free: 8.977 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.265, allocations: 4 kB / 445.5 MB, free: 8.973 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.012e-05/0.265, allocations: 3.938 kB / 445.5 MB, free: 8.969 MB / 350.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.004026/0.269, allocations: 1.394 MB / 446.9 MB, free: 7.543 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.2691, allocations: 8.031 kB / 446.9 MB, free: 7.535 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001607/0.2707, allocations: 244.2 kB / 447.2 MB, free: 7.297 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002349/0.2709, allocations: 209.4 kB / 447.4 MB, free: 7.066 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.619e-05/0.271, allocations: 70.38 kB / 447.4 MB, free: 6.996 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001416/0.2711, allocations: 96.38 kB / 447.5 MB, free: 6.902 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001606/0.2727, allocations: 0.9503 MB / 448.5 MB, free: 5.941 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.408e-05/0.2727, allocations: 7.953 kB / 448.5 MB, free: 5.934 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.419e-05/0.2728, allocations: 43.98 kB / 448.5 MB, free: 5.891 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.856e-05/0.2729, allocations: 24 kB / 448.6 MB, free: 5.867 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001406/0.2743, allocations: 0.7769 MB / 449.3 MB, free: 5.086 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005249/0.2795, allocations: 3.088 MB / 452.4 MB, free: 1.875 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001864/0.2814, allocations: 0.8812 MB / 453.3 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005394/0.2819, allocations: 322 kB / 453.6 MB, free: 0.668 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001163/0.282, allocations: 40.94 kB / 453.7 MB, free: 0.625 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.321e-05/0.2821, allocations: 43.56 kB / 453.7 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of pre-optimization done (n=87): time 2.184e-06/0.2821, allocations: 0 / 453.7 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of matching and sorting (n=87): time 0.002176/0.2842, allocations: 1.011 MB / 454.7 MB, free: 15.54 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.112e-05/0.2843, allocations: 90.09 kB / 454.8 MB, free: 15.43 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004551/0.2848, allocations: 372.3 kB / 455.2 MB, free: 15.06 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.481e-05/0.2848, allocations: 37.7 kB / 455.2 MB, free: 15.02 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002787/0.2851, allocations: 392.1 kB / 455.6 MB, free: 14.63 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002527/0.2853, allocations: 317.3 kB / 455.9 MB, free: 14.32 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002655/0.2856, allocations: 178.9 kB / 456.1 MB, free: 14.14 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001767/0.2858, allocations: 362.8 kB / 456.4 MB, free: 13.78 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004793/0.2863, allocations: 266.5 kB / 456.7 MB, free: 13.52 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006625/0.2869, allocations: 483.3 kB / 457.2 MB, free: 12.97 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001186/0.2881, allocations: 0.7784 MB / 457.9 MB, free: 12.11 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.2881, allocations: 0 / 457.9 MB, free: 12.11 MB / 366.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001767/0.2899, allocations: 0.9771 MB / 458.9 MB, free: 11.12 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.2899, allocations: 12 kB / 458.9 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.269e-05/0.2899, allocations: 8 kB / 458.9 MB, free: 11.1 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003995/0.2903, allocations: 115.4 kB / 459 MB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008209/0.2911, allocations: 215.6 kB / 459.3 MB, free: 10.76 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004934/0.2961, allocations: 5.701 MB / 465 MB, free: 4.602 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006532/0.2967, allocations: 103.2 kB / 465.1 MB, free: 4.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.483e-05/0.2968, allocations: 40 kB / 465.1 MB, free: 4.461 MB / 366.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.0003369/0.2971, allocations: 237.5 kB / 465.3 MB, free: 4.219 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001209/0.2972, allocations: 55.67 kB / 465.4 MB, free: 4.164 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00152/0.2988, allocations: 0.8441 MB / 466.2 MB, free: 3.297 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.326e-06/0.2988, allocations: 8 kB / 466.2 MB, free: 3.289 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.2988, allocations: 4 kB / 466.2 MB, free: 3.285 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.193e-05/0.2988, allocations: 7.922 kB / 466.3 MB, free: 3.277 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003033/0.3018, allocations: 1.775 MB / 468 MB, free: 1.418 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.746e-06/0.3018, allocations: 8 kB / 468 MB, free: 1.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006046/0.3024, allocations: 135.8 kB / 468.2 MB, free: 1.277 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000293/0.3027, allocations: 103.4 kB / 468.3 MB, free: 1.164 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.451e-05/0.3028, allocations: 27.97 kB / 468.3 MB, free: 1.137 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00462/0.3074, allocations: 5.3 MB / 473.6 MB, free: 11.38 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.853e-06/0.3074, allocations: 7.938 kB / 473.6 MB, free: 11.37 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002106/0.3095, allocations: 1.281 MB / 474.9 MB, free: 10.04 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001328/0.3096, allocations: 79.3 kB / 475 MB, free: 9.957 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.762e-05/0.3097, allocations: 19.94 kB / 475 MB, free: 9.938 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003945/0.3101, allocations: 20 kB / 475 MB, free: 9.918 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001123/0.3102, allocations: 68.59 kB / 475.1 MB, free: 9.852 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.086e-05/0.3103, allocations: 24 kB / 475.1 MB, free: 9.828 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003179/0.3106, allocations: 259.2 kB / 475.3 MB, free: 9.574 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3106, allocations: 0 / 475.3 MB, free: 9.574 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001013/0.3116, allocations: 259.6 kB / 475.6 MB, free: 9.32 MB / 382.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.0002854/0.3119, allocations: 155 kB / 475.7 MB, free: 9.156 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00179/0.3137, allocations: 1.142 MB / 476.9 MB, free: 7.965 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.3137, allocations: 0 / 476.9 MB, free: 7.965 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009508/0.3146, allocations: 0.7644 MB / 477.7 MB, free: 7.152 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005599/0.3152, allocations: 65.23 kB / 477.7 MB, free: 7.086 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002748/0.3179, allocations: 1.382 MB / 479.1 MB, free: 5.645 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005987/0.3185, allocations: 0.9149 MB / 480 MB, free: 4.699 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003964/0.3189, allocations: 109.1 kB / 480.1 MB, free: 4.594 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001656/0.3191, allocations: 59.42 kB / 480.2 MB, free: 4.535 MB / 382.1 MB Notification: Performance of SimCode: time 6.91e-07/0.3191, allocations: 0 / 480.2 MB, free: 4.535 MB / 382.1 MB Notification: Performance of Templates: time 0.01662/0.3357, allocations: 7.982 MB / 488.2 MB, free: 12.59 MB / 398.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.778847097884864]