Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.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.001179/0.001179, allocations: 77.36 kB / 10 MB, free: 0.6797 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00171/0.002889, allocations: 445.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.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.001114/0.001114, allocations: 148.9 kB / 11.34 MB, free: 2.832 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001053/0.002166, allocations: 475.6 kB / 11.8 MB, free: 2.363 MB / 13.93 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 0.9324/0.9324, allocations: 173.4 MB / 185.9 MB, free: 8.918 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07382/1.006, allocations: 52.5 MB / 238.4 MB, free: 4.363 MB / 234.7 MB " [Timeout remaining time 179] 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.GeneralLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|leakageWithCoefficient.port_p.reference.gamma",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 239.7 MB, free: 3.094 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.77e-05/1.908e-05, allocations: 5.688 kB / 239.7 MB, free: 3.09 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.006608/0.006627, allocations: 2.873 MB / 242.6 MB, free: 200 kB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001669/0.008297, allocations: 1.16 MB / 243.8 MB, free: 15.03 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001325/0.008429, allocations: 8 kB / 243.8 MB, free: 15.02 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004089/0.01252, allocations: 0.6492 MB / 244.4 MB, free: 14.37 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004384/0.01296, allocations: 135 kB / 244.5 MB, free: 14.24 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001046/0.014, allocations: 0.6455 MB / 245.2 MB, free: 13.59 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003973/0.0144, allocations: 314.3 kB / 245.5 MB, free: 13.28 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003672/0.01477, allocations: 257.7 kB / 245.7 MB, free: 13.03 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002466/0.01501, allocations: 199.5 kB / 245.9 MB, free: 12.83 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001769/0.01519, allocations: 127.7 kB / 246.1 MB, free: 12.71 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003054/0.01824, allocations: 24 kB / 246.1 MB, free: 12.68 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004294/0.01867, allocations: 183.7 kB / 246.3 MB, free: 12.5 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.362e-05/0.01872, allocations: 47.81 kB / 246.3 MB, free: 12.46 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.903e-05/0.01881, allocations: 83.81 kB / 246.4 MB, free: 12.38 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005168/0.01932, allocations: 346.8 kB / 246.7 MB, free: 12.04 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.346e-05/0.01934, allocations: 0 / 246.7 MB, free: 12.04 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.01934, allocations: 0 / 246.7 MB, free: 12.04 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.05e-05/0.01935, allocations: 4 kB / 246.7 MB, free: 12.03 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.00131/0.02066, allocations: 0.8011 MB / 247.5 MB, free: 11.19 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.274e-05/0.02069, allocations: 8.031 kB / 247.6 MB, free: 11.18 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003701/0.02439, allocations: 176.7 kB / 247.7 MB, free: 11.01 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002504/0.02464, allocations: 173.3 kB / 247.9 MB, free: 10.81 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.249e-05/0.02467, allocations: 21.03 kB / 247.9 MB, free: 10.79 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.733e-05/0.02471, allocations: 36.31 kB / 247.9 MB, free: 10.76 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002949/0.02501, allocations: 241.5 kB / 248.2 MB, free: 10.51 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.67e-05/0.02502, allocations: 4.188 kB / 248.2 MB, free: 10.5 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.273e-05/0.02505, allocations: 15.94 kB / 248.2 MB, free: 10.49 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.043e-05/0.02506, allocations: 8 kB / 248.2 MB, free: 10.48 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001448/0.0252, allocations: 88.53 kB / 248.3 MB, free: 10.39 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00116/0.02636, allocations: 0.8374 MB / 249.1 MB, free: 9.512 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002863/0.02665, allocations: 181.3 kB / 249.3 MB, free: 9.328 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.468e-05/0.02671, allocations: 53.22 kB / 249.4 MB, free: 9.273 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.054e-05/0.02679, allocations: 23.8 kB / 249.4 MB, free: 9.25 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.263e-05/0.02682, allocations: 30.56 kB / 249.4 MB, free: 9.211 MB / 250.7 MB Notification: Performance of pre-optimization done (n=24): time 1.794e-06/0.02682, allocations: 0 / 249.4 MB, free: 9.211 MB / 250.7 MB Notification: Performance of matching and sorting (n=24): time 0.003672/0.03049, allocations: 286.8 kB / 249.7 MB, free: 8.926 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.721e-05/0.03052, allocations: 59.34 kB / 249.8 MB, free: 8.855 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001994/0.03072, allocations: 162.4 kB / 249.9 MB, free: 8.684 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.636e-05/0.03073, allocations: 29.7 kB / 249.9 MB, free: 8.648 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.053e-05/0.03082, allocations: 184.3 kB / 250.1 MB, free: 8.461 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.041e-05/0.03088, allocations: 91.19 kB / 250.2 MB, free: 8.371 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.423e-05/0.03096, allocations: 57.92 kB / 250.3 MB, free: 8.305 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.03106, allocations: 330.7 kB / 250.6 MB, free: 7.973 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.072e-05/0.0311, allocations: 24.55 kB / 250.6 MB, free: 7.949 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.672e-05/0.03119, allocations: 100.9 kB / 250.7 MB, free: 7.824 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001482/0.03134, allocations: 140.8 kB / 250.9 MB, free: 7.664 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.03134, allocations: 4 kB / 250.9 MB, free: 7.66 MB / 250.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003045/0.03165, allocations: 211.7 kB / 251.1 MB, free: 7.445 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.03166, allocations: 4 kB / 251.1 MB, free: 7.441 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.03167, allocations: 4 kB / 251.1 MB, free: 7.438 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002346/0.03191, allocations: 69.02 kB / 251.1 MB, free: 7.367 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001295/0.03204, allocations: 47.86 kB / 251.2 MB, free: 7.32 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004313/0.03635, allocations: 1.595 MB / 252.8 MB, free: 5.641 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000111/0.03646, allocations: 27.78 kB / 252.8 MB, free: 5.613 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.545e-05/0.03648, allocations: 8 kB / 252.8 MB, free: 5.605 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.0001092/0.03658, allocations: 129.7 kB / 252.9 MB, free: 5.469 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.733e-05/0.03662, allocations: 19.98 kB / 253 MB, free: 5.449 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002901/0.03691, allocations: 178.2 kB / 253.1 MB, free: 5.266 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.03692, allocations: 4 kB / 253.1 MB, free: 5.262 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.03692, allocations: 4 kB / 253.1 MB, free: 5.258 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.03692, allocations: 3.984 kB / 253.1 MB, free: 5.254 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005623/0.03749, allocations: 411.3 kB / 253.5 MB, free: 4.82 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.03749, allocations: 3.938 kB / 253.6 MB, free: 4.816 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.318e-05/0.03757, allocations: 20 kB / 253.6 MB, free: 4.797 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.678e-05/0.03762, allocations: 27.83 kB / 253.6 MB, free: 4.77 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001758/0.03779, allocations: 64.81 kB / 253.7 MB, free: 4.703 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.03781, allocations: 3.984 kB / 253.7 MB, free: 4.699 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004144/0.04195, allocations: 1.583 MB / 255.2 MB, free: 3.031 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.04195, allocations: 0 / 255.2 MB, free: 3.031 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003426/0.04229, allocations: 299 kB / 255.5 MB, free: 2.723 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.225e-05/0.04232, allocations: 8.062 kB / 255.5 MB, free: 2.715 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.576e-05/0.0424, allocations: 8 kB / 255.6 MB, free: 2.707 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.37e-05/0.04244, allocations: 19.95 kB / 255.6 MB, free: 2.688 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.918e-06/0.04245, allocations: 7.938 kB / 255.6 MB, free: 2.68 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.859e-05/0.04248, allocations: 28.83 kB / 255.6 MB, free: 2.648 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.04248, allocations: 0 / 255.6 MB, free: 2.648 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0004299/0.04291, allocations: 99.78 kB / 255.7 MB, free: 2.551 MB / 250.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.0001886/0.0431, allocations: 108.3 kB / 255.8 MB, free: 2.434 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.00039/0.04349, allocations: 286.1 kB / 256.1 MB, free: 2.141 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.121e-05/0.0435, allocations: 4 kB / 256.1 MB, free: 2.137 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002263/0.04373, allocations: 238.3 kB / 256.3 MB, free: 1.891 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000284/0.04402, allocations: 125 kB / 256.5 MB, free: 1.75 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006716/0.05073, allocations: 0.5244 MB / 257 MB, free: 1.199 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.08e-05/0.05079, allocations: 96.2 kB / 257.1 MB, free: 1.086 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 7.155e-05/0.05086, allocations: 13.95 kB / 257.1 MB, free: 1.074 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.751e-05/0.05092, allocations: 63.38 kB / 257.1 MB, free: 1.012 MB / 250.7 MB Notification: Performance of SimCode: time 1.363e-06/0.05092, allocations: 4 kB / 257.2 MB, free: 1.008 MB / 250.7 MB Notification: Performance of Templates: time 0.004941/0.05586, allocations: 2.85 MB / 260 MB, free: 14.19 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.370701875537634]