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.001028/0.001028, allocations: 75.75 kB / 21.97 MB, free: 2.602 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.001054/0.001054, allocations: 169.9 kB / 25.33 MB, free: 9.109 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.9105/0.9105, allocations: 158.6 MB / 187.2 MB, free: 2.941 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.353e-06/1.353e-06, allocations: 0 / 251 MB, free: 7.523 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.256e-05/2.392e-05, allocations: 5.266 kB / 251 MB, free: 7.52 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.003211/0.003235, allocations: 2.794 MB / 253.8 MB, free: 4.707 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001757/0.004991, allocations: 1.243 MB / 255.1 MB, free: 3.453 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001726/0.005164, allocations: 4 kB / 255.1 MB, free: 3.449 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002635/0.005427, allocations: 67.36 kB / 255.1 MB, free: 3.383 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004751/0.005903, allocations: 234.5 kB / 255.4 MB, free: 3.152 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000209/0.006112, allocations: 119.7 kB / 255.5 MB, free: 3.035 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003733/0.006485, allocations: 474.9 kB / 255.9 MB, free: 2.57 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001493/0.006634, allocations: 60.78 kB / 256 MB, free: 2.508 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002651/0.006899, allocations: 271.4 kB / 256.3 MB, free: 2.242 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002038/0.007103, allocations: 175.5 kB / 256.4 MB, free: 2.07 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 5.103e-05/0.007154, allocations: 44 kB / 256.5 MB, free: 2.027 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002208/0.007375, allocations: 151.9 kB / 256.6 MB, free: 1.879 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 6.229e-05/0.007437, allocations: 91.64 kB / 256.7 MB, free: 1.789 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001019/0.007539, allocations: 135.7 kB / 256.9 MB, free: 1.656 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004737/0.008013, allocations: 394.6 kB / 257.2 MB, free: 1.266 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.257e-06/0.008016, allocations: 3.938 kB / 257.2 MB, free: 1.262 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.482e-06/0.008017, allocations: 4 kB / 257.3 MB, free: 1.258 MB / 234.7 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.008023, allocations: 0 / 257.3 MB, free: 1.258 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.001406/0.009429, allocations: 0.7296 MB / 258 MB, free: 0.4922 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.277e-05/0.009482, allocations: 11.98 kB / 258 MB, free: 492 kB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001053/0.009587, allocations: 60.75 kB / 258.1 MB, free: 432 kB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000345/0.009932, allocations: 257.6 kB / 258.3 MB, free: 144 kB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.909e-05/0.01002, allocations: 98.33 kB / 258.4 MB, free: 28 kB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001413/0.01016, allocations: 44.69 kB / 258.4 MB, free: 15.98 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004127/0.01057, allocations: 301 kB / 258.7 MB, free: 15.66 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.54e-05/0.01059, allocations: 3.938 kB / 258.7 MB, free: 15.66 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.49e-05/0.01062, allocations: 8 kB / 258.7 MB, free: 15.65 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.174e-05/0.01063, allocations: 8 kB / 258.8 MB, free: 15.64 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002687/0.0109, allocations: 166.8 kB / 258.9 MB, free: 15.48 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001121/0.01202, allocations: 1.09 MB / 260 MB, free: 14.32 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003164/0.01233, allocations: 214 kB / 260.2 MB, free: 14.09 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001368/0.01247, allocations: 99.23 kB / 260.3 MB, free: 13.98 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.828e-05/0.0125, allocations: 8 kB / 260.3 MB, free: 13.98 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.873e-05/0.01253, allocations: 41.39 kB / 260.4 MB, free: 13.93 MB / 250.7 MB Notification: Performance of pre-optimization done (n=31): time 1.493e-06/0.01253, allocations: 4 kB / 260.4 MB, free: 13.92 MB / 250.7 MB Notification: Performance of matching and sorting (n=42): time 0.004278/0.01681, allocations: 1.812 MB / 262.2 MB, free: 12.07 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.902e-05/0.01685, allocations: 85.05 kB / 262.3 MB, free: 11.97 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002285/0.01707, allocations: 312.2 kB / 262.6 MB, free: 11.64 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.733e-05/0.0171, allocations: 29.7 kB / 262.6 MB, free: 11.61 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001132/0.01722, allocations: 219.4 kB / 262.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.509e-05/0.0173, allocations: 150.7 kB / 263 MB, free: 11.24 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001018/0.0174, allocations: 91.78 kB / 263 MB, free: 11.14 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001265/0.01753, allocations: 0.5079 MB / 263.6 MB, free: 10.62 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001351/0.01766, allocations: 72.94 kB / 263.6 MB, free: 10.55 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001685/0.01783, allocations: 159.1 kB / 263.8 MB, free: 10.37 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003218/0.01815, allocations: 251.4 kB / 264 MB, free: 10.1 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.01816, allocations: 8 kB / 264 MB, free: 10.09 MB / 250.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0004879/0.01865, allocations: 344.4 kB / 264.4 MB, free: 9.746 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.01866, allocations: 11.94 kB / 264.4 MB, free: 9.734 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.01867, allocations: 0 / 264.4 MB, free: 9.734 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/0.01869, allocations: 4 kB / 264.4 MB, free: 9.73 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003077/0.019, allocations: 111.9 kB / 264.5 MB, free: 9.621 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.01901, allocations: 4.188 kB / 264.5 MB, free: 9.617 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004602/0.01947, allocations: 31.98 kB / 264.5 MB, free: 9.586 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.298e-05/0.01949, allocations: 16 kB / 264.5 MB, free: 9.57 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 0.0001135/0.0196, allocations: 180.4 kB / 264.7 MB, free: 9.383 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.42e-05/0.01968, allocations: 47.75 kB / 264.8 MB, free: 9.336 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007813/0.02046, allocations: 464.8 kB / 265.2 MB, free: 8.879 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.02046, allocations: 11.94 kB / 265.2 MB, free: 8.867 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.02047, allocations: 0 / 265.2 MB, free: 8.867 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.02047, allocations: 0 / 265.2 MB, free: 8.867 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001772/0.02224, allocations: 0.9509 MB / 266.2 MB, free: 7.863 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.02225, allocations: 3.938 kB / 266.2 MB, free: 7.859 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002982/0.02255, allocations: 95.88 kB / 266.3 MB, free: 7.766 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003899/0.02645, allocations: 211.4 kB / 266.5 MB, free: 7.555 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.267e-05/0.02649, allocations: 19.98 kB / 266.5 MB, free: 7.535 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002414/0.0289, allocations: 2.438 MB / 268.9 MB, free: 4.973 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.0289, allocations: 0 / 268.9 MB, free: 4.973 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004213/0.03312, allocations: 0.798 MB / 269.7 MB, free: 4.152 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001376/0.03325, allocations: 75.7 kB / 269.8 MB, free: 4.078 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.196e-05/0.0333, allocations: 8 kB / 269.8 MB, free: 4.07 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002602/0.03356, allocations: 27.92 kB / 269.9 MB, free: 4.043 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001064/0.03366, allocations: 36.42 kB / 269.9 MB, free: 4.008 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.984e-05/0.03369, allocations: 19.98 kB / 269.9 MB, free: 3.988 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001649/0.03386, allocations: 217.1 kB / 270.1 MB, free: 3.777 MB / 250.7 MB Notification: Performance of sort global known variables: time 9e-08/0.03386, allocations: 4 kB / 270.1 MB, free: 3.773 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0005117/0.03437, allocations: 119.9 kB / 270.2 MB, free: 3.656 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.0002617/0.03463, allocations: 143.1 kB / 270.4 MB, free: 3.508 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.003513/0.03814, allocations: 268 kB / 270.6 MB, free: 3.242 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.03814, allocations: 0 / 270.6 MB, free: 3.242 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004548/0.0386, allocations: 356.3 kB / 271 MB, free: 2.875 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004636/0.03906, allocations: 48.41 kB / 271 MB, free: 2.828 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00168/0.04074, allocations: 0.8093 MB / 271.8 MB, free: 1.98 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.314e-05/0.04083, allocations: 98.61 kB / 271.9 MB, free: 1.859 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.003162/0.04399, allocations: 54.88 kB / 272 MB, free: 1.809 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001252/0.04411, allocations: 36.47 kB / 272 MB, free: 1.773 MB / 250.7 MB Notification: Performance of SimCode: time 9.82e-07/0.04411, allocations: 0 / 272 MB, free: 1.773 MB / 250.7 MB Notification: Performance of Templates: time 0.01899/0.06311, allocations: 6.283 MB / 278.3 MB, free: 11.51 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: 3.098960699979216]