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.001128/0.001128, allocations: 86.58 kB / 21.42 MB, free: 3.074 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.0009654/0.0009654, allocations: 162.7 kB / 24.82 MB, free: 8.773 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.9958/0.9958, allocations: 177 MB / 205.1 MB, free: 5.445 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 1.974e-06/1.974e-06, allocations: 0 / 273.3 MB, free: 1.203 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.239e-05/2.437e-05, allocations: 2.312 kB / 273.3 MB, free: 1.199 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.004031/0.004055, allocations: 2.836 MB / 276.2 MB, free: 14.34 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001946/0.006001, allocations: 1.246 MB / 277.4 MB, free: 13.09 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001598/0.006161, allocations: 7.938 kB / 277.4 MB, free: 13.08 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002496/0.006411, allocations: 59.44 kB / 277.5 MB, free: 13.02 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005649/0.006975, allocations: 242.4 kB / 277.7 MB, free: 12.79 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002726/0.007248, allocations: 127.7 kB / 277.8 MB, free: 12.66 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004588/0.007707, allocations: 478.8 kB / 278.3 MB, free: 12.19 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001435/0.00785, allocations: 60.83 kB / 278.4 MB, free: 12.13 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003771/0.008227, allocations: 275.4 kB / 278.6 MB, free: 11.86 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002646/0.008492, allocations: 183.5 kB / 278.8 MB, free: 11.68 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.542e-05/0.008557, allocations: 40 kB / 278.8 MB, free: 11.64 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002818/0.008839, allocations: 159.8 kB / 279 MB, free: 11.49 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.522e-05/0.008914, allocations: 91.64 kB / 279.1 MB, free: 11.4 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001288/0.009043, allocations: 139.7 kB / 279.2 MB, free: 11.26 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000497/0.00954, allocations: 394.6 kB / 279.6 MB, free: 10.88 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.009543, allocations: 0 / 279.6 MB, free: 10.88 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.009544, allocations: 0 / 279.6 MB, free: 10.88 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.439e-06/0.009548, allocations: 4 kB / 279.6 MB, free: 10.87 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.001209/0.01076, allocations: 0.7451 MB / 280.4 MB, free: 10.09 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.0108, allocations: 15.98 kB / 280.4 MB, free: 10.07 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001823/0.01098, allocations: 60.75 kB / 280.4 MB, free: 10.01 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003303/0.01131, allocations: 256.8 kB / 280.7 MB, free: 9.73 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.509e-05/0.0114, allocations: 102.3 kB / 280.8 MB, free: 9.613 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001212/0.01152, allocations: 40.73 kB / 280.8 MB, free: 9.574 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000417/0.01193, allocations: 281 kB / 281.1 MB, free: 9.273 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.582e-05/0.01195, allocations: 7.875 kB / 281.1 MB, free: 9.266 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.71e-05/0.01198, allocations: 12 kB / 281.1 MB, free: 9.254 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.659e-06/0.01199, allocations: 8 kB / 281.1 MB, free: 9.246 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002768/0.01226, allocations: 137.3 kB / 281.3 MB, free: 9.117 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001365/0.01363, allocations: 1.036 MB / 282.3 MB, free: 8.023 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003066/0.01393, allocations: 205.9 kB / 282.5 MB, free: 7.797 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001359/0.01407, allocations: 94.12 kB / 282.6 MB, free: 7.699 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.14e-05/0.01409, allocations: 4 kB / 282.6 MB, free: 7.695 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.808e-05/0.01412, allocations: 45.31 kB / 282.6 MB, free: 7.641 MB / 266.7 MB Notification: Performance of pre-optimization done (n=31): time 1.723e-06/0.01412, allocations: 0 / 282.6 MB, free: 7.641 MB / 266.7 MB Notification: Performance of matching and sorting (n=42): time 0.005828/0.01995, allocations: 1.67 MB / 284.3 MB, free: 5.93 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.07e-05/0.01999, allocations: 85.11 kB / 284.4 MB, free: 5.828 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000263/0.02025, allocations: 296.2 kB / 284.7 MB, free: 5.523 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.156e-05/0.02028, allocations: 29.7 kB / 284.7 MB, free: 5.488 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001228/0.02041, allocations: 227.3 kB / 284.9 MB, free: 5.262 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001151/0.02052, allocations: 150.7 kB / 285.1 MB, free: 5.113 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001469/0.02067, allocations: 91.72 kB / 285.2 MB, free: 5.012 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000158/0.02083, allocations: 0.5079 MB / 285.7 MB, free: 4.492 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001388/0.02097, allocations: 64.94 kB / 285.7 MB, free: 4.43 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001881/0.02115, allocations: 151.1 kB / 285.9 MB, free: 4.254 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003461/0.0215, allocations: 219.4 kB / 286.1 MB, free: 4.012 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.0215, allocations: 0 / 286.1 MB, free: 4.012 MB / 266.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005364/0.02204, allocations: 304.7 kB / 286.4 MB, free: 3.707 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.02206, allocations: 4 kB / 286.4 MB, free: 3.703 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.906e-06/0.02206, allocations: 7.938 kB / 286.4 MB, free: 3.695 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.02208, allocations: 4 kB / 286.4 MB, free: 3.691 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004528/0.02253, allocations: 111.9 kB / 286.5 MB, free: 3.582 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.02254, allocations: 3.938 kB / 286.5 MB, free: 3.578 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002477/0.02278, allocations: 36.12 kB / 286.6 MB, free: 3.543 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.156e-05/0.02282, allocations: 12 kB / 286.6 MB, free: 3.531 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.0001388/0.02296, allocations: 184.4 kB / 286.8 MB, free: 3.34 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001127/0.02307, allocations: 43.81 kB / 286.8 MB, free: 3.297 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001036/0.0241, allocations: 440.6 kB / 287.2 MB, free: 2.855 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.02411, allocations: 8 kB / 287.2 MB, free: 2.848 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.02411, allocations: 7.875 kB / 287.2 MB, free: 2.84 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.74e-06/0.02412, allocations: 0 / 287.2 MB, free: 2.84 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002041/0.02616, allocations: 0.8657 MB / 288.1 MB, free: 1.938 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.596e-06/0.02616, allocations: 0 / 288.1 MB, free: 1.938 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003395/0.0265, allocations: 87.88 kB / 288.2 MB, free: 1.852 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001018/0.02752, allocations: 223.3 kB / 288.4 MB, free: 1.629 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.961e-05/0.02756, allocations: 15.92 kB / 288.4 MB, free: 1.613 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002661/0.03022, allocations: 2.369 MB / 290.8 MB, free: 15.13 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.616e-06/0.03023, allocations: 3.984 kB / 290.8 MB, free: 15.12 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007423/0.03765, allocations: 0.7588 MB / 291.6 MB, free: 14.34 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001774/0.03783, allocations: 67.75 kB / 291.6 MB, free: 14.27 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.021e-05/0.03788, allocations: 12 kB / 291.6 MB, free: 14.26 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003271/0.0382, allocations: 23.98 kB / 291.7 MB, free: 14.24 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001158/0.03832, allocations: 36.42 kB / 291.7 MB, free: 14.2 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.476e-05/0.03835, allocations: 15.94 kB / 291.7 MB, free: 14.19 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001948/0.03855, allocations: 209.1 kB / 291.9 MB, free: 13.98 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.03855, allocations: 0 / 291.9 MB, free: 13.98 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006095/0.03916, allocations: 127.9 kB / 292 MB, free: 13.86 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.0002513/0.03941, allocations: 139.1 kB / 292.2 MB, free: 13.71 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004418/0.03985, allocations: 239.8 kB / 292.4 MB, free: 13.48 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.03986, allocations: 4 kB / 292.4 MB, free: 13.47 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004251/0.04028, allocations: 344.1 kB / 292.8 MB, free: 13.11 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003537/0.04382, allocations: 44.55 kB / 292.8 MB, free: 13.07 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001637/0.04545, allocations: 0.8058 MB / 293.6 MB, free: 12.23 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.73e-05/0.04554, allocations: 102.6 kB / 293.7 MB, free: 12.11 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001933/0.04573, allocations: 46.94 kB / 293.7 MB, free: 12.07 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002508/0.04599, allocations: 126.2 kB / 293.9 MB, free: 11.94 MB / 282.7 MB Notification: Performance of SimCode: time 7.71e-07/0.04599, allocations: 0 / 293.9 MB, free: 11.94 MB / 282.7 MB Notification: Performance of Templates: time 0.01827/0.06425, allocations: 6.644 MB / 300.5 MB, free: 5.34 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: 2.8727780492044985]