Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001333/0.001333, allocations: 108.6 kB / 21.19 MB, free: 0.7578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001381/0.001381, allocations: 193.2 kB / 24.47 MB, free: 4.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.44/1.44, allocations: 225.6 MB / 253.3 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00164/0.00164, allocations: 43.94 kB / 371.7 MB, free: 9.363 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2574/0.259, allocations: 52.18 MB / 423.9 MB, free: 14.7 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.004884/0.2639, allocations: 2.873 MB / 426.7 MB, free: 11.82 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002399/0.2663, allocations: 1.238 MB / 428 MB, free: 10.57 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002548/0.2665, allocations: 8 kB / 428 MB, free: 10.56 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003185/0.2669, allocations: 67.36 kB / 428.1 MB, free: 10.5 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007346/0.2676, allocations: 222.8 kB / 428.3 MB, free: 10.28 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003134/0.2679, allocations: 127.8 kB / 428.4 MB, free: 10.15 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006233/0.2685, allocations: 455.1 kB / 428.8 MB, free: 9.703 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001705/0.2687, allocations: 66.44 kB / 428.9 MB, free: 9.641 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003687/0.2691, allocations: 187.4 kB / 429.1 MB, free: 9.457 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00036/0.2694, allocations: 223.1 kB / 429.3 MB, free: 9.238 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.453e-05/0.2695, allocations: 44 kB / 429.4 MB, free: 9.195 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003455/0.2699, allocations: 167.9 kB / 429.5 MB, free: 9.031 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.029e-05/0.2699, allocations: 87.72 kB / 429.6 MB, free: 8.945 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001949/0.2701, allocations: 179.2 kB / 429.8 MB, free: 8.77 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006682/0.2708, allocations: 0.5095 MB / 430.3 MB, free: 8.262 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.2708, allocations: 0 / 430.3 MB, free: 8.262 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.2708, allocations: 0 / 430.3 MB, free: 8.262 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.525e-06/0.2708, allocations: 0 / 430.3 MB, free: 8.262 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.001758/0.2726, allocations: 0.6453 MB / 430.9 MB, free: 7.586 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.379e-05/0.2726, allocations: 8.031 kB / 430.9 MB, free: 7.578 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000125/0.2728, allocations: 40.7 kB / 431 MB, free: 7.539 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006713/0.2734, allocations: 275.2 kB / 431.3 MB, free: 7.238 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001297/0.2736, allocations: 106.3 kB / 431.4 MB, free: 7.117 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001812/0.2737, allocations: 40.5 kB / 431.4 MB, free: 7.078 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006879/0.2744, allocations: 321.6 kB / 431.7 MB, free: 6.754 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.917e-05/0.2744, allocations: 3.938 kB / 431.7 MB, free: 6.75 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.621e-05/0.2745, allocations: 8 kB / 431.7 MB, free: 6.742 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.448e-06/0.2745, allocations: 8 kB / 431.7 MB, free: 6.734 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000736/0.2752, allocations: 301.8 kB / 432 MB, free: 6.441 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002228/0.2775, allocations: 1.116 MB / 433.1 MB, free: 5.254 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006567/0.2781, allocations: 289 kB / 433.4 MB, free: 4.953 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003431/0.2785, allocations: 164 kB / 433.6 MB, free: 4.789 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.979e-05/0.2785, allocations: 4 kB / 433.6 MB, free: 4.785 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.516e-05/0.2785, allocations: 42.44 kB / 433.6 MB, free: 4.734 MB / 334.1 MB Notification: Performance of pre-optimization done (n=31): time 1.393e-06/0.2785, allocations: 4 kB / 433.6 MB, free: 4.73 MB / 334.1 MB Notification: Performance of matching and sorting (n=42): time 0.01177/0.2903, allocations: 2.266 MB / 435.9 MB, free: 2.43 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.261e-05/0.2904, allocations: 81.11 kB / 436 MB, free: 2.332 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004211/0.2908, allocations: 293.1 kB / 436.3 MB, free: 2.039 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.449e-05/0.2908, allocations: 29.7 kB / 436.3 MB, free: 2.004 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001458/0.291, allocations: 168.7 kB / 436.5 MB, free: 1.832 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001641/0.2911, allocations: 154.6 kB / 436.6 MB, free: 1.68 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001778/0.2913, allocations: 82.09 kB / 436.7 MB, free: 1.59 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001953/0.2915, allocations: 338.8 kB / 437 MB, free: 1.25 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004181/0.2919, allocations: 160.8 kB / 437.2 MB, free: 1.094 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004603/0.2924, allocations: 234.6 kB / 437.4 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009229/0.2933, allocations: 407.5 kB / 437.8 MB, free: 440 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.2933, allocations: 0 / 437.8 MB, free: 440 kB / 334.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001158/0.2945, allocations: 488.6 kB / 438.3 MB, free: 15.95 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.392e-05/0.2945, allocations: 4 kB / 438.3 MB, free: 15.94 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/0.2945, allocations: 4 kB / 438.3 MB, free: 15.94 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.312e-05/0.2945, allocations: 7.984 kB / 438.3 MB, free: 15.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006369/0.2952, allocations: 116 kB / 438.4 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.659e-05/0.2952, allocations: 4 kB / 438.4 MB, free: 15.81 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004202/0.2956, allocations: 31.98 kB / 438.4 MB, free: 15.78 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.124e-05/0.2957, allocations: 15.98 kB / 438.5 MB, free: 15.77 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.0002272/0.2959, allocations: 161.7 kB / 438.6 MB, free: 15.6 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001087/0.296, allocations: 31.81 kB / 438.6 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001997/0.298, allocations: 0.6524 MB / 439.3 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.499e-05/0.298, allocations: 12 kB / 439.3 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/0.298, allocations: 3.984 kB / 439.3 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/0.298, allocations: 0 / 439.3 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00352/0.3015, allocations: 1.247 MB / 440.6 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.449e-06/0.3015, allocations: 0 / 440.6 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004922/0.302, allocations: 91.88 kB / 440.7 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001732/0.3038, allocations: 268.5 kB / 440.9 MB, free: 13.24 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.497e-05/0.3038, allocations: 12 kB / 440.9 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00447/0.3083, allocations: 2.336 MB / 443.3 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.3083, allocations: 8.094 kB / 443.3 MB, free: 10.76 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002493/0.3108, allocations: 1.004 MB / 444.3 MB, free: 9.738 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000204/0.311, allocations: 67.73 kB / 444.3 MB, free: 9.672 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.759e-05/0.3111, allocations: 15.98 kB / 444.4 MB, free: 9.656 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004805/0.3115, allocations: 31.98 kB / 444.4 MB, free: 9.625 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001309/0.3117, allocations: 36.36 kB / 444.4 MB, free: 9.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.709e-05/0.3117, allocations: 12 kB / 444.4 MB, free: 9.578 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003152/0.312, allocations: 212.5 kB / 444.6 MB, free: 9.367 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.312, allocations: 0 / 444.6 MB, free: 9.367 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007302/0.3127, allocations: 115.9 kB / 444.8 MB, free: 9.254 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.0003577/0.3131, allocations: 147 kB / 444.9 MB, free: 9.102 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001135/0.3142, allocations: 418.2 kB / 445.3 MB, free: 8.695 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.3142, allocations: 3.938 kB / 445.3 MB, free: 8.691 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008249/0.3151, allocations: 364.9 kB / 445.7 MB, free: 8.32 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005233/0.3156, allocations: 48.59 kB / 445.7 MB, free: 8.273 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002322/0.3179, allocations: 0.9901 MB / 446.7 MB, free: 7.242 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005554/0.3185, allocations: 0.7892 MB / 447.5 MB, free: 6.422 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001808/0.3187, allocations: 47.34 kB / 447.5 MB, free: 6.375 MB / 350.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3187, allocations: 0 / 447.5 MB, free: 6.375 MB / 350.1 MB Notification: Performance of Templates: time 0.01137/0.33, allocations: 5.742 MB / 453.3 MB, free: 0.6406 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/InductorWithHysteresis/InductorWithHysteresis.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.297844878165051]