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.001091/0.001091, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001363/0.002453, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.001298/0.001298, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001476/0.002774, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.9232/0.9232, allocations: 177.4 MB / 189.9 MB, free: 4.832 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09132/1.015, allocations: 53.87 MB / 243.8 MB, free: 14.91 MB / 250.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 1.843e-06/1.843e-06, allocations: 0 / 245 MB, free: 13.67 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.807e-05/1.992e-05, allocations: 2.312 kB / 245 MB, free: 13.66 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.002848/0.002868, allocations: 2.909 MB / 247.9 MB, free: 10.73 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00153/0.004398, allocations: 1.281 MB / 249.2 MB, free: 9.445 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001281/0.004526, allocations: 11.94 kB / 249.2 MB, free: 9.434 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001489/0.004675, allocations: 63.38 kB / 249.3 MB, free: 9.371 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003376/0.005012, allocations: 218.6 kB / 249.5 MB, free: 9.156 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002199/0.005232, allocations: 143.6 kB / 249.6 MB, free: 9.016 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003171/0.005549, allocations: 470.9 kB / 250.1 MB, free: 8.555 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.005663, allocations: 62.84 kB / 250.1 MB, free: 8.496 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003184/0.005981, allocations: 325.3 kB / 250.5 MB, free: 8.176 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001895/0.006171, allocations: 171.6 kB / 250.6 MB, free: 8.008 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.34e-05/0.006214, allocations: 40 kB / 250.7 MB, free: 7.969 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002285/0.006443, allocations: 175.8 kB / 250.8 MB, free: 7.797 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.595e-05/0.006489, allocations: 63.81 kB / 250.9 MB, free: 7.734 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.153e-05/0.00657, allocations: 103.8 kB / 251 MB, free: 7.633 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003484/0.006919, allocations: 350.7 kB / 251.3 MB, free: 7.289 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.232e-05/0.006931, allocations: 0 / 251.3 MB, free: 7.289 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.006932, allocations: 0 / 251.3 MB, free: 7.289 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.246e-05/0.006945, allocations: 0 / 251.3 MB, free: 7.289 MB / 250.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.0008347/0.007779, allocations: 0.6905 MB / 252 MB, free: 6.574 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.568e-05/0.007805, allocations: 8.625 kB / 252 MB, free: 6.566 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001395/0.007944, allocations: 130 kB / 252.2 MB, free: 6.422 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002292/0.008174, allocations: 213.1 kB / 252.4 MB, free: 6.188 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.43e-05/0.008238, allocations: 102.3 kB / 252.5 MB, free: 6.066 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.447e-05/0.008312, allocations: 32.75 kB / 252.5 MB, free: 6.035 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002511/0.008563, allocations: 276.5 kB / 252.8 MB, free: 5.742 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.008574, allocations: 7.938 kB / 252.8 MB, free: 5.734 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.735e-05/0.008591, allocations: 12 kB / 252.8 MB, free: 5.723 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.702e-06/0.008598, allocations: 8 kB / 252.8 MB, free: 5.715 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001572/0.008755, allocations: 125.3 kB / 252.9 MB, free: 5.59 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007724/0.009528, allocations: 0.7771 MB / 253.7 MB, free: 4.773 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001826/0.00971, allocations: 179.8 kB / 253.9 MB, free: 4.586 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.183e-05/0.009782, allocations: 73.67 kB / 254 MB, free: 4.508 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.013e-05/0.009802, allocations: 8 kB / 254 MB, free: 4.5 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.179e-05/0.009824, allocations: 38.55 kB / 254 MB, free: 4.453 MB / 250.7 MB Notification: Performance of pre-optimization done (n=31): time 1.283e-06/0.009825, allocations: 4 kB / 254 MB, free: 4.449 MB / 250.7 MB Notification: Performance of matching and sorting (n=42): time 0.003804/0.01363, allocations: 1.905 MB / 255.9 MB, free: 2.508 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.891e-05/0.01366, allocations: 81.11 kB / 256 MB, free: 2.41 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001429/0.0138, allocations: 246.6 kB / 256.2 MB, free: 2.152 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.347e-05/0.01382, allocations: 29.7 kB / 256.3 MB, free: 2.117 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.778e-05/0.01388, allocations: 157.1 kB / 256.4 MB, free: 1.957 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.747e-05/0.01396, allocations: 150.7 kB / 256.6 MB, free: 1.809 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.006e-05/0.01404, allocations: 82.09 kB / 256.6 MB, free: 1.723 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.863e-05/0.01412, allocations: 346.7 kB / 257 MB, free: 1.375 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.706e-05/0.01419, allocations: 44.97 kB / 257 MB, free: 1.332 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.559e-05/0.01428, allocations: 119.2 kB / 257.1 MB, free: 1.195 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001903/0.01447, allocations: 206.4 kB / 257.3 MB, free: 0.9727 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.01447, allocations: 0 / 257.3 MB, free: 0.9727 MB / 250.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0002399/0.01471, allocations: 236.9 kB / 257.6 MB, free: 0.7344 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.01472, allocations: 4 kB / 257.6 MB, free: 0.7305 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.01473, allocations: 4 kB / 257.6 MB, free: 0.7266 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.095e-06/0.01474, allocations: 8.125 kB / 257.6 MB, free: 0.7188 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003231/0.01506, allocations: 135.8 kB / 257.7 MB, free: 0.5859 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.01507, allocations: 11.92 kB / 257.7 MB, free: 0.5742 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001249/0.01519, allocations: 24 kB / 257.8 MB, free: 0.5508 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.76e-05/0.01521, allocations: 19.92 kB / 257.8 MB, free: 0.5312 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.901e-05/0.0153, allocations: 137.7 kB / 257.9 MB, free: 396 kB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.313e-05/0.01535, allocations: 35.91 kB / 257.9 MB, free: 360 kB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005262/0.01588, allocations: 366.9 kB / 258.3 MB, free: 15.99 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.708e-06/0.01588, allocations: 7.938 kB / 258.3 MB, free: 15.98 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-06/0.01588, allocations: 0 / 258.3 MB, free: 15.98 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.254e-06/0.01589, allocations: 7.984 kB / 258.3 MB, free: 15.97 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001018/0.01691, allocations: 0.6811 MB / 259 MB, free: 15.27 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.01691, allocations: 0 / 259 MB, free: 15.27 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002416/0.01715, allocations: 115.8 kB / 259.1 MB, free: 15.15 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.478e-05/0.01723, allocations: 39.8 kB / 259.1 MB, free: 15.11 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005464/0.01777, allocations: 208.5 kB / 259.4 MB, free: 14.91 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.163e-05/0.01779, allocations: 15.98 kB / 259.4 MB, free: 14.89 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001297/0.01909, allocations: 1.68 MB / 261 MB, free: 13.12 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.01909, allocations: 4 kB / 261.1 MB, free: 13.12 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006265/0.01972, allocations: 0.5851 MB / 261.6 MB, free: 12.52 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.179e-05/0.01975, allocations: 4 kB / 261.6 MB, free: 12.51 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000164/0.01992, allocations: 31.92 kB / 261.7 MB, free: 12.48 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.846e-05/0.01998, allocations: 32.42 kB / 261.7 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.704e-05/0.02, allocations: 19.98 kB / 261.7 MB, free: 12.43 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.205e-05/0.02007, allocations: 89.61 kB / 261.8 MB, free: 12.34 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.02007, allocations: 0 / 261.8 MB, free: 12.34 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002919/0.02037, allocations: 123.9 kB / 261.9 MB, free: 12.21 MB / 266.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.0001645/0.02053, allocations: 124.2 kB / 262.1 MB, free: 12.09 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002422/0.02077, allocations: 205.1 kB / 262.3 MB, free: 11.88 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.208e-05/0.02078, allocations: 8.375 kB / 262.3 MB, free: 11.88 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002458/0.02103, allocations: 278.3 kB / 262.5 MB, free: 11.59 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002416/0.02127, allocations: 72.39 kB / 262.6 MB, free: 11.52 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002527/0.0238, allocations: 0.7458 MB / 263.3 MB, free: 10.74 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.7e-05/0.02387, allocations: 110.6 kB / 263.5 MB, free: 10.62 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000116/0.02398, allocations: 42.94 kB / 263.5 MB, free: 10.57 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001566/0.02414, allocations: 107.3 kB / 263.6 MB, free: 10.46 MB / 266.7 MB Notification: Performance of SimCode: time 6.31e-07/0.02414, allocations: 0 / 263.6 MB, free: 10.46 MB / 266.7 MB Notification: Performance of Templates: time 0.007868/0.03201, allocations: 6.9 MB / 270.5 MB, free: 3.605 MB / 266.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 -ignoreHideResult -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: 2.57566870842129]