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.001007/0.001007, allocations: 79.69 kB / 21.7 MB, free: 2.852 MB / 18.57 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.001134/0.001134, allocations: 160 kB / 24.99 MB, free: 8.801 MB / 18.57 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 0.9567/0.9567, allocations: 177 MB / 205.2 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] 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 2.154e-06/2.154e-06, allocations: 0 / 273 MB, free: 1.793 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.817e-05/3.033e-05, allocations: 2.312 kB / 273 MB, free: 1.789 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.007342/0.007373, allocations: 2.865 MB / 275.8 MB, free: 14.9 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002182/0.009555, allocations: 1.257 MB / 277.1 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001802/0.009735, allocations: 4 kB / 277.1 MB, free: 13.63 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003348/0.01308, allocations: 63.39 kB / 277.2 MB, free: 13.57 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006576/0.01374, allocations: 238.5 kB / 277.4 MB, free: 13.34 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003348/0.01408, allocations: 131.7 kB / 277.5 MB, free: 13.21 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004397/0.01451, allocations: 474.8 kB / 278 MB, free: 12.74 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001636/0.01468, allocations: 60.83 kB / 278.1 MB, free: 12.68 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000382/0.01506, allocations: 275.4 kB / 278.3 MB, free: 12.41 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002484/0.01531, allocations: 179.5 kB / 278.5 MB, free: 12.24 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.692e-05/0.01537, allocations: 40 kB / 278.5 MB, free: 12.2 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002614/0.01563, allocations: 159.8 kB / 278.7 MB, free: 12.04 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.356e-05/0.0157, allocations: 99.69 kB / 278.8 MB, free: 11.95 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003188/0.01889, allocations: 135.6 kB / 278.9 MB, free: 11.81 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006069/0.0195, allocations: 394.6 kB / 279.3 MB, free: 11.43 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.0195, allocations: 0 / 279.3 MB, free: 11.43 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.0195, allocations: 3.938 kB / 279.3 MB, free: 11.42 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.541e-06/0.01951, allocations: 4 kB / 279.3 MB, free: 11.42 MB / 266.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.001327/0.02084, allocations: 0.7374 MB / 280.1 MB, free: 10.64 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/0.02088, allocations: 15.98 kB / 280.1 MB, free: 10.62 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002107/0.02109, allocations: 60.75 kB / 280.1 MB, free: 10.57 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000397/0.02149, allocations: 265.3 kB / 280.4 MB, free: 10.28 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.977e-05/0.02159, allocations: 110.3 kB / 280.5 MB, free: 10.15 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003244/0.02483, allocations: 40.67 kB / 280.5 MB, free: 10.11 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005394/0.02537, allocations: 297 kB / 280.8 MB, free: 9.797 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.798e-05/0.02539, allocations: 7.938 kB / 280.8 MB, free: 9.789 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.503e-05/0.02543, allocations: 12 kB / 280.8 MB, free: 9.777 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.503e-05/0.02544, allocations: 8 kB / 280.9 MB, free: 9.77 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003773/0.02582, allocations: 166.8 kB / 281 MB, free: 9.609 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001532/0.02735, allocations: 1.083 MB / 282.1 MB, free: 8.461 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003511/0.03086, allocations: 218.6 kB / 282.3 MB, free: 8.223 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001812/0.03104, allocations: 106.4 kB / 282.4 MB, free: 8.113 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.624e-05/0.03107, allocations: 7.984 kB / 282.4 MB, free: 8.105 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.146e-05/0.0311, allocations: 37.39 kB / 282.5 MB, free: 8.059 MB / 266.7 MB Notification: Performance of pre-optimization done (n=31): time 2.264e-06/0.0311, allocations: 0 / 282.5 MB, free: 8.059 MB / 266.7 MB Notification: Performance of matching and sorting (n=42): time 0.01194/0.04304, allocations: 1.806 MB / 284.3 MB, free: 6.211 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.575e-05/0.04308, allocations: 81.11 kB / 284.3 MB, free: 6.113 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003101/0.04339, allocations: 308.3 kB / 284.6 MB, free: 5.797 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.612e-05/0.04343, allocations: 33.7 kB / 284.7 MB, free: 5.758 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001277/0.04356, allocations: 223.4 kB / 284.9 MB, free: 5.535 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001172/0.04367, allocations: 150.7 kB / 285 MB, free: 5.387 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001362/0.04381, allocations: 79.83 kB / 285.1 MB, free: 5.301 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.04397, allocations: 0.5157 MB / 285.6 MB, free: 4.773 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001902/0.04416, allocations: 68.95 kB / 285.7 MB, free: 4.703 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004905/0.04465, allocations: 163 kB / 285.9 MB, free: 4.52 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004298/0.04508, allocations: 259.4 kB / 286.1 MB, free: 4.238 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.04508, allocations: 4 kB / 286.1 MB, free: 4.234 MB / 266.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006209/0.0457, allocations: 332.7 kB / 286.4 MB, free: 3.902 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/0.04572, allocations: 11.94 kB / 286.5 MB, free: 3.891 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.04573, allocations: 0 / 286.5 MB, free: 3.891 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.04575, allocations: 8.188 kB / 286.5 MB, free: 3.883 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004333/0.04618, allocations: 111.9 kB / 286.6 MB, free: 3.773 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.096e-05/0.04619, allocations: 4 kB / 286.6 MB, free: 3.77 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002413/0.04643, allocations: 31.94 kB / 286.6 MB, free: 3.738 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.151e-05/0.04647, allocations: 15.98 kB / 286.6 MB, free: 3.723 MB / 266.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.0001428/0.04662, allocations: 180.5 kB / 286.8 MB, free: 3.535 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001094/0.04673, allocations: 51.75 kB / 286.9 MB, free: 3.484 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001098/0.04782, allocations: 472.7 kB / 287.3 MB, free: 3.008 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/0.04783, allocations: 7.938 kB / 287.3 MB, free: 3 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.04784, allocations: 0 / 287.3 MB, free: 3 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.685e-06/0.04784, allocations: 3.984 kB / 287.3 MB, free: 2.996 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002097/0.04994, allocations: 0.9471 MB / 288.3 MB, free: 2.004 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.04995, allocations: 3.938 kB / 288.3 MB, free: 2 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000329/0.05028, allocations: 87.89 kB / 288.4 MB, free: 1.914 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001012/0.05129, allocations: 219.4 kB / 288.6 MB, free: 1.695 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.986e-05/0.05133, allocations: 12 kB / 288.6 MB, free: 1.684 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002775/0.0541, allocations: 2.431 MB / 291 MB, free: 15.13 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.0541, allocations: 4.031 kB / 291 MB, free: 15.12 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001391/0.05549, allocations: 0.8174 MB / 291.8 MB, free: 14.28 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001501/0.05564, allocations: 63.75 kB / 291.9 MB, free: 14.22 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.26e-05/0.0557, allocations: 12 kB / 291.9 MB, free: 14.21 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002983/0.056, allocations: 31.92 kB / 291.9 MB, free: 14.18 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001122/0.05611, allocations: 36.42 kB / 292 MB, free: 14.14 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.039e-05/0.05614, allocations: 12 kB / 292 MB, free: 14.13 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.00019/0.05633, allocations: 225.1 kB / 292.2 MB, free: 13.91 MB / 282.7 MB Notification: Performance of sort global known variables: time 1e-07/0.05633, allocations: 0 / 292.2 MB, free: 13.91 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005534/0.05688, allocations: 115.9 kB / 292.3 MB, free: 13.79 MB / 282.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.0002722/0.05715, allocations: 147 kB / 292.5 MB, free: 13.64 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005405/0.05769, allocations: 263.7 kB / 292.7 MB, free: 13.38 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.0577, allocations: 0 / 292.7 MB, free: 13.38 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007495/0.05845, allocations: 364.2 kB / 293.1 MB, free: 13.01 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004631/0.05891, allocations: 57.11 kB / 293.1 MB, free: 12.95 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001664/0.06057, allocations: 0.8056 MB / 293.9 MB, free: 12.11 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.436e-05/0.06066, allocations: 106.6 kB / 294.1 MB, free: 11.98 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001673/0.06083, allocations: 46.94 kB / 294.1 MB, free: 11.94 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001282/0.06095, allocations: 32.48 kB / 294.1 MB, free: 11.91 MB / 282.7 MB Notification: Performance of SimCode: time 8.61e-07/0.06095, allocations: 0 / 294.1 MB, free: 11.91 MB / 282.7 MB Notification: Performance of Templates: time 0.01083/0.07179, allocations: 6.281 MB / 300.4 MB, free: 5.664 MB / 282.7 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe 2>&1) [Timeout 240] 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","",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.043563988059759]