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.001588/0.001588, allocations: 112.2 kB / 21.94 MB, free: 12 kB / 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.001829/0.001829, allocations: 200.8 kB / 25.24 MB, free: 3.539 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.463/1.463, allocations: 207.6 MB / 236 MB, free: 10.87 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.002016/0.002016, allocations: 66.72 kB / 348.5 MB, free: 9.715 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2712/0.2732, allocations: 49.16 MB / 397.6 MB, free: 9.762 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.005973/0.2792, allocations: 5.256 MB / 402.9 MB, free: 6.023 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003395/0.2826, allocations: 1.737 MB / 404.6 MB, free: 4.789 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004187/0.283, allocations: 16.66 kB / 404.6 MB, free: 4.789 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002987/0.286, allocations: 1.421 MB / 406.1 MB, free: 3.934 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009475/0.2869, allocations: 317.9 kB / 406.4 MB, free: 3.715 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001376/0.2883, allocations: 0.6588 MB / 407 MB, free: 3.309 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001143/0.2895, allocations: 0.8138 MB / 407.8 MB, free: 2.891 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001028/0.2905, allocations: 0.676 MB / 408.5 MB, free: 2.488 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005735/0.2911, allocations: 362.2 kB / 408.9 MB, free: 2.312 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000553/0.2916, allocations: 466.5 kB / 409.3 MB, free: 2.082 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000114/0.2917, allocations: 78.19 kB / 409.4 MB, free: 2.078 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007266/0.2925, allocations: 257.2 kB / 409.6 MB, free: 2.016 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001231/0.2926, allocations: 178.3 kB / 409.8 MB, free: 1.891 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003507/0.2929, allocations: 426.2 kB / 410.2 MB, free: 1.625 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001701/0.2946, allocations: 1.189 MB / 411.4 MB, free: 1.098 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/0.2946, allocations: 0 / 411.4 MB, free: 1.098 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.2946, allocations: 0 / 411.4 MB, free: 1.098 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.291e-05/0.2947, allocations: 0 / 411.4 MB, free: 1.098 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.003925/0.2986, allocations: 1.389 MB / 412.8 MB, free: 140 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.2986, allocations: 12.89 kB / 412.8 MB, free: 136 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001619/0.3003, allocations: 261.6 kB / 413.1 MB, free: 4 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003732/0.3006, allocations: 201.8 kB / 413.3 MB, free: 15.8 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.74e-05/0.3007, allocations: 77.19 kB / 413.4 MB, free: 15.77 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001926/0.3009, allocations: 100.5 kB / 413.5 MB, free: 15.73 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001734/0.3027, allocations: 0.9393 MB / 414.4 MB, free: 15.17 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.766e-05/0.3027, allocations: 2.188 kB / 414.4 MB, free: 15.17 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.416e-05/0.3028, allocations: 39.41 kB / 414.4 MB, free: 15.14 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.826e-05/0.3028, allocations: 24.69 kB / 414.5 MB, free: 15.14 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001481/0.3043, allocations: 0.7774 MB / 415.2 MB, free: 14.78 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006086/0.3104, allocations: 3.059 MB / 418.3 MB, free: 12.42 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002062/0.3124, allocations: 0.8762 MB / 419.2 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000578/0.313, allocations: 327.6 kB / 419.5 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001021/0.3131, allocations: 20.08 kB / 419.5 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.249e-05/0.3132, allocations: 51.38 kB / 419.6 MB, free: 11.73 MB / 334.1 MB Notification: Performance of pre-optimization done (n=87): time 3.326e-06/0.3132, allocations: 0 / 419.6 MB, free: 11.73 MB / 334.1 MB Notification: Performance of matching and sorting (n=87): time 0.002273/0.3154, allocations: 1.004 MB / 420.6 MB, free: 11.21 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.652e-05/0.3155, allocations: 86.64 kB / 420.6 MB, free: 11.11 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005476/0.3161, allocations: 372.3 kB / 421 MB, free: 10.88 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.573e-05/0.3161, allocations: 36.36 kB / 421 MB, free: 10.84 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003364/0.3165, allocations: 395.6 kB / 421.4 MB, free: 10.48 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002934/0.3168, allocations: 314.2 kB / 421.7 MB, free: 10.21 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002848/0.317, allocations: 173.3 kB / 421.9 MB, free: 10.1 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002243/0.3173, allocations: 362.3 kB / 422.3 MB, free: 9.75 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004997/0.3178, allocations: 264 kB / 422.5 MB, free: 9.625 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006966/0.3185, allocations: 474 kB / 423 MB, free: 9.25 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001222/0.3197, allocations: 0.7713 MB / 423.8 MB, free: 8.715 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.436e-06/0.3197, allocations: 2.062 kB / 423.8 MB, free: 8.715 MB / 334.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001902/0.3216, allocations: 0.9741 MB / 424.7 MB, free: 7.938 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.783e-05/0.3216, allocations: 8 kB / 424.7 MB, free: 7.93 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.387e-05/0.3216, allocations: 4 kB / 424.7 MB, free: 7.926 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004487/0.3221, allocations: 131.3 kB / 424.9 MB, free: 7.785 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008307/0.3229, allocations: 203.7 kB / 425.1 MB, free: 7.586 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005506/0.3284, allocations: 5.712 MB / 430.8 MB, free: 1.414 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008616/0.3293, allocations: 107.2 kB / 430.9 MB, free: 1.309 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.865e-05/0.3294, allocations: 39.98 kB / 430.9 MB, free: 1.27 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.0004244/0.3298, allocations: 233.5 kB / 431.2 MB, free: 1.031 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001316/0.3299, allocations: 55.62 kB / 431.2 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001546/0.3315, allocations: 0.8483 MB / 432.1 MB, free: 112 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.066e-05/0.3315, allocations: 8 kB / 432.1 MB, free: 104 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.3315, allocations: 4 kB / 432.1 MB, free: 100 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.29e-05/0.3315, allocations: 7.922 kB / 432.1 MB, free: 92 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003224/0.3347, allocations: 1.744 MB / 433.8 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/0.3347, allocations: 0 / 433.8 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005886/0.3353, allocations: 135.8 kB / 434 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003172/0.3356, allocations: 119.6 kB / 434.1 MB, free: 13.99 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.517e-05/0.3357, allocations: 16 kB / 434.1 MB, free: 13.97 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004456/0.3401, allocations: 5.288 MB / 439.4 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/0.3401, allocations: 11.88 kB / 439.4 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002083/0.3422, allocations: 1.277 MB / 440.7 MB, free: 6.891 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002056/0.3424, allocations: 71.56 kB / 440.7 MB, free: 6.82 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.964e-05/0.3425, allocations: 23.94 kB / 440.8 MB, free: 6.797 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003854/0.3429, allocations: 20 kB / 440.8 MB, free: 6.777 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001188/0.343, allocations: 60.55 kB / 440.8 MB, free: 6.719 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.362e-05/0.3431, allocations: 31.92 kB / 440.9 MB, free: 6.688 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003274/0.3434, allocations: 251.2 kB / 441.1 MB, free: 6.438 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3434, allocations: 4 kB / 441.1 MB, free: 6.434 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001067/0.3445, allocations: 263.5 kB / 441.4 MB, free: 6.176 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.0003066/0.3448, allocations: 151 kB / 441.5 MB, free: 6.016 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00192/0.3467, allocations: 1.133 MB / 442.7 MB, free: 4.836 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.3467, allocations: 0 / 442.7 MB, free: 4.836 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009562/0.3476, allocations: 0.7616 MB / 443.4 MB, free: 4.02 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006001/0.3482, allocations: 65.66 kB / 443.5 MB, free: 3.957 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002905/0.3511, allocations: 1.448 MB / 444.9 MB, free: 2.441 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000638/0.3518, allocations: 0.9071 MB / 445.8 MB, free: 1.508 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002583/0.352, allocations: 63.42 kB / 445.9 MB, free: 1.445 MB / 350.1 MB Notification: Performance of SimCode: time 8.82e-07/0.352, allocations: 0 / 445.9 MB, free: 1.445 MB / 350.1 MB Notification: Performance of Templates: time 0.02707/0.3791, allocations: 21.07 MB / 467 MB, free: 12.34 MB / 382.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/jenkins1/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/jenkins1/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: 8.651453805854544]