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.0009277/0.0009277, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001312/0.002239, allocations: 449.7 kB / 10.37 MB, free: 328 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.0007415/0.0007415, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008811/0.001623, allocations: 455.6 kB / 11.71 MB, free: 2.461 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 0.982/0.982, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1315/1.114, allocations: 53.65 MB / 243.3 MB, free: 15.58 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.313e-06/1.313e-06, allocations: 0 / 244.5 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.625e-05/1.756e-05, allocations: 6.25 kB / 244.5 MB, free: 14.33 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.002821/0.002839, allocations: 2.896 MB / 247.4 MB, free: 11.41 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001771/0.004609, allocations: 1.21 MB / 248.6 MB, free: 10.2 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001242/0.004733, allocations: 8 kB / 248.6 MB, free: 10.19 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007862/0.00552, allocations: 0.6532 MB / 249.3 MB, free: 9.535 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002594/0.005779, allocations: 142.9 kB / 249.4 MB, free: 9.395 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00071/0.006489, allocations: 0.6106 MB / 250 MB, free: 8.781 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003184/0.006807, allocations: 314.4 kB / 250.3 MB, free: 8.473 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002908/0.007098, allocations: 241.8 kB / 250.6 MB, free: 8.238 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002171/0.007315, allocations: 207.5 kB / 250.8 MB, free: 8.035 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001349/0.00745, allocations: 131.7 kB / 250.9 MB, free: 7.906 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.78e-05/0.007478, allocations: 24 kB / 250.9 MB, free: 7.883 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003074/0.007786, allocations: 187.6 kB / 251.1 MB, free: 7.699 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.025e-05/0.007816, allocations: 43.88 kB / 251.2 MB, free: 7.656 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.518e-05/0.007881, allocations: 83.81 kB / 251.2 MB, free: 7.574 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003709/0.008252, allocations: 358.8 kB / 251.6 MB, free: 7.223 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.315e-05/0.008265, allocations: 0 / 251.6 MB, free: 7.223 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.01e-07/0.008266, allocations: 0 / 251.6 MB, free: 7.223 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.138e-05/0.008277, allocations: 0 / 251.6 MB, free: 7.223 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.000987/0.009264, allocations: 0.805 MB / 252.4 MB, free: 6.375 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.996e-05/0.009294, allocations: 15.98 kB / 252.4 MB, free: 6.359 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004771/0.009771, allocations: 180.6 kB / 252.6 MB, free: 6.184 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001725/0.009944, allocations: 165.4 kB / 252.7 MB, free: 5.996 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.686e-05/0.009961, allocations: 25.03 kB / 252.8 MB, free: 5.973 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.24e-05/0.009993, allocations: 32.38 kB / 252.8 MB, free: 5.941 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002158/0.01021, allocations: 241.5 kB / 253 MB, free: 5.691 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.873e-05/0.01023, allocations: 12.17 kB / 253.1 MB, free: 5.68 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.989e-05/0.01025, allocations: 11.94 kB / 253.1 MB, free: 5.668 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.136e-06/0.01026, allocations: 8 kB / 253.1 MB, free: 5.66 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001081/0.01036, allocations: 96.47 kB / 253.2 MB, free: 5.566 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009097/0.01127, allocations: 0.8374 MB / 254 MB, free: 4.68 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002409/0.01151, allocations: 186.3 kB / 254.2 MB, free: 4.488 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.855e-05/0.01156, allocations: 48.83 kB / 254.2 MB, free: 4.438 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.588e-05/0.01164, allocations: 27.97 kB / 254.3 MB, free: 4.41 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.865e-05/0.01166, allocations: 30.56 kB / 254.3 MB, free: 4.371 MB / 250.7 MB Notification: Performance of pre-optimization done (n=24): time 1.483e-06/0.01166, allocations: 7.938 kB / 254.3 MB, free: 4.363 MB / 250.7 MB Notification: Performance of matching and sorting (n=24): time 0.0005027/0.01216, allocations: 293.6 kB / 254.6 MB, free: 4.07 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.288e-05/0.01218, allocations: 59.28 kB / 254.6 MB, free: 4 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.076e-05/0.01227, allocations: 156.8 kB / 254.8 MB, free: 3.836 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.258e-05/0.01228, allocations: 29.7 kB / 254.8 MB, free: 3.801 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.604e-05/0.01234, allocations: 184.2 kB / 255 MB, free: 3.613 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.599e-05/0.01239, allocations: 83.27 kB / 255.1 MB, free: 3.531 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.353e-05/0.01244, allocations: 53.95 kB / 255.1 MB, free: 3.469 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.649e-05/0.01253, allocations: 326.8 kB / 255.5 MB, free: 3.141 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.155e-05/0.01256, allocations: 24.55 kB / 255.5 MB, free: 3.117 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.352e-05/0.01262, allocations: 94.16 kB / 255.6 MB, free: 3 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003647/0.01299, allocations: 144 kB / 255.7 MB, free: 2.836 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.01299, allocations: 0 / 255.7 MB, free: 2.836 MB / 250.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0002254/0.01322, allocations: 204.6 kB / 255.9 MB, free: 2.629 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.01323, allocations: 8 kB / 255.9 MB, free: 2.621 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.01324, allocations: 0 / 255.9 MB, free: 2.621 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000197/0.01344, allocations: 72.88 kB / 256 MB, free: 2.547 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.824e-05/0.01353, allocations: 55.86 kB / 256 MB, free: 2.492 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001016/0.01455, allocations: 1.594 MB / 257.6 MB, free: 0.8125 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.443e-05/0.01461, allocations: 27.88 kB / 257.7 MB, free: 0.7852 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.478e-06/0.01462, allocations: 4 kB / 257.7 MB, free: 0.7812 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.965e-05/0.01471, allocations: 133.7 kB / 257.8 MB, free: 0.6406 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.634e-05/0.01474, allocations: 15.98 kB / 257.8 MB, free: 0.625 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002441/0.01498, allocations: 187.4 kB / 258 MB, free: 448 kB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.01499, allocations: 0 / 258 MB, free: 448 kB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.01499, allocations: 4 kB / 258 MB, free: 444 kB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.01499, allocations: 0 / 258 MB, free: 444 kB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000421/0.01542, allocations: 410.4 kB / 258.4 MB, free: 4 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.01542, allocations: 0 / 258.4 MB, free: 4 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.732e-05/0.01549, allocations: 27.98 kB / 258.4 MB, free: 15.98 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.418e-05/0.01553, allocations: 27.83 kB / 258.5 MB, free: 15.95 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001295/0.01566, allocations: 64.73 kB / 258.5 MB, free: 15.88 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/0.01567, allocations: 8 kB / 258.5 MB, free: 15.88 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008213/0.01649, allocations: 1.579 MB / 260.1 MB, free: 14.21 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.01649, allocations: 0 / 260.1 MB, free: 14.21 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002345/0.01672, allocations: 296.5 kB / 260.4 MB, free: 13.9 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.39e-05/0.01674, allocations: 4.062 kB / 260.4 MB, free: 13.89 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.037e-05/0.01679, allocations: 12 kB / 260.4 MB, free: 13.88 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.513e-05/0.01681, allocations: 15.95 kB / 260.4 MB, free: 13.87 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.715e-06/0.01682, allocations: 8 kB / 260.4 MB, free: 13.86 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.865e-05/0.01685, allocations: 35.27 kB / 260.5 MB, free: 13.82 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01685, allocations: 0 / 260.5 MB, free: 13.82 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002838/0.01713, allocations: 99.78 kB / 260.6 MB, free: 13.73 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.0001673/0.0173, allocations: 120.2 kB / 260.7 MB, free: 13.6 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002861/0.01759, allocations: 273 kB / 261 MB, free: 13.32 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.855e-06/0.0176, allocations: 4.438 kB / 261 MB, free: 13.32 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001381/0.01773, allocations: 215.2 kB / 261.2 MB, free: 13.09 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001784/0.01791, allocations: 43.92 kB / 261.2 MB, free: 13.05 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002807/0.02072, allocations: 0.5113 MB / 261.7 MB, free: 12.51 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.187e-05/0.02078, allocations: 96.23 kB / 261.8 MB, free: 12.4 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.333e-05/0.02084, allocations: 21.94 kB / 261.8 MB, free: 12.38 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.924e-05/0.0209, allocations: 71.38 kB / 261.9 MB, free: 12.3 MB / 266.7 MB Notification: Performance of SimCode: time 1.163e-06/0.02091, allocations: 0 / 261.9 MB, free: 12.3 MB / 266.7 MB Notification: Performance of Templates: time 0.005133/0.02604, allocations: 2.998 MB / 264.9 MB, free: 9.336 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.663537073880434]