Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009336/0.0009336, allocations: 76.81 kB / 22.28 MB, free: 2.215 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009125/0.0009125, allocations: 170.4 kB / 25.7 MB, free: 8.453 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8644/0.8644, allocations: 158.6 MB / 187.6 MB, free: 2.801 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_3.2.3_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_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 251.5 MB, free: 7.297 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.066e-05/1.185e-05, allocations: 10.19 kB / 251.5 MB, free: 7.285 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.002636/0.002647, allocations: 2.759 MB / 254.3 MB, free: 4.508 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001358/0.004006, allocations: 1.27 MB / 255.6 MB, free: 3.227 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000107/0.004113, allocations: 0 / 255.6 MB, free: 3.227 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001847/0.004297, allocations: 63.39 kB / 255.6 MB, free: 3.164 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000398/0.004695, allocations: 242.5 kB / 255.9 MB, free: 2.926 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001809/0.004876, allocations: 111.8 kB / 256 MB, free: 2.816 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003245/0.005201, allocations: 470.9 kB / 256.4 MB, free: 2.355 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.00531, allocations: 66.73 kB / 256.5 MB, free: 2.289 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002295/0.00554, allocations: 267.5 kB / 256.7 MB, free: 2.027 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001787/0.005718, allocations: 179.5 kB / 256.9 MB, free: 1.852 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.252e-05/0.005761, allocations: 40 kB / 257 MB, free: 1.812 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001754/0.005936, allocations: 151.9 kB / 257.1 MB, free: 1.664 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 6.019e-05/0.005996, allocations: 95.64 kB / 257.2 MB, free: 1.566 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 8.802e-05/0.006084, allocations: 131.7 kB / 257.3 MB, free: 1.438 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003295/0.006414, allocations: 398.6 kB / 257.7 MB, free: 1.047 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.694e-06/0.006416, allocations: 0 / 257.7 MB, free: 1.047 MB / 234.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.006416, allocations: 0 / 257.7 MB, free: 1.047 MB / 234.7 MB Notification: Performance of Transformations before backend: time 3.095e-06/0.006419, allocations: 4 kB / 257.7 MB, free: 1.043 MB / 234.7 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.0007595/0.007179, allocations: 0.5972 MB / 258.3 MB, free: 432 kB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.783e-05/0.007207, allocations: 11.98 kB / 258.3 MB, free: 420 kB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.449e-05/0.007271, allocations: 56.83 kB / 258.4 MB, free: 364 kB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002114/0.007482, allocations: 205.2 kB / 258.6 MB, free: 128 kB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.381e-05/0.007546, allocations: 102.3 kB / 258.7 MB, free: 8 kB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.764e-05/0.007644, allocations: 48.7 kB / 258.7 MB, free: 15.96 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002543/0.007898, allocations: 280.4 kB / 259 MB, free: 15.66 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.54e-05/0.007914, allocations: 7.922 kB / 259 MB, free: 15.65 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.888e-05/0.007933, allocations: 8 kB / 259 MB, free: 15.64 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.007939, allocations: 8 kB / 259 MB, free: 15.63 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001589/0.008098, allocations: 117.3 kB / 259.1 MB, free: 15.52 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007955/0.008894, allocations: 0.781 MB / 259.9 MB, free: 14.7 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001868/0.00908, allocations: 173 kB / 260.1 MB, free: 14.51 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.513e-05/0.009156, allocations: 73.67 kB / 260.2 MB, free: 14.43 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.722e-05/0.009173, allocations: 4 kB / 260.2 MB, free: 14.43 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.784e-05/0.009191, allocations: 38.56 kB / 260.2 MB, free: 14.38 MB / 250.7 MB Notification: Performance of pre-optimization done (n=31): time 1.252e-06/0.009192, allocations: 0 / 260.2 MB, free: 14.38 MB / 250.7 MB Notification: Performance of matching and sorting (n=42): time 0.00405/0.01324, allocations: 1.912 MB / 262.1 MB, free: 12.43 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.367e-05/0.01328, allocations: 81.11 kB / 262.2 MB, free: 12.33 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001449/0.01342, allocations: 242.6 kB / 262.4 MB, free: 12.08 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.607e-05/0.01345, allocations: 33.7 kB / 262.5 MB, free: 12.04 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.539e-05/0.0135, allocations: 152.7 kB / 262.6 MB, free: 11.89 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.062e-05/0.01357, allocations: 150.6 kB / 262.8 MB, free: 11.74 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.535e-05/0.01366, allocations: 86.12 kB / 262.9 MB, free: 11.65 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.768e-05/0.01374, allocations: 342.8 kB / 263.2 MB, free: 11.31 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.31e-05/0.01381, allocations: 44.97 kB / 263.2 MB, free: 11.26 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001/0.01391, allocations: 115.2 kB / 263.3 MB, free: 11.13 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001901/0.0141, allocations: 207.5 kB / 263.5 MB, free: 10.91 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.0141, allocations: 0 / 263.5 MB, free: 10.91 MB / 250.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.000244/0.01434, allocations: 232.8 kB / 263.8 MB, free: 10.68 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.828e-06/0.01435, allocations: 8.031 kB / 263.8 MB, free: 10.67 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.01436, allocations: 4 kB / 263.8 MB, free: 10.66 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.01437, allocations: 7.938 kB / 263.8 MB, free: 10.66 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002571/0.01463, allocations: 111.9 kB / 263.9 MB, free: 10.55 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.01463, allocations: 4 kB / 263.9 MB, free: 10.54 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001351/0.01477, allocations: 27.94 kB / 263.9 MB, free: 10.52 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.799e-05/0.01479, allocations: 19.98 kB / 264 MB, free: 10.5 MB / 250.7 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 8.768e-05/0.01487, allocations: 129.7 kB / 264.1 MB, free: 10.36 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.738e-05/0.01493, allocations: 35.97 kB / 264.1 MB, free: 10.32 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005326/0.01546, allocations: 366.9 kB / 264.5 MB, free: 9.957 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.01547, allocations: 12 kB / 264.5 MB, free: 9.945 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-06/0.01547, allocations: 3.938 kB / 264.5 MB, free: 9.941 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.01548, allocations: 7.922 kB / 264.5 MB, free: 9.934 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001063/0.01654, allocations: 0.685 MB / 265.2 MB, free: 9.223 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.01654, allocations: 0 / 265.2 MB, free: 9.223 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001979/0.01674, allocations: 79.89 kB / 265.3 MB, free: 9.145 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005684/0.01731, allocations: 216.5 kB / 265.5 MB, free: 8.93 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.126e-05/0.01733, allocations: 19.86 kB / 265.5 MB, free: 8.91 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00136/0.01869, allocations: 1.677 MB / 267.2 MB, free: 7.148 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.01869, allocations: 0 / 267.2 MB, free: 7.148 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006468/0.01934, allocations: 0.5849 MB / 267.8 MB, free: 6.543 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.59e-05/0.01941, allocations: 43.81 kB / 267.8 MB, free: 6.5 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.108e-05/0.01944, allocations: 4 kB / 267.8 MB, free: 6.496 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001664/0.01961, allocations: 23.98 kB / 267.8 MB, free: 6.473 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.228e-05/0.01967, allocations: 44.36 kB / 267.9 MB, free: 6.43 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.535e-05/0.01969, allocations: 8 kB / 267.9 MB, free: 6.422 MB / 250.7 MB Notification: Performance of sorting global known variables: time 7.627e-05/0.01976, allocations: 93.59 kB / 268 MB, free: 6.324 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01976, allocations: 0 / 268 MB, free: 6.324 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003012/0.02006, allocations: 123.9 kB / 268.1 MB, free: 6.203 MB / 250.7 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.0001558/0.02022, allocations: 124.2 kB / 268.2 MB, free: 6.074 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002414/0.02046, allocations: 205.1 kB / 268.4 MB, free: 5.871 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.02047, allocations: 4.375 kB / 268.4 MB, free: 5.867 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002361/0.0207, allocations: 278.3 kB / 268.7 MB, free: 5.586 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002381/0.02094, allocations: 40.55 kB / 268.7 MB, free: 5.547 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009355/0.02188, allocations: 0.7345 MB / 269.5 MB, free: 4.773 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.152e-05/0.02194, allocations: 110.5 kB / 269.6 MB, free: 4.641 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001098/0.02205, allocations: 42.89 kB / 269.6 MB, free: 4.602 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001534/0.0222, allocations: 107.3 kB / 269.7 MB, free: 4.496 MB / 250.7 MB Notification: Performance of SimCode: time 6.11e-07/0.0222, allocations: 0 / 269.7 MB, free: 4.496 MB / 250.7 MB Notification: Performance of Templates: time 0.007656/0.02986, allocations: 6.602 MB / 276.3 MB, free: 13.92 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.sim & ./Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/InductorWithHysteresis/InductorWithHysteresis.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.599605167284608]