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.001456/0.001456, allocations: 91.61 kB / 22.19 MB, free: 2.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.001797/0.001797, allocations: 160.5 kB / 25.45 MB, free: 9.348 MB / 18.57 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 0.9763/0.9763, allocations: 158.6 MB / 187.2 MB, free: 3.059 MB / 170.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 2.074e-06/2.074e-06, allocations: 0 / 299.7 MB, free: 7.008 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.113e-05/3.32e-05, allocations: 2.281 kB / 299.7 MB, free: 7.004 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.002818/0.002851, allocations: 2.518 MB / 302.2 MB, free: 4.465 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001409/0.004261, allocations: 1.122 MB / 303.3 MB, free: 3.336 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001361/0.004397, allocations: 8 kB / 303.4 MB, free: 3.328 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009756/0.005372, allocations: 0.5949 MB / 304 MB, free: 2.73 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002304/0.005603, allocations: 139 kB / 304.1 MB, free: 2.594 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007991/0.006402, allocations: 0.6147 MB / 304.7 MB, free: 1.977 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003572/0.006759, allocations: 302.4 kB / 305 MB, free: 1.68 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003783/0.007137, allocations: 243 kB / 305.2 MB, free: 1.445 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001832/0.00732, allocations: 183.6 kB / 305.4 MB, free: 1.266 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001487/0.007469, allocations: 131.6 kB / 305.5 MB, free: 1.137 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.126e-05/0.0075, allocations: 28 kB / 305.6 MB, free: 1.109 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002615/0.007762, allocations: 171.7 kB / 305.7 MB, free: 0.9414 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.562e-05/0.007808, allocations: 59.75 kB / 305.8 MB, free: 0.8828 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.827e-05/0.007886, allocations: 103.8 kB / 305.9 MB, free: 0.7812 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004782/0.008364, allocations: 0.5023 MB / 306.4 MB, free: 284 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.008367, allocations: 4 kB / 306.4 MB, free: 280 kB / 282.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.008368, allocations: 0 / 306.4 MB, free: 280 kB / 282.7 MB Notification: Performance of Transformations before backend: time 6.552e-06/0.008375, allocations: 0 / 306.4 MB, free: 280 kB / 282.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.001156/0.009531, allocations: 0.6534 MB / 307.1 MB, free: 15.59 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/0.009577, allocations: 8.031 kB / 307.1 MB, free: 15.58 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000433/0.01001, allocations: 112.7 kB / 307.2 MB, free: 15.47 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002939/0.0103, allocations: 213.9 kB / 307.4 MB, free: 15.24 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.278e-05/0.01033, allocations: 32.97 kB / 307.4 MB, free: 15.21 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.481e-05/0.01038, allocations: 32.38 kB / 307.4 MB, free: 15.18 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003819/0.01076, allocations: 329.6 kB / 307.8 MB, free: 14.84 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/0.01078, allocations: 192 / 307.8 MB, free: 14.84 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.339e-05/0.0108, allocations: 15.94 kB / 307.8 MB, free: 14.82 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.01081, allocations: 8 kB / 307.8 MB, free: 14.82 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002826/0.01109, allocations: 238.5 kB / 308 MB, free: 14.59 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00125/0.01234, allocations: 1.048 MB / 309.1 MB, free: 13.47 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003433/0.01269, allocations: 230.6 kB / 309.3 MB, free: 13.24 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001001/0.01279, allocations: 88.83 kB / 309.4 MB, free: 13.15 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.847e-05/0.01285, allocations: 11.98 kB / 309.4 MB, free: 13.14 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.001e-05/0.01287, allocations: 34.97 kB / 309.4 MB, free: 13.09 MB / 298.7 MB Notification: Performance of pre-optimization done (n=24): time 1.874e-06/0.01288, allocations: 0 / 309.4 MB, free: 13.09 MB / 298.7 MB Notification: Performance of matching and sorting (n=24): time 0.0007492/0.01362, allocations: 413.7 kB / 309.8 MB, free: 12.68 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.108e-05/0.01367, allocations: 63.39 kB / 309.9 MB, free: 12.61 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001181/0.01378, allocations: 159.1 kB / 310.1 MB, free: 12.44 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.672e-05/0.0138, allocations: 25.7 kB / 310.1 MB, free: 12.41 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.105e-05/0.01389, allocations: 188.3 kB / 310.3 MB, free: 12.22 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.676e-05/0.01394, allocations: 83.27 kB / 310.3 MB, free: 12.14 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.006e-05/0.014, allocations: 53.94 kB / 310.4 MB, free: 12.08 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.56e-05/0.01409, allocations: 334.8 kB / 310.7 MB, free: 11.75 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.886e-05/0.01417, allocations: 64.55 kB / 310.8 MB, free: 11.68 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001142/0.01429, allocations: 132.1 kB / 310.9 MB, free: 11.53 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002105/0.0145, allocations: 220.1 kB / 311.1 MB, free: 11.29 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.0145, allocations: 0 / 311.1 MB, free: 11.29 MB / 298.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003638/0.01487, allocations: 328.5 kB / 311.4 MB, free: 10.96 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.01488, allocations: 11.94 kB / 311.5 MB, free: 10.95 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.01489, allocations: 3.938 kB / 311.5 MB, free: 10.95 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002249/0.01512, allocations: 68.81 kB / 311.5 MB, free: 10.88 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.827e-05/0.0152, allocations: 47.92 kB / 311.6 MB, free: 10.83 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00145/0.01665, allocations: 1.884 MB / 313.5 MB, free: 8.84 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.565e-05/0.01672, allocations: 23.83 kB / 313.5 MB, free: 8.816 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.347e-05/0.01673, allocations: 12 kB / 313.5 MB, free: 8.805 MB / 298.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.000107/0.01684, allocations: 145.7 kB / 313.6 MB, free: 8.652 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.431e-05/0.01686, allocations: 19.86 kB / 313.7 MB, free: 8.633 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003572/0.01722, allocations: 288.1 kB / 313.9 MB, free: 8.34 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.01722, allocations: 0 / 313.9 MB, free: 8.34 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.834e-06/0.01723, allocations: 11.98 kB / 314 MB, free: 8.328 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.01724, allocations: 4.219 kB / 314 MB, free: 8.324 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005772/0.01781, allocations: 0.5769 MB / 314.5 MB, free: 7.703 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.01782, allocations: 0 / 314.5 MB, free: 7.703 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.033e-05/0.01788, allocations: 27.92 kB / 314.6 MB, free: 7.676 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001424/0.01802, allocations: 80.69 kB / 314.6 MB, free: 7.594 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.362e-05/0.01803, allocations: 7.984 kB / 314.6 MB, free: 7.586 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00121/0.01924, allocations: 1.88 MB / 316.5 MB, free: 5.609 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.01925, allocations: 3.938 kB / 316.5 MB, free: 5.605 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004075/0.01965, allocations: 436.6 kB / 317 MB, free: 5.16 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.375e-05/0.0197, allocations: 35.84 kB / 317 MB, free: 5.125 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.309e-05/0.01971, allocations: 4 kB / 317 MB, free: 5.121 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.406e-05/0.01976, allocations: 12.06 kB / 317 MB, free: 5.109 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.324e-05/0.0198, allocations: 23.91 kB / 317 MB, free: 5.086 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.715e-06/0.0198, allocations: 4 kB / 317 MB, free: 5.082 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.572e-05/0.01987, allocations: 123.7 kB / 317.2 MB, free: 4.961 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01987, allocations: 288 / 317.2 MB, free: 4.961 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003327/0.0202, allocations: 95.73 kB / 317.2 MB, free: 4.867 MB / 298.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.000242/0.02045, allocations: 124.3 kB / 317.4 MB, free: 4.734 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004359/0.02088, allocations: 338.2 kB / 317.7 MB, free: 4.391 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.02088, allocations: 0 / 317.7 MB, free: 4.391 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001922/0.02108, allocations: 238.9 kB / 317.9 MB, free: 4.145 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002288/0.0213, allocations: 24 kB / 318 MB, free: 4.121 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00076/0.02206, allocations: 0.5396 MB / 318.5 MB, free: 3.547 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.861e-05/0.02216, allocations: 150.5 kB / 318.6 MB, free: 3.387 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.444e-05/0.0222, allocations: 16.5 kB / 318.7 MB, free: 3.371 MB / 298.7 MB Notification: Performance of SimCode: time 5.61e-07/0.0222, allocations: 0 / 318.7 MB, free: 3.371 MB / 298.7 MB Notification: Performance of Templates: time 0.004593/0.02679, allocations: 4.045 MB / 322.7 MB, free: 15.32 MB / 314.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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.744770858436823]