Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001807/0.001807, allocations: 109 kB / 21.23 MB, free: 0.6719 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002215/0.002215, allocations: 209.2 kB / 24.53 MB, free: 4.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.463/1.463, allocations: 230.6 MB / 258.3 MB, free: 8.059 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002016/0.002016, allocations: 68.77 kB / 379.1 MB, free: 2.652 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2266/0.2286, allocations: 53.37 MB / 432.4 MB, free: 6.949 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.007098/0.2357, allocations: 5.301 MB / 437.7 MB, free: 1.629 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003325/0.239, allocations: 1.759 MB / 439.5 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003691/0.2394, allocations: 20 kB / 439.5 MB, free: 15.84 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003303/0.2427, allocations: 1.426 MB / 440.9 MB, free: 14.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001013/0.2437, allocations: 325.6 kB / 441.2 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001718/0.2454, allocations: 0.6416 MB / 441.9 MB, free: 13.45 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001315/0.2467, allocations: 0.8091 MB / 442.7 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001156/0.2479, allocations: 0.6751 MB / 443.4 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005157/0.2484, allocations: 362.7 kB / 443.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005877/0.249, allocations: 466.1 kB / 444.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000104/0.2491, allocations: 76 kB / 444.3 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006733/0.2498, allocations: 259.8 kB / 444.5 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001637/0.2499, allocations: 179.4 kB / 444.7 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004224/0.2504, allocations: 429.8 kB / 445.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001478/0.2518, allocations: 1.2 MB / 446.3 MB, free: 9.012 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.2519, allocations: 0 / 446.3 MB, free: 9.012 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2519, allocations: 0 / 446.3 MB, free: 9.012 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.251e-05/0.2519, allocations: 3.938 kB / 446.3 MB, free: 9.008 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.004125/0.256, allocations: 1.394 MB / 447.7 MB, free: 7.582 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.256, allocations: 12.03 kB / 447.7 MB, free: 7.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001692/0.2577, allocations: 244.2 kB / 448 MB, free: 7.332 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002638/0.258, allocations: 209.4 kB / 448.2 MB, free: 7.102 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.898e-05/0.2581, allocations: 74.38 kB / 448.2 MB, free: 7.027 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001602/0.2582, allocations: 96.38 kB / 448.3 MB, free: 6.934 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001681/0.2599, allocations: 0.9464 MB / 449.3 MB, free: 5.977 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.322e-05/0.2599, allocations: 3.953 kB / 449.3 MB, free: 5.973 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.435e-05/0.26, allocations: 40 kB / 449.3 MB, free: 5.934 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.359e-05/0.26, allocations: 28 kB / 449.3 MB, free: 5.906 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001461/0.2615, allocations: 0.7886 MB / 450.1 MB, free: 5.113 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005529/0.267, allocations: 3.08 MB / 453.2 MB, free: 1.91 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001915/0.269, allocations: 0.882 MB / 454.1 MB, free: 1.02 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005603/0.2695, allocations: 325.1 kB / 454.4 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001249/0.2696, allocations: 44.94 kB / 454.5 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.697e-05/0.2697, allocations: 43.56 kB / 454.5 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of pre-optimization done (n=87): time 2.986e-06/0.2697, allocations: 0 / 454.5 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of matching and sorting (n=87): time 0.002363/0.272, allocations: 1.003 MB / 455.5 MB, free: 15.58 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.974e-05/0.2721, allocations: 86.11 kB / 455.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004773/0.2726, allocations: 376.3 kB / 455.9 MB, free: 15.1 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.077e-05/0.2726, allocations: 41.7 kB / 456 MB, free: 15.05 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002828/0.2729, allocations: 392.2 kB / 456.4 MB, free: 14.66 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002682/0.2732, allocations: 313.3 kB / 456.7 MB, free: 14.36 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002619/0.2735, allocations: 174.9 kB / 456.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001814/0.2736, allocations: 358.8 kB / 457.2 MB, free: 13.82 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000491/0.2741, allocations: 266.5 kB / 457.5 MB, free: 13.56 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007011/0.2748, allocations: 479.4 kB / 457.9 MB, free: 13.02 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001232/0.2761, allocations: 0.7784 MB / 458.7 MB, free: 12.16 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.2761, allocations: 4 kB / 458.7 MB, free: 12.16 MB / 366.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001902/0.278, allocations: 0.9845 MB / 459.7 MB, free: 11.15 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/0.278, allocations: 10.81 kB / 459.7 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/0.278, allocations: 4 kB / 459.7 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004391/0.2784, allocations: 127.7 kB / 459.8 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008085/0.2792, allocations: 203.7 kB / 460 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004847/0.2841, allocations: 5.712 MB / 465.7 MB, free: 4.633 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005927/0.2847, allocations: 99.25 kB / 465.8 MB, free: 4.535 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.858e-05/0.2848, allocations: 43.98 kB / 465.9 MB, free: 4.492 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.0003577/0.2851, allocations: 237.5 kB / 466.1 MB, free: 4.25 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001233/0.2852, allocations: 51.67 kB / 466.2 MB, free: 4.199 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001622/0.2869, allocations: 0.852 MB / 467 MB, free: 3.324 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.115e-05/0.2869, allocations: 11.94 kB / 467 MB, free: 3.312 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.207e-06/0.2869, allocations: 0 / 467 MB, free: 3.312 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.265e-05/0.2869, allocations: 11.92 kB / 467 MB, free: 3.301 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003034/0.2899, allocations: 1.771 MB / 468.8 MB, free: 1.445 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/0.2899, allocations: 0 / 468.8 MB, free: 1.445 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000645/0.2906, allocations: 139.8 kB / 468.9 MB, free: 1.309 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003019/0.2909, allocations: 111.6 kB / 469.1 MB, free: 1.188 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.747e-05/0.2909, allocations: 23.98 kB / 469.1 MB, free: 1.164 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004254/0.2952, allocations: 5.297 MB / 474.4 MB, free: 11.41 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.031e-06/0.2952, allocations: 7.938 kB / 474.4 MB, free: 11.4 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001975/0.2972, allocations: 1.277 MB / 475.7 MB, free: 10.07 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001176/0.2973, allocations: 71.44 kB / 475.7 MB, free: 10 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.887e-05/0.2974, allocations: 31.95 kB / 475.8 MB, free: 9.969 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003827/0.2977, allocations: 19.98 kB / 475.8 MB, free: 9.949 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001035/0.2978, allocations: 60.55 kB / 475.8 MB, free: 9.891 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.935e-05/0.2979, allocations: 31.98 kB / 475.9 MB, free: 9.859 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002995/0.2982, allocations: 251.2 kB / 476.1 MB, free: 9.613 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2982, allocations: 0 / 476.1 MB, free: 9.613 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009648/0.2992, allocations: 259.6 kB / 476.4 MB, free: 9.359 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.0002718/0.2994, allocations: 168.5 kB / 476.5 MB, free: 9.184 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001768/0.3012, allocations: 1.133 MB / 477.7 MB, free: 8 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.3012, allocations: 0 / 477.7 MB, free: 8 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009838/0.3022, allocations: 0.7616 MB / 478.4 MB, free: 7.191 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005619/0.3027, allocations: 65.38 kB / 478.5 MB, free: 7.125 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002584/0.3053, allocations: 1.386 MB / 479.9 MB, free: 5.68 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005931/0.3059, allocations: 0.9109 MB / 480.8 MB, free: 4.738 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004457/0.3064, allocations: 109.1 kB / 480.9 MB, free: 4.633 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001625/0.3065, allocations: 55.42 kB / 481 MB, free: 4.578 MB / 382.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3065, allocations: 4 kB / 481 MB, free: 4.574 MB / 382.1 MB Notification: Performance of Templates: time 0.01629/0.3228, allocations: 7.981 MB / 488.9 MB, free: 12.63 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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-beta.om_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.927695224061608]