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.001377/0.001377, allocations: 107.1 kB / 20.44 MB, free: 1.344 MB / 14.72 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.001391/0.001391, allocations: 207.7 kB / 23.73 MB, free: 4.523 MB / 14.72 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 1.51/1.51, allocations: 230.6 MB / 257.5 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001619/0.001619, allocations: 47.92 kB / 378.2 MB, free: 2.457 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2258/0.2274, allocations: 53.36 MB / 431.6 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.004656/0.232, allocations: 2.667 MB / 434.2 MB, free: 4.039 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002309/0.2344, allocations: 1.141 MB / 435.4 MB, free: 2.895 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002381/0.2346, allocations: 8 kB / 435.4 MB, free: 2.887 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001636/0.2362, allocations: 0.5756 MB / 436 MB, free: 2.309 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003716/0.2366, allocations: 135 kB / 436.1 MB, free: 2.176 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001348/0.2379, allocations: 0.61 MB / 436.7 MB, free: 1.566 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003983/0.2383, allocations: 302.5 kB / 437 MB, free: 1.27 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000435/0.2388, allocations: 237.8 kB / 437.2 MB, free: 1.039 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002679/0.2391, allocations: 139.5 kB / 437.4 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000231/0.2393, allocations: 163.3 kB / 437.5 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.1e-05/0.2393, allocations: 28 kB / 437.6 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003948/0.2397, allocations: 183.8 kB / 437.7 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.049e-05/0.2398, allocations: 63.77 kB / 437.8 MB, free: 484 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001286/0.2399, allocations: 123.4 kB / 437.9 MB, free: 360 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000688/0.2406, allocations: 0.5018 MB / 438.4 MB, free: 15.85 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.2406, allocations: 0 / 438.4 MB, free: 15.85 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.2406, allocations: 0 / 438.4 MB, free: 15.85 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.041e-06/0.2406, allocations: 3.938 kB / 438.4 MB, free: 15.85 MB / 350.1 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.001647/0.2423, allocations: 0.6534 MB / 439.1 MB, free: 15.16 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.2423, allocations: 8.031 kB / 439.1 MB, free: 15.15 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008135/0.2431, allocations: 112.7 kB / 439.2 MB, free: 15.04 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003843/0.2435, allocations: 210.7 kB / 439.4 MB, free: 14.81 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.825e-05/0.2435, allocations: 29.03 kB / 439.4 MB, free: 14.79 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.564e-05/0.2436, allocations: 32.38 kB / 439.5 MB, free: 14.75 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006026/0.2442, allocations: 340.9 kB / 439.8 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.951e-05/0.2442, allocations: 4 kB / 439.8 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.796e-05/0.2442, allocations: 8 kB / 439.8 MB, free: 14.4 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.295e-05/0.2442, allocations: 8 kB / 439.8 MB, free: 14.39 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004369/0.2447, allocations: 242.5 kB / 440.1 MB, free: 14.16 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001943/0.2466, allocations: 1.039 MB / 441.1 MB, free: 13.05 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005112/0.2471, allocations: 234.7 kB / 441.3 MB, free: 12.82 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001492/0.2473, allocations: 94.39 kB / 441.4 MB, free: 12.72 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001096/0.2474, allocations: 15.92 kB / 441.4 MB, free: 12.71 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.262e-05/0.2474, allocations: 42.5 kB / 441.5 MB, free: 12.66 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.513e-06/0.2474, allocations: 0 / 441.5 MB, free: 12.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.001202/0.2486, allocations: 410 kB / 441.9 MB, free: 12.25 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.402e-05/0.2487, allocations: 55.41 kB / 441.9 MB, free: 12.18 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001599/0.2489, allocations: 162.2 kB / 442.1 MB, free: 12.01 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.333e-05/0.2489, allocations: 29.7 kB / 442.1 MB, free: 11.98 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001214/0.249, allocations: 188.2 kB / 442.3 MB, free: 11.79 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.512e-05/0.2491, allocations: 79.33 kB / 442.4 MB, free: 11.71 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.178e-05/0.2492, allocations: 65.86 kB / 442.4 MB, free: 11.64 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.2493, allocations: 322.8 kB / 442.8 MB, free: 11.31 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001314/0.2495, allocations: 72.53 kB / 442.8 MB, free: 11.24 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001759/0.2496, allocations: 133 kB / 443 MB, free: 11.09 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003312/0.25, allocations: 220 kB / 443.2 MB, free: 10.85 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.25, allocations: 0 / 443.2 MB, free: 10.85 MB / 350.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006052/0.2506, allocations: 324.6 kB / 443.5 MB, free: 10.52 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.2506, allocations: 11.94 kB / 443.5 MB, free: 10.51 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.2506, allocations: 4 kB / 443.5 MB, free: 10.51 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003095/0.2509, allocations: 80.78 kB / 443.6 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001616/0.2511, allocations: 39.92 kB / 443.6 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002209/0.2533, allocations: 1.891 MB / 445.5 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001292/0.2534, allocations: 19.84 kB / 445.5 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.487e-05/0.2534, allocations: 15.98 kB / 445.5 MB, free: 8.355 MB / 350.1 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.000207/0.2536, allocations: 149.7 kB / 445.7 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.693e-05/0.2537, allocations: 15.91 kB / 445.7 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005784/0.2543, allocations: 283.4 kB / 446 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.2543, allocations: 4 kB / 446 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.2543, allocations: 3.938 kB / 446 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.2543, allocations: 7.984 kB / 446 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009604/0.2552, allocations: 0.5797 MB / 446.6 MB, free: 7.266 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.343e-06/0.2552, allocations: 3.984 kB / 446.6 MB, free: 7.262 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001189/0.2554, allocations: 24 kB / 446.6 MB, free: 7.238 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002322/0.2556, allocations: 77.02 kB / 446.7 MB, free: 7.16 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.712e-05/0.2556, allocations: 4 kB / 446.7 MB, free: 7.156 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002207/0.2578, allocations: 1.895 MB / 448.6 MB, free: 5.16 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.2578, allocations: 0 / 448.6 MB, free: 5.16 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006817/0.2585, allocations: 440.6 kB / 449 MB, free: 4.711 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.577e-05/0.2586, allocations: 35.8 kB / 449.1 MB, free: 4.676 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.511e-05/0.2586, allocations: 4 kB / 449.1 MB, free: 4.672 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001161/0.2587, allocations: 16.11 kB / 449.1 MB, free: 4.656 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.648e-05/0.2588, allocations: 11.97 kB / 449.1 MB, free: 4.645 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.606e-05/0.2588, allocations: 12 kB / 449.1 MB, free: 4.633 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.912e-05/0.2589, allocations: 117.5 kB / 449.2 MB, free: 4.52 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2589, allocations: 0 / 449.2 MB, free: 4.52 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005018/0.2594, allocations: 95.78 kB / 449.3 MB, free: 4.426 MB / 350.1 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.000224/0.2596, allocations: 131.1 kB / 449.4 MB, free: 4.289 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006452/0.2602, allocations: 345.3 kB / 449.8 MB, free: 3.941 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.2602, allocations: 0 / 449.8 MB, free: 3.941 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003463/0.2606, allocations: 238.9 kB / 450 MB, free: 3.695 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003068/0.2609, allocations: 26.34 kB / 450 MB, free: 3.676 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001045/0.2619, allocations: 0.5664 MB / 450.6 MB, free: 3.078 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001482/0.2621, allocations: 154.4 kB / 450.7 MB, free: 2.91 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.154e-05/0.2622, allocations: 17.95 kB / 450.8 MB, free: 2.891 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.984e-05/0.2622, allocations: 19.42 kB / 450.8 MB, free: 2.871 MB / 350.1 MB Notification: Performance of SimCode: time 2.71e-07/0.2622, allocations: 0 / 450.8 MB, free: 2.871 MB / 350.1 MB Notification: Performance of Templates: time 0.007371/0.2696, allocations: 3.039 MB / 453.8 MB, free: 15.86 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.504059780854732]