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.001361/0.001361, allocations: 79.75 kB / 21.19 MB, free: 3.379 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.001555/0.001555, allocations: 161 kB / 24.56 MB, free: 12 kB / 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.9501/0.9501, allocations: 177.1 MB / 205 MB, free: 5.641 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 1.603e-06/1.603e-06, allocations: 0 / 273 MB, free: 1.566 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.281e-05/2.442e-05, allocations: 2.312 kB / 273 MB, free: 1.562 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.004238/0.004262, allocations: 2.876 MB / 275.8 MB, free: 14.67 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001914/0.006176, allocations: 1.18 MB / 277 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001508/0.006327, allocations: 11.94 kB / 277 MB, free: 13.47 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001327/0.007654, allocations: 0.6532 MB / 277.7 MB, free: 12.82 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003416/0.007995, allocations: 142.9 kB / 277.8 MB, free: 12.68 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001097/0.009092, allocations: 0.6343 MB / 278.5 MB, free: 12.04 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004074/0.0095, allocations: 310.4 kB / 278.8 MB, free: 11.73 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004355/0.009935, allocations: 223.2 kB / 279 MB, free: 11.52 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002758/0.01021, allocations: 207.4 kB / 279.2 MB, free: 11.31 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002014/0.01041, allocations: 131.7 kB / 279.3 MB, free: 11.18 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.508e-05/0.01046, allocations: 28 kB / 279.3 MB, free: 11.16 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003444/0.0108, allocations: 171.7 kB / 279.5 MB, free: 10.99 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.238e-05/0.01085, allocations: 63.77 kB / 279.6 MB, free: 10.93 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001064/0.01096, allocations: 99.75 kB / 279.7 MB, free: 10.83 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005386/0.0115, allocations: 386.6 kB / 280 MB, free: 10.45 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.0115, allocations: 0 / 280 MB, free: 10.45 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.0115, allocations: 0 / 280 MB, free: 10.45 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.01151, allocations: 0 / 280 MB, free: 10.45 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.001437/0.01295, allocations: 0.765 MB / 280.8 MB, free: 9.648 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.01299, allocations: 12.03 kB / 280.8 MB, free: 9.637 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007839/0.01377, allocations: 168.5 kB / 281 MB, free: 9.473 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002877/0.01406, allocations: 211.7 kB / 281.2 MB, free: 9.242 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.39e-05/0.01408, allocations: 21.03 kB / 281.2 MB, free: 9.223 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.089e-05/0.01414, allocations: 40.36 kB / 281.3 MB, free: 9.184 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000445/0.01459, allocations: 267.3 kB / 281.5 MB, free: 8.906 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.725e-05/0.01461, allocations: 4.141 kB / 281.5 MB, free: 8.902 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.4e-05/0.01464, allocations: 19.94 kB / 281.5 MB, free: 8.883 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.316e-05/0.01465, allocations: 8 kB / 281.5 MB, free: 8.875 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002978/0.01495, allocations: 143.8 kB / 281.7 MB, free: 8.734 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001567/0.01652, allocations: 1.124 MB / 282.8 MB, free: 7.539 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004224/0.01694, allocations: 215.1 kB / 283 MB, free: 7.316 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000119/0.01706, allocations: 67.66 kB / 283.1 MB, free: 7.246 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000108/0.01717, allocations: 15.98 kB / 283.1 MB, free: 7.23 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.939e-05/0.0172, allocations: 37.39 kB / 283.1 MB, free: 7.184 MB / 266.7 MB Notification: Performance of pre-optimization done (n=24): time 1.553e-06/0.0172, allocations: 0 / 283.1 MB, free: 7.184 MB / 266.7 MB Notification: Performance of matching and sorting (n=24): time 0.0009376/0.01814, allocations: 367.4 kB / 283.5 MB, free: 6.816 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.028e-05/0.01817, allocations: 55.41 kB / 283.6 MB, free: 6.75 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001518/0.01832, allocations: 221.7 kB / 283.8 MB, free: 6.52 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.003e-05/0.01834, allocations: 29.7 kB / 283.8 MB, free: 6.484 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/0.01845, allocations: 231 kB / 284 MB, free: 6.254 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.049e-05/0.01851, allocations: 83.3 kB / 284.1 MB, free: 6.172 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.951e-05/0.0186, allocations: 59.64 kB / 284.2 MB, free: 6.102 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.01875, allocations: 0.504 MB / 284.7 MB, free: 5.586 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.813e-05/0.01883, allocations: 40.53 kB / 284.7 MB, free: 5.547 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001435/0.01898, allocations: 127.5 kB / 284.8 MB, free: 5.387 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000249/0.01923, allocations: 190.7 kB / 285 MB, free: 5.168 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.594e-06/0.01923, allocations: 0 / 285 MB, free: 5.168 MB / 266.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004829/0.01971, allocations: 279.4 kB / 285.3 MB, free: 4.887 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.01973, allocations: 8 kB / 285.3 MB, free: 4.879 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.01974, allocations: 3.938 kB / 285.3 MB, free: 4.875 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003174/0.02005, allocations: 83.59 kB / 285.4 MB, free: 4.789 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001286/0.02018, allocations: 39.92 kB / 285.4 MB, free: 4.75 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001762/0.02194, allocations: 2.333 MB / 287.8 MB, free: 2.297 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001094/0.02205, allocations: 31.81 kB / 287.8 MB, free: 2.266 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.937e-05/0.02207, allocations: 12 kB / 287.8 MB, free: 2.254 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.0001178/0.02219, allocations: 176.4 kB / 288 MB, free: 2.07 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.258e-05/0.02224, allocations: 23.91 kB / 288 MB, free: 2.047 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004417/0.02268, allocations: 222.4 kB / 288.2 MB, free: 1.82 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.02269, allocations: 4 kB / 288.2 MB, free: 1.816 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.02269, allocations: 3.938 kB / 288.2 MB, free: 1.812 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.0227, allocations: 7.922 kB / 288.2 MB, free: 1.805 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007747/0.02347, allocations: 0.5906 MB / 288.8 MB, free: 1.164 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.02348, allocations: 0 / 288.8 MB, free: 1.164 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.145e-05/0.02357, allocations: 27.98 kB / 288.8 MB, free: 1.137 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002379/0.02381, allocations: 79.56 kB / 288.9 MB, free: 1.055 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.741e-05/0.02382, allocations: 4 kB / 288.9 MB, free: 1.051 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001546/0.02537, allocations: 2.322 MB / 291.2 MB, free: 14.6 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.02537, allocations: 3.938 kB / 291.3 MB, free: 14.6 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006187/0.02599, allocations: 406.1 kB / 291.6 MB, free: 14.18 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.687e-05/0.02607, allocations: 43.81 kB / 291.7 MB, free: 14.14 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.896e-05/0.02609, allocations: 0 / 291.7 MB, free: 14.14 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.02619, allocations: 12 kB / 291.7 MB, free: 14.12 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.39e-05/0.02623, allocations: 23.91 kB / 291.7 MB, free: 14.1 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.418e-06/0.02624, allocations: 4 kB / 291.7 MB, free: 14.1 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.417e-05/0.02632, allocations: 158 kB / 291.9 MB, free: 13.95 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02632, allocations: 0 / 291.9 MB, free: 13.95 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003764/0.02669, allocations: 103.8 kB / 292 MB, free: 13.84 MB / 282.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.0002171/0.02691, allocations: 131.1 kB / 292.1 MB, free: 13.71 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005174/0.02743, allocations: 355.1 kB / 292.5 MB, free: 13.34 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.02743, allocations: 0 / 292.5 MB, free: 13.34 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002491/0.02768, allocations: 301.5 kB / 292.8 MB, free: 13.03 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000294/0.02798, allocations: 27 kB / 292.8 MB, free: 13 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00111/0.02908, allocations: 0.5108 MB / 293.3 MB, free: 12.46 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.651e-05/0.02914, allocations: 88.31 kB / 293.4 MB, free: 12.36 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.843e-05/0.0292, allocations: 17.95 kB / 293.4 MB, free: 12.34 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.203e-05/0.02923, allocations: 16.5 kB / 293.4 MB, free: 12.33 MB / 282.7 MB Notification: Performance of SimCode: time 1.002e-06/0.02923, allocations: 8 kB / 293.4 MB, free: 12.32 MB / 282.7 MB Notification: Performance of Templates: time 0.005275/0.03451, allocations: 2.718 MB / 296.1 MB, free: 9.629 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: 3.124152523931116]