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.001511/0.001511, allocations: 107.6 kB / 21.18 MB, free: 0.5273 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.001432/0.001432, allocations: 205.1 kB / 24.48 MB, free: 3.695 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.424/1.424, allocations: 230.6 MB / 258.3 MB, free: 7.785 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.001957/0.001957, allocations: 47.92 kB / 379 MB, free: 2.461 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2816/0.2835, allocations: 53.36 MB / 432.3 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.004392/0.2879, allocations: 2.683 MB / 435 MB, free: 4.008 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002338/0.2903, allocations: 1.211 MB / 436.2 MB, free: 2.789 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002005/0.2905, allocations: 4 kB / 436.2 MB, free: 2.785 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002932/0.2908, allocations: 67.03 kB / 436.3 MB, free: 2.723 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006341/0.2914, allocations: 230.8 kB / 436.5 MB, free: 2.496 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003357/0.2917, allocations: 123.8 kB / 436.6 MB, free: 2.375 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005461/0.2923, allocations: 467 kB / 437.1 MB, free: 1.914 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001591/0.2924, allocations: 68.83 kB / 437.2 MB, free: 1.848 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003328/0.2928, allocations: 203.3 kB / 437.4 MB, free: 1.648 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003468/0.2931, allocations: 219.2 kB / 437.6 MB, free: 1.434 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.442e-05/0.2932, allocations: 40 kB / 437.6 MB, free: 1.395 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003144/0.2935, allocations: 167.9 kB / 437.8 MB, free: 1.23 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.745e-05/0.2936, allocations: 95.64 kB / 437.9 MB, free: 1.137 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001792/0.2938, allocations: 155.4 kB / 438 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000677/0.2944, allocations: 0.5165 MB / 438.5 MB, free: 480 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.2944, allocations: 0 / 438.5 MB, free: 480 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2944, allocations: 4 kB / 438.5 MB, free: 476 kB / 334.1 MB Notification: Performance of Transformations before backend: time 7.665e-06/0.2945, allocations: 0 / 438.5 MB, free: 476 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.001836/0.2963, allocations: 0.6414 MB / 439.2 MB, free: 15.79 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.2963, allocations: 8.031 kB / 439.2 MB, free: 15.79 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002194/0.2966, allocations: 48.73 kB / 439.2 MB, free: 15.74 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005664/0.2971, allocations: 279.3 kB / 439.5 MB, free: 15.44 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000118/0.2972, allocations: 106.3 kB / 439.6 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001713/0.2974, allocations: 44.41 kB / 439.7 MB, free: 15.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006997/0.2981, allocations: 343.3 kB / 440 MB, free: 14.92 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.722e-05/0.2981, allocations: 0 / 440 MB, free: 14.92 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.45e-05/0.2982, allocations: 12 kB / 440 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.167e-05/0.2982, allocations: 8 kB / 440 MB, free: 14.9 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000712/0.2989, allocations: 305.7 kB / 440.3 MB, free: 14.6 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00188/0.3008, allocations: 0.9955 MB / 441.3 MB, free: 13.55 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006546/0.3014, allocations: 276.2 kB / 441.6 MB, free: 13.27 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003456/0.3018, allocations: 157.6 kB / 441.7 MB, free: 13.11 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.943e-05/0.3018, allocations: 8 kB / 441.7 MB, free: 13.1 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.012e-05/0.3018, allocations: 34.5 kB / 441.8 MB, free: 13.05 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 2.374e-06/0.3018, allocations: 0 / 441.8 MB, free: 13.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.01047/0.3123, allocations: 2.28 MB / 444 MB, free: 10.73 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.293e-05/0.3124, allocations: 81.11 kB / 444.1 MB, free: 10.64 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000408/0.3128, allocations: 297 kB / 444.4 MB, free: 10.34 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.846e-05/0.3128, allocations: 33.7 kB / 444.4 MB, free: 10.3 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001398/0.313, allocations: 168.7 kB / 444.6 MB, free: 10.13 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001425/0.3131, allocations: 154.6 kB / 444.8 MB, free: 9.977 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001708/0.3133, allocations: 82.09 kB / 444.8 MB, free: 9.887 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001641/0.3134, allocations: 338.8 kB / 445.2 MB, free: 9.547 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004136/0.3139, allocations: 160.8 kB / 445.3 MB, free: 9.391 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004586/0.3143, allocations: 230.7 kB / 445.6 MB, free: 9.148 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008953/0.3152, allocations: 403.8 kB / 446 MB, free: 8.734 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.3152, allocations: 0 / 446 MB, free: 8.734 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001107/0.3163, allocations: 488.6 kB / 446.4 MB, free: 8.25 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.314e-05/0.3163, allocations: 4 kB / 446.4 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.3163, allocations: 8.125 kB / 446.4 MB, free: 8.238 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.353e-05/0.3164, allocations: 8 kB / 446.4 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006685/0.317, allocations: 119.8 kB / 446.6 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.77e-05/0.3171, allocations: 8 kB / 446.6 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004448/0.3175, allocations: 31.98 kB / 446.6 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.888e-05/0.3175, allocations: 11.98 kB / 446.6 MB, free: 8.062 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.0002023/0.3177, allocations: 157.7 kB / 446.8 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001045/0.3179, allocations: 35.77 kB / 446.8 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002044/0.3199, allocations: 0.6447 MB / 447.5 MB, free: 7.215 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.143e-06/0.3199, allocations: 8 kB / 447.5 MB, free: 7.207 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.3199, allocations: 0 / 447.5 MB, free: 7.207 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.765e-06/0.3199, allocations: 3.984 kB / 447.5 MB, free: 7.203 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003413/0.3233, allocations: 1.135 MB / 448.6 MB, free: 6.027 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.3233, allocations: 0 / 448.6 MB, free: 6.027 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004933/0.3238, allocations: 87.88 kB / 448.7 MB, free: 5.941 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001794/0.3256, allocations: 264.6 kB / 448.9 MB, free: 5.68 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.646e-05/0.3257, allocations: 15.98 kB / 449 MB, free: 5.664 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004298/0.33, allocations: 2.286 MB / 451.2 MB, free: 3.266 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.33, allocations: 96 / 451.2 MB, free: 3.266 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002494/0.3325, allocations: 1.004 MB / 452.2 MB, free: 2.246 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002074/0.3327, allocations: 75.73 kB / 452.3 MB, free: 2.172 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.41e-05/0.3327, allocations: 11.94 kB / 452.3 MB, free: 2.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004837/0.3332, allocations: 27.97 kB / 452.4 MB, free: 2.133 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000123/0.3333, allocations: 32.38 kB / 452.4 MB, free: 2.102 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.925e-05/0.3334, allocations: 23.98 kB / 452.4 MB, free: 2.078 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002451/0.3336, allocations: 212.5 kB / 452.6 MB, free: 1.867 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3336, allocations: 0 / 452.6 MB, free: 1.867 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005679/0.3342, allocations: 115.9 kB / 452.7 MB, free: 1.754 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.0002776/0.3345, allocations: 135.1 kB / 452.9 MB, free: 1.613 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009772/0.3354, allocations: 417.9 kB / 453.3 MB, free: 1.207 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3354, allocations: 0 / 453.3 MB, free: 1.207 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007264/0.3362, allocations: 373.3 kB / 453.6 MB, free: 0.832 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004811/0.3367, allocations: 40.36 kB / 453.7 MB, free: 0.793 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001837/0.3385, allocations: 1.002 MB / 454.7 MB, free: 15.75 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001766/0.3387, allocations: 183.3 kB / 454.9 MB, free: 15.55 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001617/0.3388, allocations: 35.42 kB / 454.9 MB, free: 15.51 MB / 366.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3388, allocations: 3.938 kB / 454.9 MB, free: 15.51 MB / 366.1 MB Notification: Performance of Templates: time 0.0096/0.3484, allocations: 5.888 MB / 460.8 MB, free: 9.629 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: 7.283845134981675]