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.001018/0.001018, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001518/0.002537, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.00107/0.00107, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001381/0.002451, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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 0.9958/0.9958, allocations: 177.4 MB / 189.9 MB, free: 4.828 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08826/1.084, allocations: 53.87 MB / 243.7 MB, free: 14.9 MB / 250.7 MB " [Timeout remaining time 179] 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 1.854e-06/1.854e-06, allocations: 0 / 245 MB, free: 13.66 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.151e-05/2.336e-05, allocations: 2.312 kB / 245 MB, free: 13.65 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.004604/0.004627, allocations: 2.888 MB / 247.9 MB, free: 10.74 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002169/0.006796, allocations: 1.214 MB / 249.1 MB, free: 9.523 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001815/0.006978, allocations: 8 kB / 249.1 MB, free: 9.516 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001213/0.00819, allocations: 0.6492 MB / 249.8 MB, free: 8.863 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004016/0.008592, allocations: 146.9 kB / 249.9 MB, free: 8.719 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001105/0.009697, allocations: 0.6185 MB / 250.5 MB, free: 8.098 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000331/0.01003, allocations: 314.4 kB / 250.8 MB, free: 7.789 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003187/0.01035, allocations: 233.8 kB / 251.1 MB, free: 7.562 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002417/0.01059, allocations: 207.5 kB / 251.3 MB, free: 7.359 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001425/0.01073, allocations: 127.7 kB / 251.4 MB, free: 7.234 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.733e-05/0.01076, allocations: 24 kB / 251.4 MB, free: 7.211 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003184/0.01108, allocations: 195.6 kB / 251.6 MB, free: 7.02 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.265e-05/0.01111, allocations: 47.81 kB / 251.6 MB, free: 6.973 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.235e-05/0.01117, allocations: 83.81 kB / 251.7 MB, free: 6.891 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003813/0.01155, allocations: 350.8 kB / 252.1 MB, free: 6.547 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.542e-05/0.01157, allocations: 0 / 252.1 MB, free: 6.547 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.01157, allocations: 0 / 252.1 MB, free: 6.547 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.469e-05/0.01158, allocations: 0 / 252.1 MB, free: 6.547 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.001121/0.01271, allocations: 0.8011 MB / 252.9 MB, free: 5.703 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.01274, allocations: 16.62 kB / 252.9 MB, free: 5.688 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004784/0.01322, allocations: 184.5 kB / 253.1 MB, free: 5.508 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00021/0.01343, allocations: 160.9 kB / 253.2 MB, free: 5.328 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.811e-05/0.01345, allocations: 25.03 kB / 253.3 MB, free: 5.305 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.406e-05/0.01348, allocations: 36.34 kB / 253.3 MB, free: 5.27 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000227/0.01371, allocations: 237.6 kB / 253.5 MB, free: 5.023 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.01372, allocations: 8.188 kB / 253.5 MB, free: 5.016 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.749e-05/0.01374, allocations: 15.94 kB / 253.5 MB, free: 5 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.064e-06/0.01375, allocations: 8 kB / 253.5 MB, free: 4.992 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001077/0.01385, allocations: 96.47 kB / 253.6 MB, free: 4.898 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000953/0.01481, allocations: 0.8412 MB / 254.5 MB, free: 4.012 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002512/0.01506, allocations: 194.3 kB / 254.7 MB, free: 3.812 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.064e-05/0.01511, allocations: 48.84 kB / 254.7 MB, free: 3.762 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.457e-05/0.01519, allocations: 15.98 kB / 254.7 MB, free: 3.746 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.874e-05/0.01522, allocations: 38.55 kB / 254.8 MB, free: 3.699 MB / 250.7 MB Notification: Performance of pre-optimization done (n=24): time 1.904e-06/0.01522, allocations: 0 / 254.8 MB, free: 3.699 MB / 250.7 MB Notification: Performance of matching and sorting (n=24): time 0.0005159/0.01574, allocations: 292 kB / 255.1 MB, free: 3.406 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.439e-05/0.01576, allocations: 59.28 kB / 255.1 MB, free: 3.336 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.367e-05/0.01585, allocations: 160.6 kB / 255.3 MB, free: 3.168 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.296e-05/0.01586, allocations: 25.7 kB / 255.3 MB, free: 3.137 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.529e-05/0.01593, allocations: 188.2 kB / 255.5 MB, free: 2.945 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.829e-05/0.01596, allocations: 79.28 kB / 255.6 MB, free: 2.867 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.504e-05/0.01602, allocations: 61.94 kB / 255.6 MB, free: 2.797 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.517e-05/0.01609, allocations: 326.8 kB / 255.9 MB, free: 2.469 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.008e-05/0.01612, allocations: 24.55 kB / 256 MB, free: 2.445 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.316e-05/0.01619, allocations: 94.16 kB / 256.1 MB, free: 2.328 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001162/0.0163, allocations: 148 kB / 256.2 MB, free: 2.16 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.01631, allocations: 0 / 256.2 MB, free: 2.16 MB / 250.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0002208/0.01653, allocations: 200.5 kB / 256.4 MB, free: 1.957 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.01654, allocations: 8.219 kB / 256.4 MB, free: 1.949 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.01655, allocations: 4 kB / 256.4 MB, free: 1.945 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001983/0.01675, allocations: 64.75 kB / 256.5 MB, free: 1.879 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.485e-05/0.01684, allocations: 55.84 kB / 256.5 MB, free: 1.824 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00105/0.01789, allocations: 1.587 MB / 258.1 MB, free: 156 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.161e-05/0.01796, allocations: 31.78 kB / 258.1 MB, free: 124 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.188e-05/0.01798, allocations: 11.98 kB / 258.2 MB, free: 112 kB / 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 9.566e-05/0.01807, allocations: 137.7 kB / 258.3 MB, free: 15.96 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.399e-05/0.0181, allocations: 15.98 kB / 258.3 MB, free: 15.95 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002427/0.01834, allocations: 183.3 kB / 258.5 MB, free: 15.77 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.01834, allocations: 0 / 258.5 MB, free: 15.77 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.01834, allocations: 4 kB / 258.5 MB, free: 15.76 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.012e-06/0.01835, allocations: 7.984 kB / 258.5 MB, free: 15.75 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000408/0.01876, allocations: 403.7 kB / 258.9 MB, free: 15.33 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.01876, allocations: 0 / 258.9 MB, free: 15.33 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.698e-05/0.01883, allocations: 27.98 kB / 258.9 MB, free: 15.3 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.463e-05/0.01886, allocations: 19.84 kB / 258.9 MB, free: 15.28 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001391/0.019, allocations: 68.73 kB / 259 MB, free: 15.21 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.01901, allocations: 8 kB / 259 MB, free: 15.2 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009255/0.01994, allocations: 1.58 MB / 260.6 MB, free: 13.54 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.01994, allocations: 0 / 260.6 MB, free: 13.54 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002427/0.02018, allocations: 300.5 kB / 260.9 MB, free: 13.22 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.482e-05/0.0202, allocations: 4 kB / 260.9 MB, free: 13.22 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.548e-05/0.02025, allocations: 4 kB / 260.9 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.255e-05/0.02028, allocations: 15.97 kB / 260.9 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.573e-06/0.02029, allocations: 4 kB / 260.9 MB, free: 13.2 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.028e-05/0.02032, allocations: 45.28 kB / 261 MB, free: 13.15 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.02032, allocations: 0 / 261 MB, free: 13.15 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002939/0.02062, allocations: 99.78 kB / 261.1 MB, free: 13.05 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.0001758/0.02079, allocations: 112.3 kB / 261.2 MB, free: 12.93 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003323/0.02112, allocations: 274.2 kB / 261.4 MB, free: 12.65 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.201e-05/0.02114, allocations: 4 kB / 261.4 MB, free: 12.65 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001617/0.0213, allocations: 219.1 kB / 261.7 MB, free: 12.42 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001971/0.02149, allocations: 51.56 kB / 261.7 MB, free: 12.37 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002899/0.02439, allocations: 0.5127 MB / 262.2 MB, free: 11.83 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.119e-05/0.02445, allocations: 92.25 kB / 262.3 MB, free: 11.72 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.271e-05/0.02452, allocations: 21.94 kB / 262.3 MB, free: 11.7 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.429e-05/0.02458, allocations: 71.36 kB / 262.4 MB, free: 11.63 MB / 266.7 MB Notification: Performance of SimCode: time 6.91e-07/0.02458, allocations: 0 / 262.4 MB, free: 11.63 MB / 266.7 MB Notification: Performance of Templates: time 0.004992/0.02957, allocations: 3.006 MB / 265.4 MB, free: 8.648 MB / 266.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.513218367472291]