Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001148/0.001148, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001744/0.002893, allocations: 453.8 kB / 10.46 MB, free: 236 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.001099/0.001099, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001455/0.002553, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.073/1.073, allocations: 158.6 MB / 171.2 MB, free: 2.5 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2005/1.274, allocations: 49.49 MB / 220.7 MB, free: 1.359 MB / 218.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 222 MB, free: 72 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.539e-05/2.714e-05, allocations: 2.312 kB / 222 MB, free: 68 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.004094/0.004121, allocations: 2.749 MB / 224.7 MB, free: 13.29 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002065/0.006186, allocations: 1.188 MB / 225.9 MB, free: 12.1 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001918/0.006377, allocations: 4 kB / 225.9 MB, free: 12.09 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001263/0.007641, allocations: 0.6609 MB / 226.6 MB, free: 11.43 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004172/0.008058, allocations: 131 kB / 226.7 MB, free: 11.3 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001061/0.009119, allocations: 0.6146 MB / 227.3 MB, free: 10.68 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005034/0.009622, allocations: 306.4 kB / 227.6 MB, free: 10.38 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004318/0.01005, allocations: 241.7 kB / 227.9 MB, free: 10.15 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002903/0.01034, allocations: 199.6 kB / 228.1 MB, free: 9.953 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000197/0.01054, allocations: 123.7 kB / 228.2 MB, free: 9.832 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.169e-05/0.01058, allocations: 24 kB / 228.2 MB, free: 9.809 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004743/0.01106, allocations: 191.6 kB / 228.4 MB, free: 9.621 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.101e-05/0.0111, allocations: 47.81 kB / 228.4 MB, free: 9.574 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 7.876e-05/0.01118, allocations: 83.81 kB / 228.5 MB, free: 9.492 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005485/0.01173, allocations: 342.8 kB / 228.8 MB, free: 9.156 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.049e-05/0.01175, allocations: 0 / 228.8 MB, free: 9.156 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.01175, allocations: 0 / 228.8 MB, free: 9.156 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.861e-05/0.01177, allocations: 0 / 228.8 MB, free: 9.156 MB / 234.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.001317/0.01308, allocations: 0.8012 MB / 229.6 MB, free: 8.312 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.01313, allocations: 8.031 kB / 229.7 MB, free: 8.305 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005504/0.01368, allocations: 188.6 kB / 229.8 MB, free: 8.121 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002482/0.01392, allocations: 157.4 kB / 230 MB, free: 7.941 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.184e-05/0.01395, allocations: 25.03 kB / 230 MB, free: 7.918 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.325e-05/0.01399, allocations: 36.38 kB / 230.1 MB, free: 7.883 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002781/0.01427, allocations: 241.5 kB / 230.3 MB, free: 7.633 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/0.01428, allocations: 4.172 kB / 230.3 MB, free: 7.629 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.539e-05/0.01431, allocations: 19.94 kB / 230.3 MB, free: 7.609 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/0.01432, allocations: 8 kB / 230.3 MB, free: 7.602 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001158/0.01443, allocations: 88.53 kB / 230.4 MB, free: 7.52 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001498/0.01593, allocations: 0.8412 MB / 231.2 MB, free: 6.625 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000284/0.01622, allocations: 174.5 kB / 231.4 MB, free: 6.445 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.973e-05/0.01628, allocations: 53.22 kB / 231.5 MB, free: 6.391 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.581e-05/0.01637, allocations: 8 kB / 231.5 MB, free: 6.383 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.616e-05/0.0164, allocations: 42.42 kB / 231.5 MB, free: 6.332 MB / 234.7 MB Notification: Performance of pre-optimization done (n=24): time 2.405e-06/0.0164, allocations: 4 kB / 231.5 MB, free: 6.328 MB / 234.7 MB Notification: Performance of matching and sorting (n=24): time 0.0005992/0.017, allocations: 286.1 kB / 231.8 MB, free: 6.039 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.891e-05/0.01704, allocations: 59.34 kB / 231.9 MB, free: 5.969 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001201/0.01716, allocations: 163.1 kB / 232 MB, free: 5.797 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.915e-05/0.01718, allocations: 25.7 kB / 232 MB, free: 5.766 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.564e-05/0.01727, allocations: 180.3 kB / 232.2 MB, free: 5.586 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.97e-05/0.01733, allocations: 91.19 kB / 232.3 MB, free: 5.496 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.074e-05/0.0174, allocations: 57.97 kB / 232.4 MB, free: 5.434 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001207/0.01752, allocations: 326.8 kB / 232.7 MB, free: 5.105 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.039e-05/0.01757, allocations: 28.55 kB / 232.7 MB, free: 5.078 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.274e-05/0.01766, allocations: 100 kB / 232.8 MB, free: 4.953 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001359/0.01779, allocations: 136.8 kB / 232.9 MB, free: 4.797 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.0178, allocations: 4 kB / 233 MB, free: 4.793 MB / 234.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0002691/0.01807, allocations: 207.7 kB / 233.2 MB, free: 4.582 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.14e-05/0.0181, allocations: 8 kB / 233.2 MB, free: 4.574 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.01811, allocations: 0 / 233.2 MB, free: 4.574 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002491/0.01835, allocations: 80.83 kB / 233.2 MB, free: 4.492 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001069/0.01846, allocations: 51.86 kB / 233.3 MB, free: 4.441 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001377/0.01984, allocations: 1.587 MB / 234.9 MB, free: 2.77 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001197/0.01996, allocations: 27.78 kB / 234.9 MB, free: 2.742 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.641e-05/0.01997, allocations: 12 kB / 234.9 MB, free: 2.73 MB / 234.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.0001139/0.02009, allocations: 121.8 kB / 235 MB, free: 2.602 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.597e-05/0.02012, allocations: 15.98 kB / 235.1 MB, free: 2.586 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003223/0.02045, allocations: 183.5 kB / 235.2 MB, free: 2.398 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.02045, allocations: 0 / 235.2 MB, free: 2.398 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.02046, allocations: 4 kB / 235.2 MB, free: 2.395 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.016e-06/0.02046, allocations: 3.984 kB / 235.2 MB, free: 2.391 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005725/0.02104, allocations: 407.3 kB / 235.6 MB, free: 1.961 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.02104, allocations: 4 kB / 235.6 MB, free: 1.957 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.928e-05/0.02112, allocations: 27.94 kB / 235.7 MB, free: 1.93 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.903e-05/0.02116, allocations: 27.83 kB / 235.7 MB, free: 1.902 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001909/0.02135, allocations: 53.09 kB / 235.7 MB, free: 1.848 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.573e-05/0.02137, allocations: 11.98 kB / 235.8 MB, free: 1.836 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001235/0.0226, allocations: 1.587 MB / 237.3 MB, free: 168 kB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.0226, allocations: 0 / 237.3 MB, free: 168 kB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003158/0.02292, allocations: 301.8 kB / 237.6 MB, free: 15.85 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.25e-05/0.02294, allocations: 8 kB / 237.6 MB, free: 15.84 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.574e-05/0.023, allocations: 4 kB / 237.7 MB, free: 15.84 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.507e-05/0.02304, allocations: 27.89 kB / 237.7 MB, free: 15.81 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.738e-06/0.02305, allocations: 4 kB / 237.7 MB, free: 15.81 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.503e-05/0.0231, allocations: 36.89 kB / 237.7 MB, free: 15.77 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0231, allocations: 0 / 237.7 MB, free: 15.77 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0007969/0.02389, allocations: 95.78 kB / 237.8 MB, free: 15.68 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.0002602/0.02415, allocations: 105 kB / 237.9 MB, free: 15.57 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0004333/0.02459, allocations: 300.3 kB / 238.2 MB, free: 15.26 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-05/0.0246, allocations: 4 kB / 238.2 MB, free: 15.25 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002009/0.0248, allocations: 227.2 kB / 238.4 MB, free: 15.02 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002734/0.02508, allocations: 95.33 kB / 238.5 MB, free: 14.91 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003285/0.02836, allocations: 0.5246 MB / 239.1 MB, free: 14.36 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.949e-05/0.02845, allocations: 92.3 kB / 239.1 MB, free: 14.25 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 7.966e-05/0.02853, allocations: 17.95 kB / 239.2 MB, free: 14.23 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.109e-05/0.0286, allocations: 63.38 kB / 239.2 MB, free: 14.17 MB / 250.7 MB Notification: Performance of SimCode: time 1.613e-06/0.0286, allocations: 0 / 239.2 MB, free: 14.17 MB / 250.7 MB Notification: Performance of Templates: time 0.006242/0.03484, allocations: 2.744 MB / 242 MB, free: 11.44 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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: 3.0846877228468657]