Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.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.001822/0.001822, allocations: 109.1 kB / 21.18 MB, free: 0.7852 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.002302/0.002302, allocations: 218 kB / 24.5 MB, free: 4.172 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.442/1.442, allocations: 230.5 MB / 258.1 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.GeneralLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|leakageWithCoefficient.port_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|leakageWithCoefficient.port_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002088/0.002088, allocations: 59.91 kB / 379 MB, free: 2.504 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2574/0.2595, allocations: 53.41 MB / 432.4 MB, free: 6.762 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.005008/0.2645, allocations: 2.885 MB / 435.3 MB, free: 3.863 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002397/0.2669, allocations: 1.23 MB / 436.6 MB, free: 2.629 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002456/0.2671, allocations: 8 kB / 436.6 MB, free: 2.621 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001726/0.2689, allocations: 0.6185 MB / 437.2 MB, free: 2 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005139/0.2694, allocations: 143 kB / 437.3 MB, free: 1.859 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001546/0.2709, allocations: 0.661 MB / 438 MB, free: 1.199 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005913/0.2715, allocations: 294.6 kB / 438.3 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005458/0.2721, allocations: 242.8 kB / 438.5 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002965/0.2724, allocations: 139.5 kB / 438.6 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002984/0.2727, allocations: 167.3 kB / 438.8 MB, free: 384 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.875e-05/0.2727, allocations: 28 kB / 438.8 MB, free: 356 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004552/0.2732, allocations: 191.8 kB / 439 MB, free: 164 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.618e-05/0.2732, allocations: 63.7 kB / 439.1 MB, free: 100 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002314/0.2735, allocations: 143.4 kB / 439.2 MB, free: 15.95 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00081/0.2743, allocations: 0.4958 MB / 439.7 MB, free: 15.46 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.2743, allocations: 0 / 439.7 MB, free: 15.46 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2743, allocations: 0 / 439.7 MB, free: 15.46 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.057e-05/0.2743, allocations: 0 / 439.7 MB, free: 15.46 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001794/0.2761, allocations: 0.6573 MB / 440.4 MB, free: 14.77 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.2761, allocations: 8.031 kB / 440.4 MB, free: 14.76 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008211/0.2769, allocations: 116.7 kB / 440.5 MB, free: 14.65 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004499/0.2774, allocations: 214.7 kB / 440.7 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.871e-05/0.2774, allocations: 24.97 kB / 440.7 MB, free: 14.39 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.886e-05/0.2775, allocations: 32.38 kB / 440.8 MB, free: 14.36 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005955/0.2781, allocations: 337 kB / 441.1 MB, free: 14.02 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.788e-05/0.2781, allocations: 7.875 kB / 441.1 MB, free: 14.02 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.941e-05/0.2781, allocations: 12 kB / 441.1 MB, free: 14 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.235e-05/0.2782, allocations: 8 kB / 441.1 MB, free: 14 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000438/0.2786, allocations: 242.5 kB / 441.4 MB, free: 13.76 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002195/0.2808, allocations: 1.368 MB / 442.7 MB, free: 12.27 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005635/0.2814, allocations: 242.1 kB / 443 MB, free: 12.02 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001624/0.2815, allocations: 95.88 kB / 443.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000132/0.2817, allocations: 23.92 kB / 443.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.99e-05/0.2817, allocations: 34.56 kB / 443.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.583e-06/0.2817, allocations: 0 / 443.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.001267/0.2829, allocations: 418.2 kB / 443.5 MB, free: 11.45 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.959e-05/0.283, allocations: 55.41 kB / 443.6 MB, free: 11.38 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002144/0.2832, allocations: 175.3 kB / 443.8 MB, free: 11.19 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.868e-05/0.2832, allocations: 29.7 kB / 443.8 MB, free: 11.16 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001348/0.2834, allocations: 184.4 kB / 444 MB, free: 10.97 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.65e-05/0.2835, allocations: 87.22 kB / 444 MB, free: 10.89 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.198e-05/0.2835, allocations: 49.98 kB / 444.1 MB, free: 10.83 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001808/0.2837, allocations: 326.8 kB / 444.4 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001384/0.2839, allocations: 72.53 kB / 444.5 MB, free: 10.43 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001939/0.2841, allocations: 132.7 kB / 444.6 MB, free: 10.28 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003673/0.2844, allocations: 220.9 kB / 444.8 MB, free: 10.04 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.541e-06/0.2844, allocations: 4 kB / 444.8 MB, free: 10.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006674/0.2851, allocations: 331.8 kB / 445.2 MB, free: 9.707 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.2851, allocations: 8 kB / 445.2 MB, free: 9.699 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.2851, allocations: 0 / 445.2 MB, free: 9.699 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003454/0.2855, allocations: 68.81 kB / 445.2 MB, free: 9.629 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001719/0.2856, allocations: 47.92 kB / 445.3 MB, free: 9.582 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002361/0.288, allocations: 1.938 MB / 447.2 MB, free: 7.523 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001516/0.2882, allocations: 23.78 kB / 447.2 MB, free: 7.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.128e-05/0.2882, allocations: 12 kB / 447.3 MB, free: 7.488 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001773/0.2884, allocations: 153.7 kB / 447.4 MB, free: 7.328 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.07e-05/0.2884, allocations: 23.8 kB / 447.4 MB, free: 7.305 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006043/0.289, allocations: 281 kB / 447.7 MB, free: 7.023 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.289, allocations: 0 / 447.7 MB, free: 7.023 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.289, allocations: 4 kB / 447.7 MB, free: 7.02 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.289, allocations: 3.984 kB / 447.7 MB, free: 7.016 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001054/0.2901, allocations: 0.6623 MB / 448.4 MB, free: 6.297 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.2901, allocations: 0 / 448.4 MB, free: 6.297 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001196/0.2902, allocations: 20 kB / 448.4 MB, free: 6.277 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002455/0.2904, allocations: 80.73 kB / 448.5 MB, free: 6.195 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.48e-05/0.2905, allocations: 0 / 448.5 MB, free: 6.195 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002086/0.2926, allocations: 1.93 MB / 450.4 MB, free: 4.152 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.2926, allocations: 4.031 kB / 450.4 MB, free: 4.148 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006956/0.2932, allocations: 452.4 kB / 450.8 MB, free: 3.688 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.048e-05/0.2933, allocations: 35.86 kB / 450.9 MB, free: 3.652 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.674e-05/0.2934, allocations: 4 kB / 450.9 MB, free: 3.648 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001144/0.2935, allocations: 4 kB / 450.9 MB, free: 3.645 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.259e-05/0.2935, allocations: 27.89 kB / 450.9 MB, free: 3.617 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.272e-05/0.2935, allocations: 4 kB / 450.9 MB, free: 3.613 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000109/0.2936, allocations: 123.2 kB / 451 MB, free: 3.492 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2936, allocations: 4 kB / 451 MB, free: 3.488 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005087/0.2941, allocations: 95.78 kB / 451.1 MB, free: 3.395 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002247/0.2944, allocations: 127.3 kB / 451.3 MB, free: 3.262 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006494/0.295, allocations: 346.4 kB / 451.6 MB, free: 2.91 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.295, allocations: 0 / 451.6 MB, free: 2.91 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003546/0.2954, allocations: 238.5 kB / 451.8 MB, free: 2.664 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00032/0.2957, allocations: 19.08 kB / 451.8 MB, free: 2.648 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001198/0.2969, allocations: 0.607 MB / 452.5 MB, free: 2.012 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004205/0.2973, allocations: 0.756 MB / 453.2 MB, free: 1.23 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.527e-05/0.2974, allocations: 23.44 kB / 453.2 MB, free: 1.207 MB / 350.1 MB Notification: Performance of SimCode: time 4e-07/0.2974, allocations: 0 / 453.2 MB, free: 1.207 MB / 350.1 MB Notification: Performance of Templates: time 0.0075/0.3049, allocations: 4.118 MB / 457.4 MB, free: 13.08 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/GeneralLeakage/GeneralLeakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.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: 7.557181684067473]