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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=10000,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=10000,variableFilter="time|core.B|core.Hstat|core.MagRel|winding.i",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001087/0.001087, allocations: 121.6 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00123/0.00123, allocations: 200.7 kB / 18.73 MB, free: 4.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.4/1.4, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001149/0.001149, allocations: 55.91 kB / 358.7 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3079/0.3091, allocations: 50.55 MB / 409.2 MB, free: 1.598 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.006139/0.3153, allocations: 2.839 MB / 412.1 MB, free: 14.75 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003091/0.3184, allocations: 1.285 MB / 413.4 MB, free: 13.45 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000259/0.3187, allocations: 7.938 kB / 413.4 MB, free: 13.44 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003434/0.3191, allocations: 71.38 kB / 413.4 MB, free: 13.37 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007531/0.3199, allocations: 226.7 kB / 413.7 MB, free: 13.15 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004118/0.3203, allocations: 127.8 kB / 413.8 MB, free: 13.02 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006253/0.3209, allocations: 459 kB / 414.2 MB, free: 12.57 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002569/0.3212, allocations: 96.42 kB / 414.3 MB, free: 12.48 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003784/0.3216, allocations: 183.5 kB / 414.5 MB, free: 12.3 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004195/0.322, allocations: 219.2 kB / 414.7 MB, free: 12.08 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.577e-05/0.3221, allocations: 44 kB / 414.8 MB, free: 12.04 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004417/0.3226, allocations: 171.9 kB / 414.9 MB, free: 11.87 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.629e-05/0.3227, allocations: 91.66 kB / 415 MB, free: 11.78 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002078/0.3229, allocations: 187.1 kB / 415.2 MB, free: 11.6 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007244/0.3236, allocations: 0.5074 MB / 415.7 MB, free: 11.09 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.3237, allocations: 0 / 415.7 MB, free: 11.09 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3237, allocations: 0 / 415.7 MB, free: 11.09 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.235e-05/0.3237, allocations: 0 / 415.7 MB, free: 11.09 MB / 334.1 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.002184/0.3259, allocations: 0.7094 MB / 416.4 MB, free: 10.33 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/0.3259, allocations: 8.031 kB / 416.4 MB, free: 10.32 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002648/0.3262, allocations: 40.56 kB / 416.5 MB, free: 10.29 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006618/0.3269, allocations: 341.1 kB / 416.8 MB, free: 9.91 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.587e-05/0.327, allocations: 54.83 kB / 416.9 MB, free: 9.852 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002102/0.3272, allocations: 40.48 kB / 416.9 MB, free: 9.812 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009198/0.3281, allocations: 320.5 kB / 417.2 MB, free: 9.48 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.254e-05/0.3282, allocations: 0 / 417.2 MB, free: 9.48 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.266e-05/0.3282, allocations: 11.94 kB / 417.2 MB, free: 9.469 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.112e-05/0.3283, allocations: 8 kB / 417.2 MB, free: 9.461 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00112/0.3294, allocations: 302 kB / 417.5 MB, free: 9.168 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002596/0.332, allocations: 1.156 MB / 418.7 MB, free: 7.934 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009005/0.3329, allocations: 289 kB / 419 MB, free: 7.633 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005001/0.3335, allocations: 169.6 kB / 419.1 MB, free: 7.461 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.408e-05/0.3335, allocations: 7.984 kB / 419.1 MB, free: 7.453 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.233e-05/0.3335, allocations: 34.5 kB / 419.2 MB, free: 7.41 MB / 334.1 MB Notification: Performance of pre-optimization done (n=31): time 2.475e-06/0.3336, allocations: 0 / 419.2 MB, free: 7.41 MB / 334.1 MB Notification: Performance of matching and sorting (n=42): time 0.01543/0.349, allocations: 2.426 MB / 421.6 MB, free: 4.906 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.58e-05/0.3491, allocations: 85.11 kB / 421.7 MB, free: 4.805 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005414/0.3497, allocations: 292.9 kB / 422 MB, free: 4.512 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 7.008e-05/0.3498, allocations: 33.7 kB / 422 MB, free: 4.473 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001499/0.3499, allocations: 168.4 kB / 422.2 MB, free: 4.305 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001874/0.3501, allocations: 145.8 kB / 422.3 MB, free: 4.16 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000235/0.3504, allocations: 78.11 kB / 422.4 MB, free: 4.074 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001722/0.3506, allocations: 342.8 kB / 422.7 MB, free: 3.73 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00069/0.3513, allocations: 168.8 kB / 422.9 MB, free: 3.566 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000719/0.352, allocations: 222.7 kB / 423.1 MB, free: 3.332 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001472/0.3535, allocations: 403.7 kB / 423.5 MB, free: 2.918 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.3535, allocations: 4 kB / 423.5 MB, free: 2.914 MB / 334.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001829/0.3554, allocations: 488.2 kB / 424 MB, free: 2.43 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.764e-05/0.3554, allocations: 10.66 kB / 424 MB, free: 2.422 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.896e-06/0.3554, allocations: 192 / 424 MB, free: 2.422 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.219e-05/0.3555, allocations: 8 kB / 424 MB, free: 2.414 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001054/0.3565, allocations: 123.8 kB / 424.1 MB, free: 2.293 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.538e-05/0.3566, allocations: 7.984 kB / 424.1 MB, free: 2.285 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005792/0.3572, allocations: 27.98 kB / 424.2 MB, free: 2.258 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.364e-05/0.3572, allocations: 15.98 kB / 424.2 MB, free: 2.242 MB / 334.1 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.0002676/0.3575, allocations: 161.7 kB / 424.3 MB, free: 2.074 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001612/0.3577, allocations: 27.62 kB / 424.4 MB, free: 2.047 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003189/0.3609, allocations: 0.6526 MB / 425 MB, free: 1.387 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.105e-05/0.3609, allocations: 4 kB / 425 MB, free: 1.383 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.3609, allocations: 0 / 425 MB, free: 1.383 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.242e-05/0.361, allocations: 3.984 kB / 425 MB, free: 1.379 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004566/0.3655, allocations: 1.287 MB / 426.3 MB, free: 32 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.3656, allocations: 0 / 426.3 MB, free: 32 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007415/0.3663, allocations: 87.94 kB / 426.4 MB, free: 15.94 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001603/0.3679, allocations: 264.5 kB / 426.6 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.624e-05/0.368, allocations: 20 kB / 426.7 MB, free: 15.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003886/0.3719, allocations: 2.439 MB / 429.1 MB, free: 13.08 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.3719, allocations: 0 / 429.1 MB, free: 13.08 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002218/0.3741, allocations: 1.004 MB / 430.1 MB, free: 12.06 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001712/0.3743, allocations: 152.6 kB / 430.3 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.021e-05/0.3744, allocations: 8 kB / 430.3 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004652/0.3748, allocations: 31.98 kB / 430.3 MB, free: 11.85 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001153/0.375, allocations: 40.31 kB / 430.3 MB, free: 11.81 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.998e-05/0.375, allocations: 12 kB / 430.3 MB, free: 11.8 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002236/0.3752, allocations: 212.5 kB / 430.6 MB, free: 11.59 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3752, allocations: 0 / 430.6 MB, free: 11.59 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000558/0.3758, allocations: 120 kB / 430.7 MB, free: 11.47 MB / 350.1 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.0002599/0.3761, allocations: 147.2 kB / 430.8 MB, free: 11.32 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000951/0.377, allocations: 438.2 kB / 431.2 MB, free: 10.89 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.377, allocations: 0 / 431.2 MB, free: 10.89 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006642/0.3777, allocations: 384.8 kB / 431.6 MB, free: 10.51 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004796/0.3782, allocations: 43.2 kB / 431.7 MB, free: 10.47 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00168/0.3799, allocations: 0.959 MB / 432.6 MB, free: 9.473 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003246/0.3802, allocations: 0.7891 MB / 433.4 MB, free: 8.652 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001991/0.3804, allocations: 46.94 kB / 433.5 MB, free: 8.609 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001348/0.3806, allocations: 35.42 kB / 433.5 MB, free: 8.574 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3806, allocations: 0 / 433.5 MB, free: 8.574 MB / 350.1 MB Notification: Performance of Templates: time 0.01166/0.3923, allocations: 6.423 MB / 439.9 MB, free: 2.172 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/InductorWithHysteresis/InductorWithHysteresis.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches