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.0009207/0.0009207, allocations: 81.97 kB / 22.21 MB, free: 2.289 MB / 18.57 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.001041/0.001041, allocations: 163.9 kB / 25.61 MB, free: 8.582 MB / 18.57 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.9381/0.9381, allocations: 177.1 MB / 206.1 MB, free: 4.477 MB / 186.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 2.885e-06/2.885e-06, allocations: 0 / 274.2 MB, free: 4.402 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.361e-05/3.65e-05, allocations: 6.25 kB / 274.2 MB, free: 4.395 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.005581/0.005618, allocations: 2.814 MB / 277 MB, free: 1.578 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002537/0.008155, allocations: 1.167 MB / 278.2 MB, free: 424 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002454/0.008401, allocations: 8 kB / 278.2 MB, free: 416 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001915/0.01032, allocations: 0.6376 MB / 278.8 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005246/0.01084, allocations: 146.9 kB / 279 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001501/0.01234, allocations: 0.607 MB / 279.6 MB, free: 15.01 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005189/0.01286, allocations: 310.4 kB / 279.9 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005096/0.01337, allocations: 227.2 kB / 280.1 MB, free: 14.48 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003994/0.01377, allocations: 203.5 kB / 280.3 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002786/0.01405, allocations: 131.7 kB / 280.4 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.059e-05/0.01411, allocations: 24 kB / 280.5 MB, free: 14.13 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005104/0.01462, allocations: 175.7 kB / 280.6 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.866e-05/0.01469, allocations: 63.75 kB / 280.7 MB, free: 13.9 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001338/0.01482, allocations: 99.75 kB / 280.8 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008692/0.01569, allocations: 386.6 kB / 281.2 MB, free: 13.42 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.0157, allocations: 0 / 281.2 MB, free: 13.42 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.502e-06/0.0157, allocations: 4 kB / 281.2 MB, free: 13.42 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.082e-06/0.0157, allocations: 0 / 281.2 MB, free: 13.42 MB / 266.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.001369/0.01707, allocations: 0.765 MB / 281.9 MB, free: 12.61 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.232e-05/0.01713, allocations: 15.98 kB / 281.9 MB, free: 12.6 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005822/0.01771, allocations: 168.5 kB / 282.1 MB, free: 12.43 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003088/0.01802, allocations: 204.2 kB / 282.3 MB, free: 12.21 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.813e-05/0.01804, allocations: 25.03 kB / 282.3 MB, free: 12.18 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.534e-05/0.01809, allocations: 32.38 kB / 282.4 MB, free: 12.15 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003067/0.0184, allocations: 247.2 kB / 282.6 MB, free: 11.9 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.993e-05/0.01842, allocations: 8.125 kB / 282.6 MB, free: 11.89 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.325e-05/0.01844, allocations: 11.94 kB / 282.6 MB, free: 11.88 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.458e-05/0.01845, allocations: 11.98 kB / 282.6 MB, free: 11.87 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001474/0.0186, allocations: 108.5 kB / 282.7 MB, free: 11.76 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001318/0.01992, allocations: 1.085 MB / 283.8 MB, free: 10.61 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002907/0.02021, allocations: 205.1 kB / 284 MB, free: 10.4 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.489e-05/0.02028, allocations: 62.38 kB / 284.1 MB, free: 10.34 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.223e-05/0.02037, allocations: 19.98 kB / 284.1 MB, free: 10.32 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.656e-05/0.02039, allocations: 41.38 kB / 284.2 MB, free: 10.27 MB / 266.7 MB Notification: Performance of pre-optimization done (n=24): time 2.024e-06/0.0204, allocations: 0 / 284.2 MB, free: 10.27 MB / 266.7 MB Notification: Performance of matching and sorting (n=24): time 0.0006977/0.02109, allocations: 335.9 kB / 284.5 MB, free: 9.934 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.993e-05/0.02112, allocations: 63.33 kB / 284.5 MB, free: 9.859 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001246/0.02125, allocations: 217 kB / 284.8 MB, free: 9.633 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.778e-05/0.02127, allocations: 33.7 kB / 284.8 MB, free: 9.594 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001007/0.02137, allocations: 227 kB / 285 MB, free: 9.367 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.171e-05/0.02142, allocations: 87.27 kB / 285.1 MB, free: 9.281 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.705e-05/0.02149, allocations: 63.61 kB / 285.2 MB, free: 9.207 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.02163, allocations: 0.4962 MB / 285.7 MB, free: 8.699 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.347e-05/0.02167, allocations: 40.53 kB / 285.7 MB, free: 8.66 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001066/0.02178, allocations: 122.8 kB / 285.8 MB, free: 8.504 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001584/0.02194, allocations: 168 kB / 286 MB, free: 8.309 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.02194, allocations: 0 / 286 MB, free: 8.309 MB / 266.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003072/0.02225, allocations: 259.1 kB / 286.2 MB, free: 8.047 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.02227, allocations: 8 kB / 286.2 MB, free: 8.039 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.02227, allocations: 0 / 286.2 MB, free: 8.039 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002572/0.02253, allocations: 91.7 kB / 286.3 MB, free: 7.945 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.431e-05/0.02262, allocations: 39.92 kB / 286.4 MB, free: 7.906 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001389/0.02401, allocations: 2.271 MB / 288.6 MB, free: 5.523 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.955e-05/0.02409, allocations: 23.84 kB / 288.7 MB, free: 5.5 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.348e-05/0.02411, allocations: 8 kB / 288.7 MB, free: 5.492 MB / 266.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.0001203/0.02423, allocations: 180.4 kB / 288.8 MB, free: 5.305 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.793e-05/0.02426, allocations: 23.91 kB / 288.9 MB, free: 5.281 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002894/0.02455, allocations: 214.4 kB / 289.1 MB, free: 5.062 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.02456, allocations: 4 kB / 289.1 MB, free: 5.059 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.02456, allocations: 3.938 kB / 289.1 MB, free: 5.055 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.02456, allocations: 0 / 289.1 MB, free: 5.055 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005538/0.02512, allocations: 0.5325 MB / 289.6 MB, free: 4.48 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.02512, allocations: 4 kB / 289.6 MB, free: 4.477 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.371e-05/0.02518, allocations: 27.98 kB / 289.6 MB, free: 4.449 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001676/0.02535, allocations: 67.56 kB / 289.7 MB, free: 4.379 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/0.02536, allocations: 4 kB / 289.7 MB, free: 4.375 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001453/0.02682, allocations: 2.283 MB / 292 MB, free: 1.98 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.02682, allocations: 0 / 292 MB, free: 1.98 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003438/0.02716, allocations: 384.8 kB / 292.4 MB, free: 1.582 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.694e-05/0.02721, allocations: 43.88 kB / 292.4 MB, free: 1.539 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.472e-05/0.02722, allocations: 4 kB / 292.4 MB, free: 1.535 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.035e-05/0.02728, allocations: 4 kB / 292.4 MB, free: 1.531 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.422e-05/0.02732, allocations: 23.91 kB / 292.4 MB, free: 1.508 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.767e-06/0.02733, allocations: 7.984 kB / 292.5 MB, free: 1.5 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.049e-05/0.02739, allocations: 150.2 kB / 292.6 MB, free: 1.355 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.02739, allocations: 0 / 292.6 MB, free: 1.355 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003478/0.02774, allocations: 99.77 kB / 292.7 MB, free: 1.258 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.000207/0.02794, allocations: 135.2 kB / 292.8 MB, free: 1.117 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003908/0.02833, allocations: 343.4 kB / 293.2 MB, free: 0.7617 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.02834, allocations: 4.062 kB / 293.2 MB, free: 0.7578 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000215/0.02855, allocations: 291.9 kB / 293.5 MB, free: 464 kB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000253/0.0288, allocations: 15.94 kB / 293.5 MB, free: 448 kB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009516/0.02975, allocations: 0.4989 MB / 294 MB, free: 15.9 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.108e-05/0.02983, allocations: 88.31 kB / 294.1 MB, free: 15.8 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.265e-05/0.02989, allocations: 21.95 kB / 294.1 MB, free: 15.78 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.665e-05/0.02996, allocations: 90.19 kB / 294.2 MB, free: 15.69 MB / 282.7 MB Notification: Performance of SimCode: time 9.72e-07/0.02997, allocations: 3.938 kB / 294.2 MB, free: 15.68 MB / 282.7 MB Notification: Performance of Templates: time 0.005443/0.03541, allocations: 3.015 MB / 297.2 MB, free: 12.7 MB / 282.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 -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.8507355102337897]