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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=10000,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=10000,variableFilter="time|core.B|core.Hstat|core.MagRel|winding.i",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001409/0.001409, allocations: 117.2 kB / 17.79 MB, free: 5.25 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001621/0.001622, allocations: 208.5 kB / 18.74 MB, free: 4.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.313/1.313, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001138/0.001138, allocations: 59.91 kB / 358.7 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.268/0.2692, allocations: 50.55 MB / 409.2 MB, free: 1.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.003867/0.2731, allocations: 2.835 MB / 412.1 MB, free: 14.73 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001946/0.275, allocations: 1.285 MB / 413.4 MB, free: 13.43 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001445/0.2752, allocations: 7.938 kB / 413.4 MB, free: 13.42 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002436/0.2755, allocations: 67.42 kB / 413.4 MB, free: 13.36 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005197/0.276, allocations: 230.6 kB / 413.7 MB, free: 13.13 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000263/0.2763, allocations: 131.7 kB / 413.8 MB, free: 13 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004144/0.2767, allocations: 467 kB / 414.3 MB, free: 12.54 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001647/0.2769, allocations: 84.5 kB / 414.3 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002564/0.2771, allocations: 183.5 kB / 414.5 MB, free: 12.28 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002811/0.2774, allocations: 231.1 kB / 414.7 MB, free: 12.05 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.754e-05/0.2775, allocations: 44 kB / 414.8 MB, free: 12.01 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002677/0.2778, allocations: 155.9 kB / 414.9 MB, free: 11.86 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.791e-05/0.2779, allocations: 99.7 kB / 415 MB, free: 11.76 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001612/0.278, allocations: 191.1 kB / 415.2 MB, free: 11.57 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005262/0.2786, allocations: 0.5035 MB / 415.7 MB, free: 11.07 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.2786, allocations: 0 / 415.7 MB, free: 11.07 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2786, allocations: 0 / 415.7 MB, free: 11.07 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.645e-06/0.2786, allocations: 0 / 415.7 MB, free: 11.07 MB / 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.001562/0.2802, allocations: 0.7055 MB / 416.4 MB, free: 10.31 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.816e-05/0.2802, allocations: 12.03 kB / 416.4 MB, free: 10.3 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001885/0.2804, allocations: 44.55 kB / 416.5 MB, free: 10.26 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000453/0.2809, allocations: 333.2 kB / 416.8 MB, free: 9.891 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.689e-05/0.281, allocations: 46.83 kB / 416.9 MB, free: 9.84 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001688/0.2811, allocations: 48.47 kB / 416.9 MB, free: 9.793 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005906/0.2817, allocations: 316.5 kB / 417.2 MB, free: 9.465 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/0.2818, allocations: 4 kB / 417.2 MB, free: 9.461 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.459e-05/0.2818, allocations: 8 kB / 417.2 MB, free: 9.453 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.056e-05/0.2818, allocations: 23.8 kB / 417.2 MB, free: 9.43 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006407/0.2825, allocations: 302 kB / 417.5 MB, free: 9.137 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001569/0.284, allocations: 1.156 MB / 418.7 MB, free: 7.902 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005797/0.2846, allocations: 291.3 kB / 419 MB, free: 7.602 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003131/0.285, allocations: 157.7 kB / 419.1 MB, free: 7.441 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.983e-05/0.285, allocations: 8 kB / 419.1 MB, free: 7.434 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.768e-05/0.285, allocations: 38.5 kB / 419.2 MB, free: 7.387 MB / 334.1 MB Notification: Performance of pre-optimization done (n=31): time 1.492e-06/0.285, allocations: 0 / 419.2 MB, free: 7.387 MB / 334.1 MB Notification: Performance of matching and sorting (n=42): time 0.008898/0.2939, allocations: 2.426 MB / 421.6 MB, free: 4.883 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.653e-05/0.294, allocations: 81.11 kB / 421.7 MB, free: 4.785 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003392/0.2944, allocations: 292.9 kB / 422 MB, free: 4.492 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.407e-05/0.2944, allocations: 29.7 kB / 422 MB, free: 4.457 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001049/0.2945, allocations: 180.4 kB / 422.2 MB, free: 4.277 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001009/0.2946, allocations: 145.8 kB / 422.3 MB, free: 4.133 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001471/0.2948, allocations: 82.09 kB / 422.4 MB, free: 4.043 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.2949, allocations: 338.8 kB / 422.7 MB, free: 3.703 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003761/0.2953, allocations: 156.8 kB / 422.9 MB, free: 3.551 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004051/0.2957, allocations: 234.6 kB / 423.1 MB, free: 3.305 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007916/0.2965, allocations: 407.8 kB / 423.5 MB, free: 2.887 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.2965, allocations: 4 kB / 423.5 MB, free: 2.883 MB / 334.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0009773/0.2975, allocations: 484.3 kB / 424 MB, free: 2.402 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.2975, allocations: 10.97 kB / 424 MB, free: 2.395 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.2975, allocations: 0 / 424 MB, free: 2.395 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.2975, allocations: 7.938 kB / 424 MB, free: 2.387 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006012/0.2982, allocations: 120 kB / 424.1 MB, free: 2.27 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/0.2982, allocations: 4 kB / 424.1 MB, free: 2.266 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003666/0.2985, allocations: 31.98 kB / 424.2 MB, free: 2.234 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.99e-05/0.2986, allocations: 19.98 kB / 424.2 MB, free: 2.215 MB / 334.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.0001504/0.2988, allocations: 153.7 kB / 424.3 MB, free: 2.055 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.516e-05/0.2989, allocations: 35.62 kB / 424.4 MB, free: 2.02 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00173/0.3006, allocations: 0.6487 MB / 425 MB, free: 1.363 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/0.3006, allocations: 8 kB / 425 MB, free: 1.355 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.695e-06/0.3006, allocations: 3.984 kB / 425 MB, free: 1.352 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.3006, allocations: 0 / 425 MB, free: 1.352 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002943/0.3036, allocations: 1.275 MB / 426.3 MB, free: 16 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.3036, allocations: 0 / 426.3 MB, free: 16 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004535/0.3041, allocations: 91.88 kB / 426.4 MB, free: 15.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001539/0.3056, allocations: 272.5 kB / 426.7 MB, free: 15.66 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.379e-05/0.3057, allocations: 15.98 kB / 426.7 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003769/0.3094, allocations: 2.435 MB / 429.1 MB, free: 13.06 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.3095, allocations: 0 / 429.1 MB, free: 13.06 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002151/0.3116, allocations: 1.011 MB / 430.1 MB, free: 12.03 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001789/0.3118, allocations: 148.7 kB / 430.3 MB, free: 11.87 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.302e-05/0.3119, allocations: 12 kB / 430.3 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004319/0.3123, allocations: 39.97 kB / 430.3 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001072/0.3124, allocations: 36.33 kB / 430.3 MB, free: 11.78 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.749e-05/0.3125, allocations: 12 kB / 430.4 MB, free: 11.77 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002114/0.3127, allocations: 212.5 kB / 430.6 MB, free: 11.56 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3127, allocations: 0 / 430.6 MB, free: 11.56 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005468/0.3133, allocations: 120 kB / 430.7 MB, free: 11.44 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.000265/0.3135, allocations: 139.1 kB / 430.8 MB, free: 11.3 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000895/0.3144, allocations: 437.9 kB / 431.2 MB, free: 10.87 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.3144, allocations: 4.375 kB / 431.3 MB, free: 10.87 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006773/0.3151, allocations: 380.8 kB / 431.6 MB, free: 10.48 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004783/0.3156, allocations: 47.81 kB / 431.7 MB, free: 10.44 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001815/0.3174, allocations: 0.9703 MB / 432.6 MB, free: 9.438 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004266/0.3179, allocations: 0.7891 MB / 433.4 MB, free: 8.617 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001909/0.3181, allocations: 38.95 kB / 433.5 MB, free: 8.582 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001363/0.3182, allocations: 39.41 kB / 433.5 MB, free: 8.543 MB / 350.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3182, allocations: 4 kB / 433.5 MB, free: 8.539 MB / 350.1 MB Notification: Performance of Templates: time 0.01084/0.3291, allocations: 6.413 MB / 439.9 MB, free: 2.141 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.makefile (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) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/InductorWithHysteresis/InductorWithHysteresis.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches