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.001405/0.001405, allocations: 108.2 kB / 21.18 MB, free: 0.7188 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.001729/0.001729, allocations: 216.7 kB / 24.49 MB, free: 4.09 MB / 14.72 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 1.436/1.436, allocations: 207.6 MB / 235.3 MB, free: 10.02 MB / 190.1 MB " [Timeout remaining time 178] 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001846/0.001846, allocations: 55.86 kB / 347.7 MB, free: 9.531 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2429/0.2447, allocations: 49.16 MB / 396.9 MB, free: 9.535 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.005281/0.25, allocations: 5.265 MB / 402.1 MB, free: 5.789 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002473/0.2525, allocations: 1.74 MB / 403.9 MB, free: 4.551 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002555/0.2527, allocations: 16.88 kB / 403.9 MB, free: 4.551 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002675/0.2554, allocations: 1.421 MB / 405.3 MB, free: 3.695 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006464/0.256, allocations: 314.5 kB / 405.6 MB, free: 3.48 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00119/0.2572, allocations: 0.656 MB / 406.3 MB, free: 3.078 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007555/0.258, allocations: 0.8135 MB / 407.1 MB, free: 2.66 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008575/0.2588, allocations: 0.6819 MB / 407.8 MB, free: 2.25 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000357/0.2592, allocations: 358.9 kB / 408.1 MB, free: 2.078 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004911/0.2597, allocations: 471.6 kB / 408.6 MB, free: 1.844 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001127/0.2598, allocations: 75.09 kB / 408.6 MB, free: 1.844 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004945/0.2603, allocations: 260.8 kB / 408.9 MB, free: 1.777 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001086/0.2604, allocations: 174.6 kB / 409.1 MB, free: 1.656 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002906/0.2607, allocations: 420.8 kB / 409.5 MB, free: 1.395 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001259/0.262, allocations: 1.194 MB / 410.7 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.262, allocations: 0 / 410.7 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.262, allocations: 0 / 410.7 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.421e-05/0.262, allocations: 0 / 410.7 MB, free: 0.8867 MB / 318.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.003659/0.2656, allocations: 1.389 MB / 412.1 MB, free: 15.92 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.2657, allocations: 13.27 kB / 412.1 MB, free: 15.92 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001628/0.2673, allocations: 257.8 kB / 412.3 MB, free: 15.79 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002559/0.2676, allocations: 200.5 kB / 412.5 MB, free: 15.59 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.417e-05/0.2676, allocations: 78.16 kB / 412.6 MB, free: 15.55 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001573/0.2678, allocations: 104.6 kB / 412.7 MB, free: 15.52 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001737/0.2695, allocations: 0.9386 MB / 413.6 MB, free: 14.96 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.35e-05/0.2696, allocations: 6.172 kB / 413.6 MB, free: 14.96 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.352e-05/0.2696, allocations: 40.34 kB / 413.7 MB, free: 14.93 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.151e-05/0.2697, allocations: 24.09 kB / 413.7 MB, free: 14.93 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001345/0.271, allocations: 0.7806 MB / 414.5 MB, free: 14.56 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005606/0.2766, allocations: 3.048 MB / 417.5 MB, free: 12.21 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001841/0.2785, allocations: 0.8833 MB / 418.4 MB, free: 11.74 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000519/0.279, allocations: 323.3 kB / 418.7 MB, free: 11.58 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.428e-05/0.2791, allocations: 28.09 kB / 418.8 MB, free: 11.57 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.717e-05/0.2791, allocations: 43.69 kB / 418.8 MB, free: 11.52 MB / 334.1 MB Notification: Performance of pre-optimization done (n=87): time 2.484e-06/0.2791, allocations: 0 / 418.8 MB, free: 11.52 MB / 334.1 MB Notification: Performance of matching and sorting (n=87): time 0.002388/0.2815, allocations: 0.997 MB / 419.8 MB, free: 11 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.472e-05/0.2816, allocations: 94.58 kB / 419.9 MB, free: 10.9 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005814/0.2822, allocations: 367.6 kB / 420.3 MB, free: 10.67 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.723e-05/0.2822, allocations: 40.53 kB / 420.3 MB, free: 10.62 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003642/0.2826, allocations: 391.2 kB / 420.7 MB, free: 10.27 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003063/0.2829, allocations: 321.7 kB / 421 MB, free: 9.992 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002895/0.2832, allocations: 175.2 kB / 421.2 MB, free: 9.887 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002081/0.2834, allocations: 361.4 kB / 421.5 MB, free: 9.535 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005123/0.2839, allocations: 263 kB / 421.8 MB, free: 9.41 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000701/0.2846, allocations: 471 kB / 422.2 MB, free: 9.039 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001252/0.2859, allocations: 0.7757 MB / 423 MB, free: 8.5 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.2859, allocations: 1.125 kB / 423 MB, free: 8.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001758/0.2876, allocations: 0.9749 MB / 424 MB, free: 7.785 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/0.2876, allocations: 8 kB / 424 MB, free: 7.777 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.333e-05/0.2877, allocations: 4 kB / 424 MB, free: 7.773 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004036/0.2881, allocations: 127.4 kB / 424.1 MB, free: 7.637 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008165/0.2889, allocations: 207.7 kB / 424.3 MB, free: 7.434 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005029/0.2939, allocations: 5.716 MB / 430 MB, free: 1.258 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006654/0.2946, allocations: 103.2 kB / 430.1 MB, free: 1.156 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.775e-05/0.2946, allocations: 39.98 kB / 430.2 MB, free: 1.117 MB / 334.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.0003664/0.295, allocations: 229.5 kB / 430.4 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001339/0.2951, allocations: 55.62 kB / 430.5 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001716/0.2969, allocations: 0.8483 MB / 431.3 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.338e-06/0.2969, allocations: 8 kB / 431.3 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.2969, allocations: 0 / 431.3 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.358e-05/0.2969, allocations: 11.92 kB / 431.3 MB, free: 15.94 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002974/0.2999, allocations: 1.748 MB / 433.1 MB, free: 14.1 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.2999, allocations: 0 / 433.1 MB, free: 14.1 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006023/0.3005, allocations: 135.8 kB / 433.2 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003041/0.3008, allocations: 115.6 kB / 433.3 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.632e-05/0.3008, allocations: 23.94 kB / 433.3 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004441/0.3053, allocations: 5.288 MB / 438.6 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.704e-06/0.3053, allocations: 7.938 kB / 438.6 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001997/0.3073, allocations: 1.273 MB / 439.9 MB, free: 6.742 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001618/0.3074, allocations: 67.58 kB / 440 MB, free: 6.676 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.824e-05/0.3075, allocations: 27.92 kB / 440 MB, free: 6.648 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004148/0.3079, allocations: 20 kB / 440 MB, free: 6.629 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001152/0.3081, allocations: 64.48 kB / 440.1 MB, free: 6.566 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-05/0.3081, allocations: 27.98 kB / 440.1 MB, free: 6.539 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003168/0.3084, allocations: 251.2 kB / 440.4 MB, free: 6.289 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3084, allocations: 4 kB / 440.4 MB, free: 6.285 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00105/0.3095, allocations: 263.5 kB / 440.6 MB, free: 6.027 MB / 350.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.0002983/0.3098, allocations: 151 kB / 440.8 MB, free: 5.867 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001898/0.3117, allocations: 1.133 MB / 441.9 MB, free: 4.688 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.3117, allocations: 0 / 441.9 MB, free: 4.688 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009679/0.3126, allocations: 0.7616 MB / 442.7 MB, free: 3.871 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005687/0.3132, allocations: 74.41 kB / 442.7 MB, free: 3.801 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002802/0.316, allocations: 1.41 MB / 444.1 MB, free: 2.328 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005816/0.3166, allocations: 0.9071 MB / 445 MB, free: 1.395 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000435/0.317, allocations: 109.1 kB / 445.2 MB, free: 1.289 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001608/0.3172, allocations: 59.42 kB / 445.2 MB, free: 1.23 MB / 350.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3172, allocations: 0 / 445.2 MB, free: 1.23 MB / 350.1 MB Notification: Performance of Templates: time 0.01654/0.3337, allocations: 7.828 MB / 453 MB, free: 9.391 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.87965709506534]