Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001596/0.001596, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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: 213.2 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.49/1.49, allocations: 230.6 MB / 258.3 MB, free: 8.027 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-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00208/0.00208, allocations: 63.91 kB / 379 MB, free: 2.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2997/0.3018, allocations: 53.37 MB / 432.4 MB, free: 6.973 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.004928/0.3067, allocations: 2.875 MB / 435.3 MB, free: 4.086 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002602/0.3094, allocations: 1.304 MB / 436.6 MB, free: 2.773 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002959/0.3096, allocations: 4 kB / 436.6 MB, free: 2.77 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003416/0.31, allocations: 71.41 kB / 436.7 MB, free: 2.699 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007799/0.3108, allocations: 232.7 kB / 436.9 MB, free: 2.473 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003967/0.3112, allocations: 131.7 kB / 437 MB, free: 2.344 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007121/0.3119, allocations: 471 kB / 437.5 MB, free: 1.879 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001765/0.3121, allocations: 64.88 kB / 437.5 MB, free: 1.816 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003596/0.3124, allocations: 191.4 kB / 437.7 MB, free: 1.629 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003426/0.3128, allocations: 223.1 kB / 437.9 MB, free: 1.41 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.747e-05/0.3128, allocations: 40 kB / 438 MB, free: 1.371 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003377/0.3132, allocations: 171.9 kB / 438.1 MB, free: 1.203 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.235e-05/0.3133, allocations: 99.66 kB / 438.2 MB, free: 1.105 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001777/0.3134, allocations: 175.2 kB / 438.4 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006863/0.3141, allocations: 0.5134 MB / 438.9 MB, free: 432 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.706e-06/0.3141, allocations: 4 kB / 438.9 MB, free: 428 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3141, allocations: 3.938 kB / 438.9 MB, free: 424 kB / 334.1 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.3141, allocations: 0 / 438.9 MB, free: 424 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.001692/0.3158, allocations: 0.6452 MB / 439.6 MB, free: 15.74 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.3159, allocations: 12.03 kB / 439.6 MB, free: 15.73 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001983/0.3161, allocations: 44.73 kB / 439.6 MB, free: 15.68 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005418/0.3166, allocations: 279.3 kB / 439.9 MB, free: 15.38 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001085/0.3167, allocations: 102.3 kB / 440 MB, free: 15.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001587/0.3169, allocations: 44.44 kB / 440.1 MB, free: 15.22 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006405/0.3175, allocations: 325.5 kB / 440.4 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/0.3175, allocations: 4 kB / 440.4 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.13e-05/0.3176, allocations: 8 kB / 440.4 MB, free: 14.88 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.133e-05/0.3176, allocations: 8 kB / 440.4 MB, free: 14.88 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006862/0.3183, allocations: 297.7 kB / 440.7 MB, free: 14.58 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00185/0.3201, allocations: 1.12 MB / 441.8 MB, free: 13.39 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006254/0.3207, allocations: 284.3 kB / 442.1 MB, free: 13.1 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000326/0.3211, allocations: 153.6 kB / 442.2 MB, free: 12.95 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.831e-05/0.3211, allocations: 4 kB / 442.2 MB, free: 12.94 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.056e-05/0.3211, allocations: 38.56 kB / 442.3 MB, free: 12.89 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 2.245e-06/0.3211, allocations: 0 / 442.3 MB, free: 12.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.00958/0.3307, allocations: 2.265 MB / 444.5 MB, free: 10.59 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.199e-05/0.3308, allocations: 89.05 kB / 444.6 MB, free: 10.48 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000457/0.3312, allocations: 297 kB / 444.9 MB, free: 10.19 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.092e-05/0.3313, allocations: 33.7 kB / 444.9 MB, free: 10.15 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001575/0.3314, allocations: 172.6 kB / 445.1 MB, free: 9.973 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001403/0.3316, allocations: 154.7 kB / 445.3 MB, free: 9.82 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001586/0.3317, allocations: 78.11 kB / 445.3 MB, free: 9.734 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001821/0.3319, allocations: 338.8 kB / 445.7 MB, free: 9.395 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004402/0.3324, allocations: 164.8 kB / 445.8 MB, free: 9.234 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004475/0.3328, allocations: 230.6 kB / 446.1 MB, free: 8.992 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000846/0.3336, allocations: 403.7 kB / 446.5 MB, free: 8.578 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.586e-06/0.3336, allocations: 4 kB / 446.5 MB, free: 8.574 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001051/0.3347, allocations: 488.7 kB / 446.9 MB, free: 8.09 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.356e-05/0.3347, allocations: 8 kB / 446.9 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/0.3347, allocations: 0 / 446.9 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.064e-05/0.3347, allocations: 4 kB / 446.9 MB, free: 8.078 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006277/0.3354, allocations: 115.8 kB / 447.1 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.3354, allocations: 8.188 kB / 447.1 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003988/0.3358, allocations: 35.97 kB / 447.1 MB, free: 7.922 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.638e-05/0.3358, allocations: 15.98 kB / 447.1 MB, free: 7.906 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.0001917/0.336, allocations: 153.7 kB / 447.3 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.665e-05/0.3361, allocations: 31.81 kB / 447.3 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002077/0.3382, allocations: 0.6641 MB / 448 MB, free: 7.047 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/0.3382, allocations: 7.938 kB / 448 MB, free: 7.039 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.3382, allocations: 0 / 448 MB, free: 7.039 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/0.3382, allocations: 3.984 kB / 448 MB, free: 7.035 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003292/0.3415, allocations: 1.24 MB / 449.2 MB, free: 5.742 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.3415, allocations: 3.938 kB / 449.2 MB, free: 5.738 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004613/0.342, allocations: 91.88 kB / 449.3 MB, free: 5.648 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00163/0.3436, allocations: 272.5 kB / 449.6 MB, free: 5.379 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.971e-05/0.3436, allocations: 15.98 kB / 449.6 MB, free: 5.363 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004336/0.348, allocations: 2.332 MB / 451.9 MB, free: 2.906 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.348, allocations: 0 / 451.9 MB, free: 2.906 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002378/0.3504, allocations: 1.012 MB / 452.9 MB, free: 1.879 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001918/0.3505, allocations: 75.73 kB / 453 MB, free: 1.805 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.979e-05/0.3506, allocations: 12 kB / 453 MB, free: 1.793 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004504/0.3511, allocations: 23.98 kB / 453 MB, free: 1.77 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001217/0.3512, allocations: 40.36 kB / 453.1 MB, free: 1.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.704e-05/0.3512, allocations: 23.98 kB / 453.1 MB, free: 1.707 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002477/0.3515, allocations: 212.5 kB / 453.3 MB, free: 1.496 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3515, allocations: 0 / 453.3 MB, free: 1.496 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005759/0.352, allocations: 115.9 kB / 453.4 MB, free: 1.383 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.0002632/0.3523, allocations: 147.2 kB / 453.6 MB, free: 1.23 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009933/0.3533, allocations: 413.9 kB / 454 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3533, allocations: 3.938 kB / 454 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007045/0.354, allocations: 369.3 kB / 454.3 MB, free: 464 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004738/0.3545, allocations: 36.42 kB / 454.4 MB, free: 428 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001861/0.3563, allocations: 0.9763 MB / 455.4 MB, free: 15.41 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004088/0.3567, allocations: 0.797 MB / 456.1 MB, free: 14.58 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002001/0.3569, allocations: 34.97 kB / 456.2 MB, free: 14.55 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000143/0.3571, allocations: 43.41 kB / 456.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3571, allocations: 0 / 456.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of Templates: time 0.01271/0.3698, allocations: 6.735 MB / 463 MB, free: 7.801 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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_4.1.0-beta.om_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.846220172941685]