Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001813/0.001813, allocations: 108.6 kB / 21.18 MB, free: 0.7539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00229/0.00229, allocations: 193.1 kB / 24.47 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.534/1.534, allocations: 225.6 MB / 253.3 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001601/0.001601, allocations: 47.92 kB / 371.7 MB, free: 9.332 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2317/0.2333, allocations: 52.18 MB / 423.9 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.006805/0.2401, allocations: 5.3 MB / 429.2 MB, free: 9.352 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003075/0.2432, allocations: 1.697 MB / 430.9 MB, free: 7.645 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002817/0.2435, allocations: 16 kB / 430.9 MB, free: 7.629 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003148/0.2466, allocations: 1.423 MB / 432.3 MB, free: 6.203 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008531/0.2475, allocations: 317.6 kB / 432.6 MB, free: 5.891 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001744/0.2492, allocations: 0.8251 MB / 433.5 MB, free: 5.066 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001065/0.2503, allocations: 0.8167 MB / 434.3 MB, free: 4.246 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001092/0.2514, allocations: 0.6751 MB / 434.9 MB, free: 3.559 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004512/0.2518, allocations: 362.7 kB / 435.3 MB, free: 3.203 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006015/0.2524, allocations: 474.1 kB / 435.8 MB, free: 2.738 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.944e-05/0.2525, allocations: 72 kB / 435.8 MB, free: 2.668 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005632/0.2531, allocations: 255.8 kB / 436.1 MB, free: 2.418 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001531/0.2532, allocations: 179.3 kB / 436.3 MB, free: 2.242 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000402/0.2536, allocations: 429.9 kB / 436.7 MB, free: 1.82 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001429/0.2551, allocations: 1.196 MB / 437.9 MB, free: 0.625 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.2551, allocations: 3.938 kB / 437.9 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2551, allocations: 0 / 437.9 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.577e-05/0.2551, allocations: 0 / 437.9 MB, free: 0.6211 MB / 334.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.003896/0.259, allocations: 1.386 MB / 439.3 MB, free: 15.2 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.259, allocations: 11.97 kB / 439.3 MB, free: 15.19 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001628/0.2606, allocations: 260.2 kB / 439.5 MB, free: 14.94 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002367/0.2609, allocations: 209.4 kB / 439.7 MB, free: 14.71 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.844e-05/0.261, allocations: 70.38 kB / 439.8 MB, free: 14.64 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001792/0.2611, allocations: 100.3 kB / 439.9 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001581/0.2627, allocations: 0.9425 MB / 440.8 MB, free: 13.59 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.064e-05/0.2627, allocations: 0 / 440.8 MB, free: 13.59 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.001e-05/0.2628, allocations: 43.94 kB / 440.9 MB, free: 13.54 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.687e-05/0.2629, allocations: 24 kB / 440.9 MB, free: 13.52 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001377/0.2642, allocations: 0.777 MB / 441.7 MB, free: 12.74 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005192/0.2694, allocations: 3.049 MB / 444.7 MB, free: 9.57 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001895/0.2713, allocations: 0.8771 MB / 445.6 MB, free: 8.68 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005249/0.2718, allocations: 321.1 kB / 445.9 MB, free: 8.363 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.333e-05/0.2719, allocations: 24.98 kB / 446 MB, free: 8.336 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.58e-05/0.272, allocations: 47.5 kB / 446 MB, free: 8.281 MB / 350.1 MB Notification: Performance of pre-optimization done (n=87): time 3.216e-06/0.272, allocations: 0 / 446 MB, free: 8.281 MB / 350.1 MB Notification: Performance of matching and sorting (n=87): time 0.00216/0.2741, allocations: 1.004 MB / 447 MB, free: 7.266 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.884e-05/0.2742, allocations: 90.11 kB / 447.1 MB, free: 7.156 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004502/0.2746, allocations: 368.4 kB / 447.4 MB, free: 6.793 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.451e-05/0.2747, allocations: 37.7 kB / 447.5 MB, free: 6.75 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002653/0.275, allocations: 388.3 kB / 447.9 MB, free: 6.363 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002457/0.2752, allocations: 313.3 kB / 448.2 MB, free: 6.055 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002568/0.2755, allocations: 178.9 kB / 448.3 MB, free: 5.875 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001781/0.2756, allocations: 358.8 kB / 448.7 MB, free: 5.516 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004671/0.2761, allocations: 266.5 kB / 449 MB, free: 5.254 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006394/0.2767, allocations: 479.4 kB / 449.4 MB, free: 4.711 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001153/0.2779, allocations: 0.7666 MB / 450.2 MB, free: 3.863 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.2779, allocations: 0 / 450.2 MB, free: 3.863 MB / 350.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.00168/0.2796, allocations: 0.9732 MB / 451.2 MB, free: 2.875 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/0.2796, allocations: 8 kB / 451.2 MB, free: 2.867 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.261e-05/0.2796, allocations: 8 kB / 451.2 MB, free: 2.859 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003968/0.28, allocations: 127.3 kB / 451.3 MB, free: 2.723 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007933/0.2808, allocations: 203.7 kB / 451.5 MB, free: 2.523 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004683/0.2855, allocations: 5.717 MB / 457.2 MB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006509/0.2861, allocations: 107.2 kB / 457.3 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.653e-05/0.2862, allocations: 40 kB / 457.4 MB, free: 12.2 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.000339/0.2865, allocations: 229.5 kB / 457.6 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001187/0.2867, allocations: 55.67 kB / 457.6 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0015/0.2882, allocations: 0.8404 MB / 458.5 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.967e-06/0.2882, allocations: 8 kB / 458.5 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/0.2882, allocations: 7.938 kB / 458.5 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.057e-05/0.2882, allocations: 7.922 kB / 458.5 MB, free: 11.03 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002902/0.2911, allocations: 1.759 MB / 460.3 MB, free: 9.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/0.2911, allocations: 7.938 kB / 460.3 MB, free: 9.172 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005716/0.2917, allocations: 131.8 kB / 460.4 MB, free: 9.043 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002931/0.292, allocations: 111.6 kB / 460.5 MB, free: 8.922 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.688e-05/0.292, allocations: 23.98 kB / 460.5 MB, free: 8.898 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004104/0.2961, allocations: 5.295 MB / 465.8 MB, free: 3.145 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.06e-05/0.2961, allocations: 15.86 kB / 465.8 MB, free: 3.129 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001885/0.298, allocations: 1.269 MB / 467.1 MB, free: 1.801 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000134/0.2981, allocations: 71.53 kB / 467.2 MB, free: 1.73 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.333e-05/0.2982, allocations: 19.94 kB / 467.2 MB, free: 1.711 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003809/0.2986, allocations: 20 kB / 467.2 MB, free: 1.691 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000107/0.2987, allocations: 64.47 kB / 467.3 MB, free: 1.629 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.703e-05/0.2987, allocations: 28 kB / 467.3 MB, free: 1.602 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000293/0.299, allocations: 251.2 kB / 467.6 MB, free: 1.359 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.299, allocations: 4 kB / 467.6 MB, free: 1.355 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00092/0.3, allocations: 263.5 kB / 467.8 MB, free: 1.098 MB / 366.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.0002695/0.3002, allocations: 164.4 kB / 468 MB, free: 0.9297 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001695/0.3019, allocations: 1.117 MB / 469.1 MB, free: 15.76 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.3019, allocations: 0 / 469.1 MB, free: 15.76 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009011/0.3028, allocations: 0.7659 MB / 469.9 MB, free: 14.95 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005637/0.3034, allocations: 68.22 kB / 469.9 MB, free: 14.88 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002684/0.3061, allocations: 1.454 MB / 471.4 MB, free: 13.36 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005662/0.3066, allocations: 0.9149 MB / 472.3 MB, free: 12.41 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002234/0.3069, allocations: 63.38 kB / 472.4 MB, free: 12.35 MB / 382.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3069, allocations: 0 / 472.4 MB, free: 12.35 MB / 382.1 MB Notification: Performance of Templates: time 0.0244/0.3313, allocations: 21.09 MB / 493.4 MB, free: 7.266 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/CylinderLeakage/CylinderLeakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 8.563368602888659]