Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.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.001509/0.001509, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.001655/0.001655, allocations: 209.8 kB / 24.49 MB, free: 4.133 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.404/1.404, allocations: 230.6 MB / 258.3 MB, free: 8.227 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.FluxTubes.Examples.Hysteresis.InductorWithHysteresis,tolerance=0.0001,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|core.B|core.Hstat|core.MagRel|winding.i",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001481/0.001481, allocations: 47.92 kB / 379 MB, free: 2.676 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2365/0.238, allocations: 53.36 MB / 432.4 MB, free: 6.949 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.004409/0.2424, allocations: 2.871 MB / 435.3 MB, free: 4.066 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002132/0.2445, allocations: 1.312 MB / 436.6 MB, free: 2.746 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001509/0.2447, allocations: 7.938 kB / 436.6 MB, free: 2.738 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002693/0.245, allocations: 71.41 kB / 436.7 MB, free: 2.668 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005385/0.2455, allocations: 230.7 kB / 436.9 MB, free: 2.441 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002786/0.2458, allocations: 123.8 kB / 437 MB, free: 2.32 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005022/0.2463, allocations: 463.1 kB / 437.5 MB, free: 1.863 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001563/0.2464, allocations: 70.38 kB / 437.5 MB, free: 1.797 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003182/0.2468, allocations: 187.5 kB / 437.7 MB, free: 1.613 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003284/0.2471, allocations: 227.1 kB / 437.9 MB, free: 1.391 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.408e-05/0.2471, allocations: 40 kB / 438 MB, free: 1.352 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000303/0.2474, allocations: 171.9 kB / 438.1 MB, free: 1.184 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.453e-05/0.2475, allocations: 99.61 kB / 438.2 MB, free: 1.086 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001808/0.2477, allocations: 179.2 kB / 438.4 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000641/0.2484, allocations: 0.5134 MB / 438.9 MB, free: 408 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.2484, allocations: 0 / 438.9 MB, free: 408 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2484, allocations: 0 / 438.9 MB, free: 408 kB / 334.1 MB Notification: Performance of Transformations before backend: time 6.722e-06/0.2484, allocations: 4 kB / 438.9 MB, free: 404 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.001703/0.2501, allocations: 0.6453 MB / 439.6 MB, free: 15.72 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.2501, allocations: 12.03 kB / 439.6 MB, free: 15.71 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001952/0.2503, allocations: 48.73 kB / 439.6 MB, free: 15.66 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005072/0.2508, allocations: 271.5 kB / 439.9 MB, free: 15.37 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001046/0.2509, allocations: 106.3 kB / 440 MB, free: 15.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001632/0.2511, allocations: 44.44 kB / 440 MB, free: 15.2 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006226/0.2517, allocations: 325.6 kB / 440.4 MB, free: 14.88 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.2517, allocations: 0 / 440.4 MB, free: 14.88 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.311e-05/0.2517, allocations: 11.98 kB / 440.4 MB, free: 14.86 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.048e-05/0.2518, allocations: 8 kB / 440.4 MB, free: 14.86 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006809/0.2524, allocations: 297.7 kB / 440.7 MB, free: 14.56 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001951/0.2544, allocations: 1.116 MB / 441.8 MB, free: 13.38 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006212/0.255, allocations: 281.8 kB / 442.1 MB, free: 13.09 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003161/0.2553, allocations: 153.6 kB / 442.2 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.947e-05/0.2554, allocations: 7.984 kB / 442.2 MB, free: 12.92 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.526e-05/0.2554, allocations: 46.5 kB / 442.3 MB, free: 12.87 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.603e-06/0.2554, allocations: 0 / 442.3 MB, free: 12.87 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.009838/0.2652, allocations: 2.265 MB / 444.5 MB, free: 10.56 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.685e-05/0.2653, allocations: 81.11 kB / 444.6 MB, free: 10.46 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005153/0.2658, allocations: 297 kB / 444.9 MB, free: 10.17 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.332e-05/0.2659, allocations: 33.7 kB / 444.9 MB, free: 10.13 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001299/0.266, allocations: 168.6 kB / 445.1 MB, free: 9.957 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001432/0.2662, allocations: 154.7 kB / 445.2 MB, free: 9.805 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001448/0.2663, allocations: 78.11 kB / 445.3 MB, free: 9.719 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001645/0.2665, allocations: 342.8 kB / 445.7 MB, free: 9.375 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003949/0.2669, allocations: 164.8 kB / 445.8 MB, free: 9.215 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005945/0.2675, allocations: 230.6 kB / 446 MB, free: 8.973 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008362/0.2683, allocations: 403.7 kB / 446.4 MB, free: 8.559 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2683, allocations: 0 / 446.4 MB, free: 8.559 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001067/0.2694, allocations: 492.6 kB / 446.9 MB, free: 8.07 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.708e-05/0.2694, allocations: 10.97 kB / 446.9 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.2694, allocations: 0 / 446.9 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.2695, allocations: 4 kB / 446.9 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005974/0.2701, allocations: 123.7 kB / 447.1 MB, free: 7.938 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.234e-05/0.2701, allocations: 4 kB / 447.1 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003827/0.2704, allocations: 36 kB / 447.1 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.184e-05/0.2705, allocations: 19.98 kB / 447.1 MB, free: 7.879 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.0001868/0.2707, allocations: 157.6 kB / 447.3 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.477e-05/0.2708, allocations: 31.81 kB / 447.3 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001939/0.2727, allocations: 0.6525 MB / 447.9 MB, free: 7.023 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.413e-06/0.2727, allocations: 4 kB / 448 MB, free: 7.02 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.2727, allocations: 4 kB / 448 MB, free: 7.016 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.417e-06/0.2727, allocations: 4 kB / 448 MB, free: 7.012 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003224/0.276, allocations: 1.236 MB / 449.2 MB, free: 5.727 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.276, allocations: 8 kB / 449.2 MB, free: 5.719 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004641/0.2764, allocations: 83.88 kB / 449.3 MB, free: 5.637 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001588/0.278, allocations: 272.5 kB / 449.6 MB, free: 5.367 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.917e-05/0.2781, allocations: 15.98 kB / 449.6 MB, free: 5.352 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004261/0.2823, allocations: 2.344 MB / 451.9 MB, free: 2.883 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.2823, allocations: 0 / 451.9 MB, free: 2.883 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002362/0.2847, allocations: 1.015 MB / 452.9 MB, free: 1.852 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001777/0.2849, allocations: 71.73 kB / 453 MB, free: 1.781 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.981e-05/0.2849, allocations: 12 kB / 453 MB, free: 1.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004356/0.2853, allocations: 24.17 kB / 453 MB, free: 1.746 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001126/0.2855, allocations: 40.3 kB / 453.1 MB, free: 1.707 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.497e-05/0.2855, allocations: 23.92 kB / 453.1 MB, free: 1.684 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002605/0.2858, allocations: 216.5 kB / 453.3 MB, free: 1.469 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2858, allocations: 0 / 453.3 MB, free: 1.469 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005438/0.2863, allocations: 115.9 kB / 453.4 MB, free: 1.355 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.0002454/0.2865, allocations: 135.1 kB / 453.5 MB, free: 1.215 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001005/0.2876, allocations: 417.9 kB / 454 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.2876, allocations: 0 / 454 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007041/0.2883, allocations: 373.3 kB / 454.3 MB, free: 444 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004566/0.2887, allocations: 36.42 kB / 454.4 MB, free: 408 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001864/0.2906, allocations: 1.008 MB / 455.4 MB, free: 15.35 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004178/0.291, allocations: 0.7853 MB / 456.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001658/0.2912, allocations: 43.41 kB / 456.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of SimCode: time 5.01e-07/0.2912, allocations: 4 kB / 456.2 MB, free: 14.49 MB / 366.1 MB Notification: Performance of Templates: time 0.008976/0.3001, allocations: 5.774 MB / 462 MB, free: 8.727 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.sim & ./Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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: 6.980073440121487]