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.001138/0.001138, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001824/0.002962, allocations: 449.7 kB / 10.37 MB, free: 332 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.001021/0.001021, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001379/0.002399, allocations: 459.6 kB / 11.69 MB, free: 2.48 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.8857/0.8857, allocations: 173.4 MB / 185.8 MB, free: 8.984 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07343/0.9591, allocations: 52.49 MB / 238.3 MB, free: 4.434 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.643e-06/1.643e-06, allocations: 0 / 239.5 MB, free: 3.195 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.709e-05/1.874e-05, allocations: 6.875 kB / 239.5 MB, free: 3.188 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.003153/0.003171, allocations: 2.872 MB / 242.4 MB, free: 312 kB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001465/0.004636, allocations: 1.16 MB / 243.6 MB, free: 15.14 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001264/0.004762, allocations: 12 kB / 243.6 MB, free: 15.13 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001109/0.005872, allocations: 0.6453 MB / 244.2 MB, free: 14.48 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000285/0.006157, allocations: 139 kB / 244.4 MB, free: 14.34 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001099/0.007256, allocations: 0.6455 MB / 245 MB, free: 13.7 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003816/0.007637, allocations: 314.4 kB / 245.3 MB, free: 13.39 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003512/0.007989, allocations: 245.7 kB / 245.6 MB, free: 13.14 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002275/0.008216, allocations: 199.5 kB / 245.7 MB, free: 12.95 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002121/0.008428, allocations: 131.7 kB / 245.9 MB, free: 12.82 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.373e-05/0.008472, allocations: 27.94 kB / 245.9 MB, free: 12.79 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000362/0.008834, allocations: 175.7 kB / 246.1 MB, free: 12.62 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.651e-05/0.00888, allocations: 47.81 kB / 246.1 MB, free: 12.57 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 9.847e-05/0.008979, allocations: 83.81 kB / 246.2 MB, free: 12.49 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000465/0.009444, allocations: 350.8 kB / 246.5 MB, free: 12.15 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.588e-05/0.00946, allocations: 4 kB / 246.6 MB, free: 12.14 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.32e-07/0.009461, allocations: 0 / 246.6 MB, free: 12.14 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.456e-05/0.009485, allocations: 0 / 246.6 MB, free: 12.14 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.001502/0.01099, allocations: 0.8011 MB / 247.4 MB, free: 11.3 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/0.01102, allocations: 12.03 kB / 247.4 MB, free: 11.29 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000603/0.01162, allocations: 176.7 kB / 247.5 MB, free: 11.12 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001946/0.01182, allocations: 169.3 kB / 247.7 MB, free: 10.93 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.817e-05/0.01184, allocations: 29.03 kB / 247.7 MB, free: 10.9 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.398e-05/0.01187, allocations: 32.38 kB / 247.8 MB, free: 10.87 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003136/0.01218, allocations: 237.5 kB / 248 MB, free: 10.62 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.717e-05/0.0122, allocations: 192 / 248 MB, free: 10.62 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.491e-05/0.01223, allocations: 19.94 kB / 248 MB, free: 10.6 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.06e-05/0.01224, allocations: 8 kB / 248 MB, free: 10.59 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001581/0.01239, allocations: 92.53 kB / 248.1 MB, free: 10.51 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001205/0.0136, allocations: 0.8335 MB / 248.9 MB, free: 9.629 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003072/0.01391, allocations: 189.3 kB / 249.1 MB, free: 9.438 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.387e-05/0.01397, allocations: 45.25 kB / 249.2 MB, free: 9.391 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.442e-05/0.01404, allocations: 19.84 kB / 249.2 MB, free: 9.371 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.561e-05/0.01407, allocations: 42.5 kB / 249.2 MB, free: 9.32 MB / 250.7 MB Notification: Performance of pre-optimization done (n=24): time 1.392e-06/0.01407, allocations: 0 / 249.2 MB, free: 9.32 MB / 250.7 MB Notification: Performance of matching and sorting (n=24): time 0.0006544/0.01473, allocations: 281.4 kB / 249.5 MB, free: 9.039 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.814e-05/0.01475, allocations: 59.34 kB / 249.6 MB, free: 8.969 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/0.01486, allocations: 166.4 kB / 249.7 MB, free: 8.793 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.531e-05/0.01488, allocations: 29.7 kB / 249.8 MB, free: 8.758 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.099e-05/0.01496, allocations: 176.3 kB / 249.9 MB, free: 8.578 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.319e-05/0.01501, allocations: 83.27 kB / 250 MB, free: 8.496 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.199e-05/0.01508, allocations: 61.91 kB / 250.1 MB, free: 8.426 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.82e-05/0.01517, allocations: 330.8 kB / 250.4 MB, free: 8.094 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.346e-05/0.01521, allocations: 32.48 kB / 250.4 MB, free: 8.062 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.985e-05/0.01529, allocations: 88.12 kB / 250.5 MB, free: 7.949 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001498/0.01544, allocations: 144.1 kB / 250.7 MB, free: 7.785 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.01545, allocations: 4 kB / 250.7 MB, free: 7.781 MB / 250.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0002954/0.01574, allocations: 212.4 kB / 250.9 MB, free: 7.566 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.01575, allocations: 4 kB / 250.9 MB, free: 7.562 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.01576, allocations: 7.938 kB / 250.9 MB, free: 7.555 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002309/0.01599, allocations: 61.03 kB / 250.9 MB, free: 7.492 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000127/0.01612, allocations: 51.86 kB / 251 MB, free: 7.441 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001207/0.01733, allocations: 1.598 MB / 252.6 MB, free: 5.758 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.332e-05/0.01741, allocations: 23.78 kB / 252.6 MB, free: 5.734 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.63e-05/0.01743, allocations: 12 kB / 252.6 MB, free: 5.723 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 8.732e-05/0.01751, allocations: 125.7 kB / 252.7 MB, free: 5.59 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.922e-05/0.01755, allocations: 19.98 kB / 252.8 MB, free: 5.57 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002804/0.01783, allocations: 182 kB / 252.9 MB, free: 5.383 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.01784, allocations: 0 / 252.9 MB, free: 5.383 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.01784, allocations: 4 kB / 252.9 MB, free: 5.379 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.01784, allocations: 0 / 252.9 MB, free: 5.379 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005434/0.01839, allocations: 411.3 kB / 253.3 MB, free: 4.945 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.746e-06/0.01839, allocations: 4 kB / 253.3 MB, free: 4.941 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.519e-05/0.01846, allocations: 35.92 kB / 253.4 MB, free: 4.906 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.899e-05/0.0185, allocations: 23.84 kB / 253.4 MB, free: 4.883 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001354/0.01864, allocations: 56.8 kB / 253.5 MB, free: 4.824 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.398e-06/0.01865, allocations: 12 kB / 253.5 MB, free: 4.812 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008263/0.01947, allocations: 1.579 MB / 255.1 MB, free: 3.148 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.01948, allocations: 0 / 255.1 MB, free: 3.148 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002225/0.0197, allocations: 303.6 kB / 255.4 MB, free: 2.836 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.448e-05/0.01971, allocations: 4 kB / 255.4 MB, free: 2.832 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.101e-05/0.01976, allocations: 8 kB / 255.4 MB, free: 2.824 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.303e-05/0.01979, allocations: 19.95 kB / 255.4 MB, free: 2.805 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.024e-06/0.01979, allocations: 4 kB / 255.4 MB, free: 2.801 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.499e-05/0.01982, allocations: 28.83 kB / 255.4 MB, free: 2.77 MB / 250.7 MB Notification: Performance of sort global known variables: time 3e-08/0.01982, allocations: 4 kB / 255.4 MB, free: 2.766 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002449/0.02006, allocations: 99.77 kB / 255.5 MB, free: 2.668 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.0001354/0.0202, allocations: 114.8 kB / 255.6 MB, free: 2.547 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002719/0.02047, allocations: 287.5 kB / 255.9 MB, free: 2.254 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 7.785e-06/0.02048, allocations: 4 kB / 255.9 MB, free: 2.25 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001346/0.02061, allocations: 215.2 kB / 256.1 MB, free: 2.023 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001648/0.02078, allocations: 39.86 kB / 256.2 MB, free: 1.984 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002797/0.02357, allocations: 0.5207 MB / 256.7 MB, free: 1.438 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.148e-05/0.02363, allocations: 100.2 kB / 256.8 MB, free: 1.32 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.816e-05/0.02368, allocations: 25.95 kB / 256.8 MB, free: 1.297 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.495e-05/0.02374, allocations: 63.38 kB / 256.9 MB, free: 1.234 MB / 250.7 MB Notification: Performance of SimCode: time 8.62e-07/0.02374, allocations: 0 / 256.9 MB, free: 1.234 MB / 250.7 MB Notification: Performance of Templates: time 0.004524/0.02826, allocations: 2.887 MB / 259.8 MB, free: 14.37 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.469447155483067]