Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.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.0007593/0.0007593, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001096/0.001855, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0007086/0.0007086, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001014/0.001723, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.092/1.092, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09894/1.191, allocations: 53.65 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.GeneralLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|leakageWithCoefficient.port_p.reference.gamma",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 244.7 MB, free: 14.25 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.029e-05/2.191e-05, allocations: 9.766 kB / 244.7 MB, free: 14.24 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.00421/0.004232, allocations: 2.9 MB / 247.6 MB, free: 11.31 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002228/0.00646, allocations: 1.214 MB / 248.8 MB, free: 10.09 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001822/0.006642, allocations: 11.94 kB / 248.8 MB, free: 10.08 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001239/0.007881, allocations: 0.6454 MB / 249.5 MB, free: 9.434 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003918/0.008273, allocations: 142.9 kB / 249.6 MB, free: 9.293 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001205/0.009478, allocations: 0.6285 MB / 250.2 MB, free: 8.664 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004542/0.009932, allocations: 306.5 kB / 250.5 MB, free: 8.363 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004368/0.01037, allocations: 237.8 kB / 250.8 MB, free: 8.133 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003782/0.01075, allocations: 207.5 kB / 251 MB, free: 7.93 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002644/0.01101, allocations: 131.7 kB / 251.1 MB, free: 7.801 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.36e-05/0.01106, allocations: 28 kB / 251.1 MB, free: 7.773 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004762/0.01154, allocations: 179.7 kB / 251.3 MB, free: 7.598 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.612e-05/0.0116, allocations: 47.81 kB / 251.4 MB, free: 7.551 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001051/0.0117, allocations: 87.81 kB / 251.4 MB, free: 7.465 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005618/0.01226, allocations: 354.8 kB / 251.8 MB, free: 7.117 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.487e-05/0.01228, allocations: 7.984 kB / 251.8 MB, free: 7.109 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.01228, allocations: 0 / 251.8 MB, free: 7.109 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.378e-05/0.01229, allocations: 0 / 251.8 MB, free: 7.109 MB / 250.7 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.00165/0.01394, allocations: 0.7933 MB / 252.6 MB, free: 6.273 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.01398, allocations: 11.98 kB / 252.6 MB, free: 6.262 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008718/0.01486, allocations: 188.6 kB / 252.8 MB, free: 6.078 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002796/0.01514, allocations: 161.4 kB / 252.9 MB, free: 5.895 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.602e-05/0.01516, allocations: 25.03 kB / 253 MB, free: 5.871 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.962e-05/0.01523, allocations: 32.38 kB / 253 MB, free: 5.84 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003452/0.01558, allocations: 241.5 kB / 253.2 MB, free: 5.59 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.753e-05/0.01559, allocations: 192 / 253.2 MB, free: 5.59 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.502e-05/0.01562, allocations: 15.94 kB / 253.2 MB, free: 5.574 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.122e-05/0.01563, allocations: 12 kB / 253.3 MB, free: 5.562 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001863/0.01582, allocations: 92.47 kB / 253.3 MB, free: 5.473 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00143/0.01725, allocations: 0.8451 MB / 254.2 MB, free: 4.578 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004196/0.01767, allocations: 186.3 kB / 254.4 MB, free: 4.387 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.35e-05/0.01774, allocations: 48.83 kB / 254.4 MB, free: 4.336 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.619e-05/0.01783, allocations: 19.98 kB / 254.4 MB, free: 4.316 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.567e-05/0.01786, allocations: 38.56 kB / 254.5 MB, free: 4.27 MB / 250.7 MB Notification: Performance of pre-optimization done (n=24): time 1.653e-06/0.01786, allocations: 0 / 254.5 MB, free: 4.27 MB / 250.7 MB Notification: Performance of matching and sorting (n=24): time 0.0007724/0.01863, allocations: 293.6 kB / 254.8 MB, free: 3.977 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.996e-05/0.01866, allocations: 59.34 kB / 254.8 MB, free: 3.906 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001114/0.01878, allocations: 149.7 kB / 255 MB, free: 3.75 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.075e-05/0.0188, allocations: 33.7 kB / 255 MB, free: 3.711 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.895e-05/0.01889, allocations: 180.2 kB / 255.2 MB, free: 3.527 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.203e-05/0.01895, allocations: 95.25 kB / 255.3 MB, free: 3.434 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.572e-05/0.01902, allocations: 49.97 kB / 255.3 MB, free: 3.375 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.798e-05/0.01912, allocations: 326.8 kB / 255.6 MB, free: 3.047 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.207e-05/0.01917, allocations: 28.55 kB / 255.7 MB, free: 3.02 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.506e-05/0.01927, allocations: 88.69 kB / 255.8 MB, free: 2.906 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001827/0.01945, allocations: 148.8 kB / 255.9 MB, free: 2.738 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.01945, allocations: 0 / 255.9 MB, free: 2.738 MB / 250.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004885/0.01994, allocations: 211.7 kB / 256.1 MB, free: 2.523 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.01996, allocations: 8 kB / 256.1 MB, free: 2.516 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.01997, allocations: 3.938 kB / 256.1 MB, free: 2.512 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002766/0.02025, allocations: 68.95 kB / 256.2 MB, free: 2.441 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001468/0.02039, allocations: 55.84 kB / 256.2 MB, free: 2.387 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001384/0.02178, allocations: 1.598 MB / 257.8 MB, free: 0.7031 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001138/0.02189, allocations: 23.84 kB / 257.9 MB, free: 0.6797 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.663e-05/0.02191, allocations: 8 kB / 257.9 MB, free: 0.6719 MB / 250.7 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.0001006/0.02201, allocations: 133.6 kB / 258 MB, free: 0.5312 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.011e-05/0.02205, allocations: 20.02 kB / 258 MB, free: 0.5117 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003436/0.02239, allocations: 175.5 kB / 258.2 MB, free: 344 kB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.0224, allocations: 4 kB / 258.2 MB, free: 340 kB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.0224, allocations: 0 / 258.2 MB, free: 340 kB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.0224, allocations: 4 kB / 258.2 MB, free: 336 kB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006373/0.02304, allocations: 407.3 kB / 258.6 MB, free: 15.9 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.02305, allocations: 3.984 kB / 258.6 MB, free: 15.89 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001184/0.02316, allocations: 31.98 kB / 258.6 MB, free: 15.86 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.455e-05/0.02322, allocations: 19.84 kB / 258.7 MB, free: 15.84 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002285/0.02345, allocations: 72.72 kB / 258.7 MB, free: 15.77 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/0.02346, allocations: 0 / 258.7 MB, free: 15.77 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001566/0.02503, allocations: 1.587 MB / 260.3 MB, free: 14.09 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.02503, allocations: 0 / 260.3 MB, free: 14.09 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003883/0.02542, allocations: 295 kB / 260.6 MB, free: 13.79 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.597e-05/0.02544, allocations: 7.984 kB / 260.6 MB, free: 13.78 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.846e-05/0.02554, allocations: 8 kB / 260.6 MB, free: 13.77 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.939e-05/0.02558, allocations: 19.97 kB / 260.6 MB, free: 13.75 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.607e-06/0.02559, allocations: 0 / 260.6 MB, free: 13.75 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.848e-05/0.02564, allocations: 47.59 kB / 260.7 MB, free: 13.7 MB / 266.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.02564, allocations: 64 / 260.7 MB, free: 13.7 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004601/0.0261, allocations: 99.78 kB / 260.8 MB, free: 13.61 MB / 266.7 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.000216/0.02631, allocations: 108.3 kB / 260.9 MB, free: 13.49 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004366/0.02675, allocations: 288.9 kB / 261.2 MB, free: 13.2 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.073e-05/0.02676, allocations: 0 / 261.2 MB, free: 13.2 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002853/0.02705, allocations: 230.1 kB / 261.4 MB, free: 12.96 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003151/0.02736, allocations: 133.7 kB / 261.5 MB, free: 12.81 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004362/0.03172, allocations: 0.505 MB / 262 MB, free: 12.28 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.291e-05/0.03179, allocations: 96.25 kB / 262.1 MB, free: 12.16 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.894e-05/0.03185, allocations: 17.95 kB / 262.1 MB, free: 12.14 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.523e-05/0.0319, allocations: 63.36 kB / 262.2 MB, free: 12.08 MB / 266.7 MB Notification: Performance of SimCode: time 7.71e-07/0.0319, allocations: 4 kB / 262.2 MB, free: 12.08 MB / 266.7 MB Notification: Performance of Templates: time 0.005604/0.03751, allocations: 2.934 MB / 265.1 MB, free: 9.18 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/GeneralLeakage/GeneralLeakage.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.638286787085235]