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.001771/0.001771, allocations: 108.7 kB / 19.8 MB, free: 2.516 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.002076/0.002076, allocations: 211.8 kB / 22.99 MB, free: 5.609 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.447/1.447, allocations: 230.2 MB / 256.2 MB, free: 8.547 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.00181/0.00181, allocations: 67.89 kB / 376.5 MB, free: 3.594 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2634/0.2652, allocations: 53.33 MB / 429.8 MB, free: 7.523 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.004293/0.2695, allocations: 2.874 MB / 432.7 MB, free: 4.637 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0022/0.2717, allocations: 1.3 MB / 434 MB, free: 3.328 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001508/0.2718, allocations: 7.938 kB / 434 MB, free: 3.32 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002779/0.2721, allocations: 67.42 kB / 434 MB, free: 3.254 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005235/0.2726, allocations: 230.7 kB / 434.3 MB, free: 3.027 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002671/0.2729, allocations: 139.7 kB / 434.4 MB, free: 2.891 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004625/0.2734, allocations: 459 kB / 434.8 MB, free: 2.438 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001512/0.2735, allocations: 66.23 kB / 434.9 MB, free: 2.371 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002753/0.2738, allocations: 195.4 kB / 435.1 MB, free: 2.18 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002845/0.2741, allocations: 219.2 kB / 435.3 MB, free: 1.965 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.991e-05/0.2741, allocations: 40 kB / 435.4 MB, free: 1.926 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002786/0.2744, allocations: 163.9 kB / 435.5 MB, free: 1.766 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.779e-05/0.2745, allocations: 99.64 kB / 435.6 MB, free: 1.668 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001751/0.2747, allocations: 191 kB / 435.8 MB, free: 1.48 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006206/0.2753, allocations: 0.5095 MB / 436.3 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.2753, allocations: 3.938 kB / 436.3 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.2753, allocations: 0 / 436.3 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.833e-06/0.2753, allocations: 0 / 436.3 MB, free: 0.9688 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.001645/0.2769, allocations: 0.7129 MB / 437 MB, free: 212 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.277, allocations: 16.03 kB / 437 MB, free: 196 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001763/0.2772, allocations: 44.73 kB / 437.1 MB, free: 152 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004503/0.2776, allocations: 333.4 kB / 437.4 MB, free: 15.78 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.549e-05/0.2777, allocations: 46.83 kB / 437.5 MB, free: 15.73 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001558/0.2778, allocations: 44.42 kB / 437.5 MB, free: 15.69 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006079/0.2784, allocations: 324.5 kB / 437.8 MB, free: 15.36 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/0.2785, allocations: 3.938 kB / 437.8 MB, free: 15.35 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.12e-05/0.2785, allocations: 8 kB / 437.8 MB, free: 15.34 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.999e-06/0.2785, allocations: 8 kB / 437.8 MB, free: 15.34 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000677/0.2792, allocations: 306 kB / 438.1 MB, free: 15.04 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001847/0.281, allocations: 1.156 MB / 439.3 MB, free: 13.8 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006032/0.2816, allocations: 281 kB / 439.6 MB, free: 13.51 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003106/0.2819, allocations: 145.7 kB / 439.7 MB, free: 13.36 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.697e-05/0.282, allocations: 4 kB / 439.7 MB, free: 13.36 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.117e-05/0.282, allocations: 46.55 kB / 439.8 MB, free: 13.3 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.453e-06/0.282, allocations: 0 / 439.8 MB, free: 13.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.00918/0.2912, allocations: 2.419 MB / 442.2 MB, free: 10.81 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.846e-05/0.2913, allocations: 89.05 kB / 442.3 MB, free: 10.7 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003802/0.2916, allocations: 289 kB / 442.5 MB, free: 10.41 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.419e-05/0.2917, allocations: 29.7 kB / 442.6 MB, free: 10.38 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001337/0.2918, allocations: 176.6 kB / 442.7 MB, free: 10.2 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001353/0.2919, allocations: 154.7 kB / 442.9 MB, free: 10.05 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001528/0.2921, allocations: 78.11 kB / 443 MB, free: 9.965 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001578/0.2923, allocations: 338.8 kB / 443.3 MB, free: 9.625 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003885/0.2926, allocations: 160.8 kB / 443.5 MB, free: 9.469 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004288/0.2931, allocations: 230.7 kB / 443.7 MB, free: 9.227 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008153/0.2939, allocations: 407.7 kB / 444.1 MB, free: 8.809 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.2939, allocations: 4 kB / 444.1 MB, free: 8.805 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0009905/0.2949, allocations: 484.5 kB / 444.6 MB, free: 8.324 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.2949, allocations: 11.98 kB / 444.6 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.2949, allocations: 0 / 444.6 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/0.2949, allocations: 4 kB / 444.6 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006026/0.2955, allocations: 120 kB / 444.7 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.078e-05/0.2955, allocations: 7.938 kB / 444.7 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003617/0.2959, allocations: 31.98 kB / 444.7 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.953e-05/0.2959, allocations: 19.98 kB / 444.8 MB, free: 8.133 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.0001697/0.2961, allocations: 157.6 kB / 444.9 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.825e-05/0.2962, allocations: 31.81 kB / 444.9 MB, free: 7.938 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00184/0.298, allocations: 0.6602 MB / 445.6 MB, free: 7.266 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.105e-06/0.298, allocations: 4 kB / 445.6 MB, free: 7.262 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.2981, allocations: 0 / 445.6 MB, free: 7.262 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.2981, allocations: 0 / 445.6 MB, free: 7.262 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003158/0.3012, allocations: 1.279 MB / 446.9 MB, free: 5.926 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.3012, allocations: 0 / 446.9 MB, free: 5.926 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004341/0.3017, allocations: 87.88 kB / 447 MB, free: 5.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001617/0.3033, allocations: 268.6 kB / 447.2 MB, free: 5.574 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.919e-05/0.3033, allocations: 15.98 kB / 447.2 MB, free: 5.559 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004061/0.3074, allocations: 2.436 MB / 449.7 MB, free: 2.98 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.3074, allocations: 0 / 449.7 MB, free: 2.98 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002302/0.3097, allocations: 1.015 MB / 450.7 MB, free: 1.945 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001698/0.3098, allocations: 144.9 kB / 450.8 MB, free: 1.785 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.788e-05/0.3099, allocations: 12 kB / 450.9 MB, free: 1.773 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004354/0.3103, allocations: 27.97 kB / 450.9 MB, free: 1.746 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000125/0.3105, allocations: 40.58 kB / 450.9 MB, free: 1.707 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.435e-05/0.3105, allocations: 15.98 kB / 450.9 MB, free: 1.691 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002356/0.3107, allocations: 216.4 kB / 451.1 MB, free: 1.477 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3107, allocations: 0 / 451.1 MB, free: 1.477 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005531/0.3113, allocations: 119.9 kB / 451.3 MB, free: 1.359 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.0002749/0.3116, allocations: 143.1 kB / 451.4 MB, free: 1.211 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000958/0.3125, allocations: 413.9 kB / 451.8 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3125, allocations: 0 / 451.8 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007034/0.3132, allocations: 377.3 kB / 452.2 MB, free: 440 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004705/0.3137, allocations: 42.14 kB / 452.2 MB, free: 404 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001777/0.3155, allocations: 0.9738 MB / 453.2 MB, free: 15.38 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003943/0.3159, allocations: 0.793 MB / 454 MB, free: 14.56 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001845/0.316, allocations: 38.95 kB / 454 MB, free: 14.53 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001414/0.3162, allocations: 39.41 kB / 454.1 MB, free: 14.49 MB / 366.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3162, allocations: 0 / 454.1 MB, free: 14.49 MB / 366.1 MB Notification: Performance of Templates: time 0.01181/0.328, allocations: 6.629 MB / 460.7 MB, free: 7.883 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.582591383717954]