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.001724/0.001724, allocations: 113.6 kB / 21.19 MB, free: 0.7031 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.002112/0.002112, allocations: 207.5 kB / 24.49 MB, free: 4.055 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.442/1.442, allocations: 207.6 MB / 235.3 MB, free: 9.992 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.001877/0.001877, allocations: 55.92 kB / 347.7 MB, free: 9.613 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2948/0.2967, allocations: 49.16 MB / 396.8 MB, free: 9.492 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.004135/0.3008, allocations: 2.801 MB / 399.6 MB, free: 7.539 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001947/0.3028, allocations: 1.286 MB / 400.9 MB, free: 6.629 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001734/0.3029, allocations: 7.906 kB / 400.9 MB, free: 6.625 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002768/0.3032, allocations: 70.22 kB / 401 MB, free: 6.582 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005483/0.3038, allocations: 227.8 kB / 401.2 MB, free: 6.457 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00029/0.3041, allocations: 119.2 kB / 401.3 MB, free: 6.391 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004754/0.3045, allocations: 463.1 kB / 401.8 MB, free: 6.172 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001546/0.3047, allocations: 62.09 kB / 401.9 MB, free: 6.137 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002637/0.305, allocations: 189.1 kB / 402 MB, free: 6.055 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003262/0.3053, allocations: 226 kB / 402.3 MB, free: 5.949 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.148e-05/0.3054, allocations: 44.34 kB / 402.3 MB, free: 5.945 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003281/0.3057, allocations: 159.2 kB / 402.5 MB, free: 5.918 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.602e-05/0.3058, allocations: 90.7 kB / 402.6 MB, free: 5.859 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001704/0.3059, allocations: 186.5 kB / 402.7 MB, free: 5.746 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006215/0.3066, allocations: 0.503 MB / 403.2 MB, free: 5.551 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.3066, allocations: 0 / 403.2 MB, free: 5.551 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.3066, allocations: 1.125 kB / 403.2 MB, free: 5.551 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.214e-06/0.3066, allocations: 0 / 403.2 MB, free: 5.551 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.001634/0.3082, allocations: 0.6432 MB / 403.9 MB, free: 5.109 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.3082, allocations: 13.56 kB / 403.9 MB, free: 5.105 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.35e-05/0.3083, allocations: 46.8 kB / 403.9 MB, free: 5.078 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000467/0.3088, allocations: 273.1 kB / 404.2 MB, free: 4.855 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.326e-05/0.3089, allocations: 105.4 kB / 404.3 MB, free: 4.746 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001571/0.309, allocations: 46.81 kB / 404.4 MB, free: 4.727 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006083/0.3097, allocations: 323.7 kB / 404.7 MB, free: 4.574 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.628e-05/0.3097, allocations: 0.7031 kB / 404.7 MB, free: 4.574 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.596e-05/0.3097, allocations: 11.78 kB / 404.7 MB, free: 4.566 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.348e-06/0.3097, allocations: 5.125 kB / 404.7 MB, free: 4.566 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006847/0.3104, allocations: 302.9 kB / 405 MB, free: 4.477 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001718/0.3121, allocations: 1.125 MB / 406.1 MB, free: 3.684 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006017/0.3127, allocations: 280.7 kB / 406.4 MB, free: 3.551 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003064/0.313, allocations: 156.6 kB / 406.5 MB, free: 3.48 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.885e-05/0.3131, allocations: 3.562 kB / 406.5 MB, free: 3.48 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.779e-05/0.3131, allocations: 38.36 kB / 406.6 MB, free: 3.438 MB / 318.1 MB Notification: Performance of pre-optimization done (n=31): time 1.593e-06/0.3131, allocations: 0 / 406.6 MB, free: 3.438 MB / 318.1 MB Notification: Performance of matching and sorting (n=42): time 0.01004/0.3231, allocations: 2.266 MB / 408.8 MB, free: 2.652 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.635e-05/0.3232, allocations: 81.3 kB / 408.9 MB, free: 2.559 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005144/0.3237, allocations: 297 kB / 409.2 MB, free: 2.355 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.414e-05/0.3237, allocations: 32.3 kB / 409.2 MB, free: 2.32 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001083/0.3238, allocations: 165.2 kB / 409.4 MB, free: 2.168 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000135/0.324, allocations: 156.6 kB / 409.6 MB, free: 2.031 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002089/0.3242, allocations: 82.38 kB / 409.6 MB, free: 1.973 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.602e-05/0.3243, allocations: 344.8 kB / 410 MB, free: 1.633 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005056/0.3248, allocations: 166.5 kB / 410.1 MB, free: 1.551 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004346/0.3252, allocations: 225.8 kB / 410.4 MB, free: 1.398 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001349/0.3266, allocations: 409 kB / 410.8 MB, free: 1.156 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.3266, allocations: 4.938 kB / 410.8 MB, free: 1.152 MB / 318.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001566/0.3281, allocations: 491.4 kB / 411.2 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.452e-05/0.3281, allocations: 5.812 kB / 411.3 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.3282, allocations: 1.281 kB / 411.3 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.5e-05/0.3282, allocations: 7.156 kB / 411.3 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009615/0.3291, allocations: 118.7 kB / 411.4 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.429e-05/0.3292, allocations: 2.688 kB / 411.4 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000646/0.3298, allocations: 35.39 kB / 411.4 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.541e-05/0.3299, allocations: 18.3 kB / 411.4 MB, free: 0.8398 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.0002595/0.3301, allocations: 155.5 kB / 411.6 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001605/0.3303, allocations: 31.47 kB / 411.6 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00281/0.3331, allocations: 0.6425 MB / 412.3 MB, free: 308 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.574e-05/0.3331, allocations: 5.75 kB / 412.3 MB, free: 308 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.979e-06/0.3331, allocations: 1.031 kB / 412.3 MB, free: 308 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.113e-05/0.3331, allocations: 7.922 kB / 412.3 MB, free: 300 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005144/0.3383, allocations: 1.247 MB / 413.5 MB, free: 15.43 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.3383, allocations: 0 / 413.5 MB, free: 15.43 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006797/0.339, allocations: 88.42 kB / 413.6 MB, free: 15.41 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002326/0.3413, allocations: 271.2 kB / 413.9 MB, free: 15.28 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.836e-05/0.3414, allocations: 14.53 kB / 413.9 MB, free: 15.27 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006423/0.3478, allocations: 2.344 MB / 416.2 MB, free: 13.28 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.137e-06/0.3478, allocations: 1.125 kB / 416.2 MB, free: 13.28 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003891/0.3517, allocations: 1.004 MB / 417.2 MB, free: 12.65 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003739/0.352, allocations: 69.5 kB / 417.3 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001016/0.3521, allocations: 10.53 kB / 417.3 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008158/0.353, allocations: 35.34 kB / 417.3 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001811/0.3531, allocations: 36.61 kB / 417.4 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.283e-05/0.3532, allocations: 12.72 kB / 417.4 MB, free: 12.54 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004556/0.3537, allocations: 214.2 kB / 417.6 MB, free: 12.39 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.3537, allocations: 0 / 417.6 MB, free: 12.39 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001095/0.3548, allocations: 113.9 kB / 417.7 MB, free: 12.38 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.000455/0.3552, allocations: 145.9 kB / 417.9 MB, free: 12.26 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001955/0.3572, allocations: 414.7 kB / 418.3 MB, free: 12.07 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.3572, allocations: 3.938 kB / 418.3 MB, free: 12.07 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001326/0.3585, allocations: 366.9 kB / 418.6 MB, free: 11.83 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000904/0.3594, allocations: 42.48 kB / 418.7 MB, free: 11.8 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003513/0.3629, allocations: 0.9654 MB / 419.6 MB, free: 11.13 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008862/0.3638, allocations: 0.7862 MB / 420.4 MB, free: 10.39 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0005031/0.3643, allocations: 43.55 kB / 420.5 MB, free: 10.37 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002759/0.3646, allocations: 40.59 kB / 420.5 MB, free: 10.35 MB / 334.1 MB Notification: Performance of SimCode: time 7.92e-07/0.3646, allocations: 0 / 420.5 MB, free: 10.35 MB / 334.1 MB Notification: Performance of Templates: time 0.02556/0.3901, allocations: 6.738 MB / 427.2 MB, free: 4.379 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: 4.967849505133927]