Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001873/0.001873, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002293/0.002293, allocations: 211.4 kB / 24.48 MB, free: 3.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.458/1.458, allocations: 230.5 MB / 258.1 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis,tolerance=0.0001,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|core.B|core.Hstat|core.MagRel|winding.i",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis") translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis,tolerance=0.0001,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|core.B|core.Hstat|core.MagRel|winding.i",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00193/0.00193, allocations: 67.88 kB / 379 MB, free: 2.312 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2677/0.2697, allocations: 53.4 MB / 432.4 MB, free: 6.527 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.004529/0.2742, allocations: 2.685 MB / 435.1 MB, free: 3.832 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002371/0.2766, allocations: 1.199 MB / 436.3 MB, free: 2.625 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002142/0.2768, allocations: 7.938 kB / 436.3 MB, free: 2.617 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003184/0.2771, allocations: 70.38 kB / 436.3 MB, free: 2.551 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006296/0.2777, allocations: 226.7 kB / 436.6 MB, free: 2.328 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003541/0.2781, allocations: 139.7 kB / 436.7 MB, free: 2.191 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005071/0.2786, allocations: 451.1 kB / 437.1 MB, free: 1.746 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001621/0.2787, allocations: 64.81 kB / 437.2 MB, free: 1.684 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003315/0.2791, allocations: 195.4 kB / 437.4 MB, free: 1.492 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000312/0.2794, allocations: 187.2 kB / 437.6 MB, free: 1.309 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.168e-05/0.2795, allocations: 44 kB / 437.6 MB, free: 1.266 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003234/0.2798, allocations: 167.9 kB / 437.8 MB, free: 1.102 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.575e-05/0.2799, allocations: 95.66 kB / 437.9 MB, free: 1.008 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001596/0.28, allocations: 155.3 kB / 438 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006701/0.2807, allocations: 0.5249 MB / 438.6 MB, free: 340 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.2807, allocations: 0 / 438.6 MB, free: 340 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.2807, allocations: 0 / 438.6 MB, free: 340 kB / 334.1 MB Notification: Performance of Transformations before backend: time 8.255e-06/0.2807, allocations: 0 / 438.6 MB, free: 340 kB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001697/0.2824, allocations: 0.6441 MB / 439.2 MB, free: 15.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.2824, allocations: 15.98 kB / 439.2 MB, free: 15.64 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001973/0.2826, allocations: 44.73 kB / 439.3 MB, free: 15.6 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005574/0.2832, allocations: 283.4 kB / 439.5 MB, free: 15.3 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001112/0.2833, allocations: 102.3 kB / 439.6 MB, free: 15.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001566/0.2835, allocations: 36.48 kB / 439.7 MB, free: 15.14 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006592/0.2841, allocations: 351.3 kB / 440 MB, free: 14.79 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/0.2841, allocations: 0 / 440 MB, free: 14.79 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.354e-05/0.2842, allocations: 12 kB / 440 MB, free: 14.77 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.134e-05/0.2842, allocations: 8 kB / 440 MB, free: 14.77 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000693/0.2849, allocations: 297.7 kB / 440.3 MB, free: 14.47 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001789/0.2867, allocations: 0.9955 MB / 441.3 MB, free: 13.42 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006346/0.2873, allocations: 276 kB / 441.6 MB, free: 13.14 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003338/0.2876, allocations: 153.6 kB / 441.7 MB, free: 12.98 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.751e-05/0.2877, allocations: 11.94 kB / 441.8 MB, free: 12.97 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.808e-05/0.2877, allocations: 38.5 kB / 441.8 MB, free: 12.92 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 2.224e-06/0.2877, allocations: 0 / 441.8 MB, free: 12.92 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.009368/0.2971, allocations: 2.266 MB / 444.1 MB, free: 10.62 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.86e-05/0.2971, allocations: 85.11 kB / 444.1 MB, free: 10.52 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003873/0.2975, allocations: 297 kB / 444.4 MB, free: 10.22 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.242e-05/0.2976, allocations: 29.7 kB / 444.5 MB, free: 10.18 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001294/0.2977, allocations: 168.7 kB / 444.6 MB, free: 10.01 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001306/0.2978, allocations: 158.6 kB / 444.8 MB, free: 9.855 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001453/0.298, allocations: 78.11 kB / 444.9 MB, free: 9.77 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.2981, allocations: 338.8 kB / 445.2 MB, free: 9.43 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004069/0.2985, allocations: 164.8 kB / 445.3 MB, free: 9.27 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004445/0.299, allocations: 222.7 kB / 445.6 MB, free: 9.035 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008623/0.2998, allocations: 407.8 kB / 446 MB, free: 8.617 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-06/0.2998, allocations: 3.938 kB / 446 MB, free: 8.613 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001077/0.3009, allocations: 496.5 kB / 446.5 MB, free: 8.121 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.3009, allocations: 4 kB / 446.5 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.3009, allocations: 4 kB / 446.5 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/0.301, allocations: 4 kB / 446.5 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006318/0.3016, allocations: 119.8 kB / 446.6 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.196e-05/0.3016, allocations: 4 kB / 446.6 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004017/0.302, allocations: 36.03 kB / 446.6 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.753e-05/0.302, allocations: 15.94 kB / 446.6 MB, free: 7.938 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 1 (core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001918/0.3022, allocations: 162.3 kB / 446.8 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.964e-05/0.3023, allocations: 35.77 kB / 446.8 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001895/0.3042, allocations: 0.6408 MB / 447.5 MB, free: 7.09 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.127e-06/0.3042, allocations: 8 kB / 447.5 MB, free: 7.082 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.3042, allocations: 3.984 kB / 447.5 MB, free: 7.078 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.3043, allocations: 4 kB / 447.5 MB, free: 7.074 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003262/0.3075, allocations: 1.127 MB / 448.6 MB, free: 5.906 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/0.3075, allocations: 0 / 448.6 MB, free: 5.906 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004639/0.308, allocations: 91.89 kB / 448.7 MB, free: 5.816 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001618/0.3096, allocations: 268.5 kB / 449 MB, free: 5.551 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.454e-05/0.3096, allocations: 16 kB / 449 MB, free: 5.535 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004253/0.3139, allocations: 2.278 MB / 451.3 MB, free: 3.145 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.3139, allocations: 80 / 451.3 MB, free: 3.145 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002419/0.3163, allocations: 0.9998 MB / 452.3 MB, free: 2.129 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002197/0.3165, allocations: 75.73 kB / 452.3 MB, free: 2.055 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.7e-05/0.3166, allocations: 8 kB / 452.3 MB, free: 2.047 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004379/0.317, allocations: 31.97 kB / 452.4 MB, free: 2.016 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001242/0.3172, allocations: 40.3 kB / 452.4 MB, free: 1.977 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.828e-05/0.3172, allocations: 16 kB / 452.4 MB, free: 1.961 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002458/0.3174, allocations: 212.6 kB / 452.6 MB, free: 1.75 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3174, allocations: 0 / 452.6 MB, free: 1.75 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005747/0.318, allocations: 119.9 kB / 452.8 MB, free: 1.633 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (winding.i,core.Hstat,core.B,core.MagRel) * Number of discrete variables: 1 (core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 39 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002959/0.3183, allocations: 146.6 kB / 452.9 MB, free: 1.484 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001006/0.3193, allocations: 406.3 kB / 453.3 MB, free: 1.09 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.3193, allocations: 4.062 kB / 453.3 MB, free: 1.086 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007413/0.3201, allocations: 368.9 kB / 453.7 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004957/0.3206, allocations: 44.28 kB / 453.7 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002003/0.3226, allocations: 1.009 MB / 454.7 MB, free: 15.62 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002052/0.3228, allocations: 183.1 kB / 454.9 MB, free: 15.42 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001773/0.3229, allocations: 43.41 kB / 454.9 MB, free: 15.38 MB / 366.1 MB Notification: Performance of SimCode: time 1.103e-06/0.3229, allocations: 0 / 454.9 MB, free: 15.38 MB / 366.1 MB Notification: Performance of Templates: time 0.0103/0.3332, allocations: 5.892 MB / 460.8 MB, free: 9.492 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/InductorWithHysteresis/InductorWithHysteresis.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.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: 7.2009791187010705]