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.001845/0.001845, allocations: 109 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.002298/0.002298, allocations: 213.9 kB / 24.54 MB, free: 4.02 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.595/1.595, allocations: 230.3 MB / 258 MB, free: 8.227 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.001711/0.001711, allocations: 63.88 kB / 378.7 MB, free: 2.789 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2816/0.2833, allocations: 53.36 MB / 432.1 MB, free: 7.082 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.004337/0.2876, allocations: 2.882 MB / 435 MB, free: 4.191 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002283/0.2899, allocations: 1.316 MB / 436.3 MB, free: 2.867 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001719/0.2901, allocations: 7.938 kB / 436.3 MB, free: 2.859 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002714/0.2904, allocations: 63.42 kB / 436.4 MB, free: 2.797 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005809/0.2909, allocations: 238.3 kB / 436.6 MB, free: 2.566 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003073/0.2912, allocations: 127.8 kB / 436.7 MB, free: 2.441 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005386/0.2918, allocations: 463.1 kB / 437.2 MB, free: 1.984 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001605/0.2919, allocations: 72.88 kB / 437.3 MB, free: 1.914 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003135/0.2923, allocations: 183.5 kB / 437.4 MB, free: 1.734 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003258/0.2926, allocations: 231.1 kB / 437.7 MB, free: 1.508 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.04e-05/0.2927, allocations: 40 kB / 437.7 MB, free: 1.469 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003356/0.293, allocations: 167.9 kB / 437.9 MB, free: 1.305 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001019/0.2931, allocations: 91.72 kB / 438 MB, free: 1.215 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001975/0.2933, allocations: 187.1 kB / 438.1 MB, free: 1.031 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006967/0.294, allocations: 0.504 MB / 438.6 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.294, allocations: 4 kB / 438.6 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.22e-07/0.294, allocations: 4 kB / 438.6 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.153e-06/0.294, allocations: 0 / 438.6 MB, free: 0.5195 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.001752/0.2958, allocations: 0.6414 MB / 439.3 MB, free: 15.85 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.939e-05/0.2958, allocations: 8.031 kB / 439.3 MB, free: 15.84 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002457/0.2961, allocations: 48.73 kB / 439.3 MB, free: 15.79 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000583/0.2966, allocations: 279.5 kB / 439.6 MB, free: 15.49 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.478e-05/0.2967, allocations: 50.91 kB / 439.7 MB, free: 15.44 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001675/0.2969, allocations: 48.42 kB / 439.7 MB, free: 15.39 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000711/0.2976, allocations: 321.5 kB / 440 MB, free: 15.07 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.711e-05/0.2976, allocations: 0 / 440 MB, free: 15.07 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.562e-05/0.2977, allocations: 12 kB / 440 MB, free: 15.05 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.132e-05/0.2977, allocations: 8 kB / 440 MB, free: 15.05 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007381/0.2984, allocations: 297.8 kB / 440.3 MB, free: 14.75 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001856/0.3003, allocations: 1.124 MB / 441.5 MB, free: 13.56 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006165/0.3009, allocations: 276.6 kB / 441.7 MB, free: 13.28 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003412/0.3012, allocations: 163.8 kB / 441.9 MB, free: 13.11 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.267e-05/0.3012, allocations: 4 kB / 441.9 MB, free: 13.11 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.951e-05/0.3013, allocations: 38.56 kB / 441.9 MB, free: 13.06 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.834e-06/0.3013, allocations: 3.938 kB / 441.9 MB, free: 13.06 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.009589/0.3109, allocations: 2.269 MB / 444.2 MB, free: 10.75 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.201e-05/0.3109, allocations: 81.11 kB / 444.3 MB, free: 10.65 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004076/0.3113, allocations: 301 kB / 444.6 MB, free: 10.35 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.36e-05/0.3114, allocations: 29.7 kB / 444.6 MB, free: 10.32 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00013/0.3115, allocations: 172.6 kB / 444.8 MB, free: 10.14 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001388/0.3116, allocations: 154.7 kB / 444.9 MB, free: 9.988 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001551/0.3118, allocations: 82.11 kB / 445 MB, free: 9.898 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000165/0.312, allocations: 338.8 kB / 445.3 MB, free: 9.559 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004208/0.3124, allocations: 164.7 kB / 445.5 MB, free: 9.398 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004719/0.3129, allocations: 230.7 kB / 445.7 MB, free: 9.156 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008854/0.3137, allocations: 399.8 kB / 446.1 MB, free: 8.746 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.3137, allocations: 0 / 446.1 MB, free: 8.746 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001108/0.3148, allocations: 0.4887 MB / 446.6 MB, free: 8.25 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.3149, allocations: 8 kB / 446.6 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.3149, allocations: 0 / 446.6 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.154e-05/0.3149, allocations: 4 kB / 446.6 MB, free: 8.238 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000642/0.3155, allocations: 111.9 kB / 446.7 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.145e-05/0.3156, allocations: 4.125 kB / 446.7 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004113/0.316, allocations: 39.97 kB / 446.8 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.912e-05/0.316, allocations: 16 kB / 446.8 MB, free: 8.07 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.0002055/0.3162, allocations: 161.6 kB / 446.9 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001019/0.3163, allocations: 31.81 kB / 447 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001993/0.3183, allocations: 0.6525 MB / 447.6 MB, free: 7.215 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.284e-06/0.3183, allocations: 8 kB / 447.6 MB, free: 7.207 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.3183, allocations: 0 / 447.6 MB, free: 7.207 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.3183, allocations: 0 / 447.6 MB, free: 7.207 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003417/0.3217, allocations: 1.243 MB / 448.9 MB, free: 5.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.3217, allocations: 0 / 448.9 MB, free: 5.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004654/0.3222, allocations: 91.88 kB / 449 MB, free: 5.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001646/0.3239, allocations: 272.5 kB / 449.2 MB, free: 5.551 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.311e-05/0.3239, allocations: 15.98 kB / 449.3 MB, free: 5.535 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004354/0.3283, allocations: 2.34 MB / 451.6 MB, free: 3.07 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.3283, allocations: 0 / 451.6 MB, free: 3.07 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002493/0.3307, allocations: 1.015 MB / 452.6 MB, free: 2.039 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002074/0.331, allocations: 71.69 kB / 452.7 MB, free: 1.969 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.354e-05/0.331, allocations: 8 kB / 452.7 MB, free: 1.961 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004662/0.3315, allocations: 27.98 kB / 452.7 MB, free: 1.934 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001176/0.3316, allocations: 36.36 kB / 452.7 MB, free: 1.898 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.743e-05/0.3316, allocations: 19.98 kB / 452.8 MB, free: 1.879 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002591/0.3319, allocations: 216.5 kB / 453 MB, free: 1.664 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3319, allocations: 0 / 453 MB, free: 1.664 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005941/0.3325, allocations: 115.9 kB / 453.1 MB, free: 1.551 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.0003108/0.3328, allocations: 139.1 kB / 453.2 MB, free: 1.406 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001056/0.3339, allocations: 413.9 kB / 453.6 MB, free: 1.004 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3339, allocations: 0 / 453.6 MB, free: 1.004 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000756/0.3346, allocations: 381.2 kB / 454 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005114/0.3351, allocations: 32.42 kB / 454 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001925/0.3371, allocations: 0.9763 MB / 455 MB, free: 15.58 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004425/0.3375, allocations: 0.7894 MB / 455.8 MB, free: 14.76 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002171/0.3377, allocations: 42.95 kB / 455.8 MB, free: 14.71 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001449/0.3379, allocations: 43.34 kB / 455.9 MB, free: 14.67 MB / 366.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3379, allocations: 0 / 455.9 MB, free: 14.67 MB / 366.1 MB Notification: Performance of Templates: time 0.01305/0.3509, allocations: 6.737 MB / 462.6 MB, free: 7.957 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.851969446986914]