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.001787/0.001787, allocations: 102.6 kB / 21.93 MB, free: 5.203 MB / 14.72 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.002152/0.002152, allocations: 202.2 kB / 25.22 MB, free: 3.141 MB / 14.72 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 1.55/1.55, allocations: 207.7 MB / 236.1 MB, free: 9.773 MB / 190.1 MB " [Timeout remaining time 178] 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001863/0.001863, allocations: 59.86 kB / 348.4 MB, free: 9.457 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3031/0.3049, allocations: 49.16 MB / 397.6 MB, free: 9.363 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.00419/0.3091, allocations: 2.603 MB / 400.2 MB, free: 7.621 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002118/0.3112, allocations: 1.189 MB / 401.4 MB, free: 6.816 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001928/0.3114, allocations: 7.875 kB / 401.4 MB, free: 6.812 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002855/0.3117, allocations: 67.56 kB / 401.5 MB, free: 6.773 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005981/0.3123, allocations: 219.3 kB / 401.7 MB, free: 6.656 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002954/0.3126, allocations: 123.8 kB / 401.8 MB, free: 6.586 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004787/0.3131, allocations: 462.5 kB / 402.3 MB, free: 6.367 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001669/0.3133, allocations: 68.98 kB / 402.3 MB, free: 6.328 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002531/0.3135, allocations: 185.9 kB / 402.5 MB, free: 6.246 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003025/0.3138, allocations: 194.3 kB / 402.7 MB, free: 6.172 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.592e-05/0.3139, allocations: 45.03 kB / 402.7 MB, free: 6.168 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003148/0.3142, allocations: 157.9 kB / 402.9 MB, free: 6.141 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.582e-05/0.3143, allocations: 94.05 kB / 403 MB, free: 6.082 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001463/0.3144, allocations: 157.7 kB / 403.1 MB, free: 5.996 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006124/0.315, allocations: 0.5038 MB / 403.6 MB, free: 5.801 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.3151, allocations: 0 / 403.6 MB, free: 5.801 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.3151, allocations: 1.406 kB / 403.6 MB, free: 5.801 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.533e-05/0.3151, allocations: 0.6562 kB / 403.6 MB, free: 5.801 MB / 318.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.001572/0.3166, allocations: 0.6428 MB / 404.3 MB, free: 5.359 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.3167, allocations: 13.77 kB / 404.3 MB, free: 5.355 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.769e-05/0.3168, allocations: 35.16 kB / 404.3 MB, free: 5.34 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004698/0.3172, allocations: 273.2 kB / 404.6 MB, free: 5.117 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.135e-05/0.3173, allocations: 102.4 kB / 404.7 MB, free: 5.012 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001563/0.3175, allocations: 42.17 kB / 404.7 MB, free: 4.996 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006315/0.3181, allocations: 354.6 kB / 405.1 MB, free: 4.809 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.789e-05/0.3181, allocations: 0 / 405.1 MB, free: 4.809 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.588e-05/0.3182, allocations: 14.25 kB / 405.1 MB, free: 4.797 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.262e-05/0.3182, allocations: 6.75 kB / 405.1 MB, free: 4.797 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006661/0.3188, allocations: 296.3 kB / 405.4 MB, free: 4.711 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001584/0.3204, allocations: 1.003 MB / 406.4 MB, free: 3.98 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005969/0.321, allocations: 279.2 kB / 406.7 MB, free: 3.848 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000309/0.3213, allocations: 154.6 kB / 406.8 MB, free: 3.781 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.551e-05/0.3214, allocations: 7.547 kB / 406.8 MB, free: 3.777 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.074e-05/0.3214, allocations: 38.62 kB / 406.9 MB, free: 3.734 MB / 318.1 MB Notification: Performance of pre-optimization done (n=31): time 1.453e-06/0.3214, allocations: 0 / 406.9 MB, free: 3.734 MB / 318.1 MB Notification: Performance of matching and sorting (n=42): time 0.008853/0.3302, allocations: 2.272 MB / 409.1 MB, free: 2.965 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.762e-05/0.3303, allocations: 81.88 kB / 409.2 MB, free: 2.871 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000369/0.3306, allocations: 291.5 kB / 409.5 MB, free: 2.691 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.421e-05/0.3307, allocations: 30.73 kB / 409.5 MB, free: 2.656 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.203e-05/0.3308, allocations: 174.3 kB / 409.7 MB, free: 2.496 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001055/0.3309, allocations: 147.5 kB / 409.9 MB, free: 2.367 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001488/0.331, allocations: 83.78 kB / 409.9 MB, free: 2.309 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.976e-05/0.3311, allocations: 337.4 kB / 410.3 MB, free: 1.977 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000401/0.3315, allocations: 167 kB / 410.4 MB, free: 1.895 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004162/0.3319, allocations: 230.1 kB / 410.7 MB, free: 1.738 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008155/0.3327, allocations: 406.7 kB / 411 MB, free: 1.5 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.3327, allocations: 0 / 411 MB, free: 1.5 MB / 318.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0009825/0.3337, allocations: 498.3 kB / 411.5 MB, free: 1.238 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.3337, allocations: 6.625 kB / 411.5 MB, free: 1.238 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/0.3337, allocations: 7.5 kB / 411.6 MB, free: 1.234 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.147e-05/0.3338, allocations: 1.781 kB / 411.6 MB, free: 1.234 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006018/0.3344, allocations: 113 kB / 411.7 MB, free: 1.207 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.084e-05/0.3344, allocations: 15.73 kB / 411.7 MB, free: 1.195 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003768/0.3347, allocations: 31.2 kB / 411.7 MB, free: 1.184 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.502e-05/0.3348, allocations: 18.36 kB / 411.7 MB, free: 1.176 MB / 318.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.0001771/0.335, allocations: 161.5 kB / 411.9 MB, free: 1.023 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.38e-05/0.335, allocations: 29.56 kB / 411.9 MB, free: 1.008 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001704/0.3368, allocations: 0.6438 MB / 412.6 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/0.3368, allocations: 4.5 kB / 412.6 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.3368, allocations: 5.188 kB / 412.6 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/0.3368, allocations: 5.203 kB / 412.6 MB, free: 0.625 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00297/0.3397, allocations: 1.113 MB / 413.7 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.3397, allocations: 1.094 kB / 413.7 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000459/0.3402, allocations: 94.97 kB / 413.8 MB, free: 15.87 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001604/0.3418, allocations: 267.7 kB / 414 MB, free: 15.74 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.772e-05/0.3418, allocations: 11.47 kB / 414 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00437/0.3462, allocations: 2.279 MB / 416.3 MB, free: 13.82 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.3462, allocations: 1.281 kB / 416.3 MB, free: 13.82 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002548/0.3488, allocations: 1.001 MB / 417.3 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002244/0.349, allocations: 73.84 kB / 417.4 MB, free: 13.14 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.786e-05/0.3491, allocations: 19.2 kB / 417.4 MB, free: 13.12 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004523/0.3495, allocations: 30.2 kB / 417.5 MB, free: 13.11 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001403/0.3497, allocations: 40.91 kB / 417.5 MB, free: 13.08 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.691e-05/0.3497, allocations: 16.97 kB / 417.5 MB, free: 13.07 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002749/0.35, allocations: 209 kB / 417.7 MB, free: 12.93 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.35, allocations: 1.219 kB / 417.7 MB, free: 12.93 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006595/0.3506, allocations: 121.1 kB / 417.8 MB, free: 12.91 MB / 334.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.0003409/0.351, allocations: 142.6 kB / 418 MB, free: 12.79 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001068/0.352, allocations: 410.4 kB / 418.4 MB, free: 12.61 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.352, allocations: 0 / 418.4 MB, free: 12.61 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007862/0.3528, allocations: 357.8 kB / 418.7 MB, free: 12.38 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004979/0.3533, allocations: 46.33 kB / 418.8 MB, free: 12.35 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002178/0.3555, allocations: 0.9934 MB / 419.8 MB, free: 11.65 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002394/0.3557, allocations: 186.8 kB / 419.9 MB, free: 11.52 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001708/0.3559, allocations: 41.5 kB / 420 MB, free: 11.5 MB / 334.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3559, allocations: 0 / 420 MB, free: 11.5 MB / 334.1 MB Notification: Performance of Templates: time 0.01157/0.3675, allocations: 5.856 MB / 425.8 MB, free: 6.355 MB / 334.1 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/InductorWithHysteresis/InductorWithHysteresis.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.691550103016198]