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.002069/0.002069, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 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.001911/0.001911, allocations: 215.2 kB / 24.47 MB, free: 3.777 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.565/1.565, allocations: 207.7 MB / 235.3 MB, free: 9.793 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.002045/0.002045, allocations: 51.92 kB / 347.7 MB, free: 9.469 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2632/0.2652, allocations: 49.16 MB / 396.8 MB, free: 9.375 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.003405/0.2686, allocations: 2.607 MB / 399.5 MB, free: 7.633 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001851/0.2705, allocations: 1.188 MB / 400.6 MB, free: 6.828 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001551/0.2706, allocations: 7.594 kB / 400.7 MB, free: 6.824 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000254/0.2709, allocations: 70.33 kB / 400.7 MB, free: 6.781 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005378/0.2714, allocations: 225 kB / 400.9 MB, free: 6.66 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002551/0.2717, allocations: 123.8 kB / 401.1 MB, free: 6.59 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004623/0.2721, allocations: 465.9 kB / 401.5 MB, free: 6.367 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001627/0.2723, allocations: 62.33 kB / 401.6 MB, free: 6.332 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002767/0.2726, allocations: 185.2 kB / 401.8 MB, free: 6.254 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000301/0.2729, allocations: 199.4 kB / 402 MB, free: 6.176 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.03e-05/0.273, allocations: 39.81 kB / 402 MB, free: 6.176 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002974/0.2733, allocations: 155.3 kB / 402.1 MB, free: 6.152 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.824e-05/0.2733, allocations: 85.56 kB / 402.2 MB, free: 6.098 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001521/0.2735, allocations: 160.3 kB / 402.4 MB, free: 6.012 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000595/0.2741, allocations: 0.5116 MB / 402.9 MB, free: 5.809 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.2741, allocations: 5.656 kB / 402.9 MB, free: 5.805 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.552e-06/0.2741, allocations: 0 / 402.9 MB, free: 5.805 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.26e-05/0.2741, allocations: 0 / 402.9 MB, free: 5.805 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.001505/0.2756, allocations: 0.6365 MB / 403.5 MB, free: 5.371 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.328e-05/0.2756, allocations: 17.42 kB / 403.6 MB, free: 5.363 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.361e-05/0.2757, allocations: 34.64 kB / 403.6 MB, free: 5.348 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000463/0.2762, allocations: 273.4 kB / 403.9 MB, free: 5.125 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.411e-05/0.2763, allocations: 101.5 kB / 404 MB, free: 5.02 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001533/0.2764, allocations: 42.7 kB / 404 MB, free: 5.004 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005967/0.277, allocations: 346 kB / 404.3 MB, free: 4.824 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.689e-05/0.277, allocations: 5.25 kB / 404.3 MB, free: 4.82 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.122e-05/0.2771, allocations: 10.66 kB / 404.3 MB, free: 4.812 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.2771, allocations: 10.22 kB / 404.4 MB, free: 4.809 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006474/0.2777, allocations: 296.9 kB / 404.6 MB, free: 4.723 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001444/0.2792, allocations: 1.002 MB / 405.7 MB, free: 3.992 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005706/0.2797, allocations: 279 kB / 405.9 MB, free: 3.859 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003007/0.28, allocations: 150.3 kB / 406.1 MB, free: 3.797 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.43e-05/0.2801, allocations: 7.031 kB / 406.1 MB, free: 3.793 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.975e-05/0.2801, allocations: 43.05 kB / 406.1 MB, free: 3.746 MB / 318.1 MB Notification: Performance of pre-optimization done (n=31): time 2.605e-06/0.2801, allocations: 4 kB / 406.1 MB, free: 3.742 MB / 318.1 MB Notification: Performance of matching and sorting (n=42): time 0.009222/0.2893, allocations: 2.265 MB / 408.4 MB, free: 2.98 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.606e-05/0.2893, allocations: 89.45 kB / 408.5 MB, free: 2.879 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004307/0.2898, allocations: 289.4 kB / 408.8 MB, free: 2.691 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.847e-05/0.2898, allocations: 32.92 kB / 408.8 MB, free: 2.656 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001072/0.2899, allocations: 173.5 kB / 409 MB, free: 2.496 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001078/0.29, allocations: 148 kB / 409.1 MB, free: 2.367 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001571/0.2902, allocations: 83.03 kB / 409.2 MB, free: 2.309 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000106/0.2903, allocations: 341.7 kB / 409.5 MB, free: 1.973 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004213/0.2907, allocations: 158.4 kB / 409.7 MB, free: 1.895 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004057/0.2911, allocations: 234.3 kB / 409.9 MB, free: 1.738 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000795/0.2919, allocations: 406.5 kB / 410.3 MB, free: 1.5 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.2919, allocations: 3.938 kB / 410.3 MB, free: 1.496 MB / 318.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0009813/0.2929, allocations: 495.1 kB / 410.8 MB, free: 1.238 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.2929, allocations: 9.969 kB / 410.8 MB, free: 1.234 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.2929, allocations: 1.094 kB / 410.8 MB, free: 1.234 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.962e-05/0.2929, allocations: 5.031 kB / 410.8 MB, free: 1.234 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000583/0.2935, allocations: 116.8 kB / 410.9 MB, free: 1.203 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.243e-05/0.2935, allocations: 3.438 kB / 410.9 MB, free: 1.203 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004026/0.2939, allocations: 30.05 kB / 410.9 MB, free: 1.191 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.833e-05/0.294, allocations: 27.84 kB / 411 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.0001666/0.2941, allocations: 160.2 kB / 411.1 MB, free: 1.023 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001075/0.2943, allocations: 30.47 kB / 411.2 MB, free: 1.008 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001786/0.296, allocations: 0.6439 MB / 411.8 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/0.296, allocations: 4.062 kB / 411.8 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.2961, allocations: 1.375 kB / 411.8 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.2961, allocations: 3.984 kB / 411.8 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002888/0.2989, allocations: 1.118 MB / 412.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.2989, allocations: 0 / 412.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004641/0.2994, allocations: 91.81 kB / 413 MB, free: 15.87 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001581/0.301, allocations: 266.6 kB / 413.3 MB, free: 15.74 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.217e-05/0.301, allocations: 11.42 kB / 413.3 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004218/0.3053, allocations: 2.288 MB / 415.6 MB, free: 13.82 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.3053, allocations: 1 kB / 415.6 MB, free: 13.82 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002401/0.3077, allocations: 0.9978 MB / 416.6 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002148/0.3079, allocations: 84.3 kB / 416.7 MB, free: 13.13 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.063e-05/0.3079, allocations: 12.06 kB / 416.7 MB, free: 13.12 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004493/0.3084, allocations: 26.2 kB / 416.7 MB, free: 13.11 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001153/0.3085, allocations: 41.02 kB / 416.7 MB, free: 13.08 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-05/0.3085, allocations: 13.56 kB / 416.8 MB, free: 13.08 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002393/0.3088, allocations: 209 kB / 417 MB, free: 12.94 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3088, allocations: 0 / 417 MB, free: 12.94 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005858/0.3094, allocations: 122.2 kB / 417.1 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.0002592/0.3096, allocations: 141 kB / 417.2 MB, free: 12.8 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000975/0.3106, allocations: 407.2 kB / 417.6 MB, free: 12.62 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.3106, allocations: 0 / 417.6 MB, free: 12.62 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007171/0.3113, allocations: 366.6 kB / 418 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.0004797/0.3118, allocations: 41.03 kB / 418 MB, free: 12.35 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001777/0.3136, allocations: 0.9688 MB / 419 MB, free: 11.68 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001867/0.3138, allocations: 182.9 kB / 419.2 MB, free: 11.55 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002116/0.314, allocations: 43.7 kB / 419.2 MB, free: 11.53 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001395/0.3141, allocations: 31.45 kB / 419.2 MB, free: 11.52 MB / 334.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3141, allocations: 96 / 419.2 MB, free: 11.52 MB / 334.1 MB Notification: Performance of Templates: time 0.01277/0.3269, allocations: 6.469 MB / 425.7 MB, free: 5.758 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/InductorWithHysteresis/InductorWithHysteresis.csv","/var/lib/jenkins/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: 5.0113874319940805]