Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|core.B|core.Hstat|core.MagRel|winding1.i|winding2.i",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1") translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|core.B|core.Hstat|core.MagRel|winding1.i|winding2.i",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001117/0.001117, allocations: 108 kB / 18.4 MB, free: 4.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001137/0.001137, allocations: 194.3 kB / 19.33 MB, free: 3.781 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.359/1.359, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 52.31 kB / 329.2 MB, free: 3.32 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0901/0.09147, allocations: 46.62 MB / 375.8 MB, free: 4.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.005083/0.09659, allocations: 3.35 MB / 379.2 MB, free: 1.227 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1726/0.2692, allocations: 1.392 MB / 380.5 MB, free: 9.703 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004837/0.2697, allocations: 5.5 kB / 380.6 MB, free: 9.703 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00376/0.2735, allocations: 2.66 MB / 383.2 MB, free: 9.633 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005946/0.2741, allocations: 173.2 kB / 383.4 MB, free: 9.629 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007622/0.2749, allocations: 284.3 kB / 383.7 MB, free: 9.617 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002425/0.2773, allocations: 1.794 MB / 385.5 MB, free: 9.574 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002219/0.2776, allocations: 134 kB / 385.6 MB, free: 9.547 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004596/0.278, allocations: 314.2 kB / 385.9 MB, free: 9.504 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004037/0.2784, allocations: 330.4 kB / 386.2 MB, free: 9.441 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.892e-05/0.2786, allocations: 43.84 kB / 386.3 MB, free: 9.441 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000189/0.2787, allocations: 72.44 kB / 386.3 MB, free: 9.438 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006552/0.2794, allocations: 0.8488 MB / 387.2 MB, free: 9.32 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000689/0.2801, allocations: 0.9368 MB / 388.1 MB, free: 8.898 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002822/0.2829, allocations: 2.607 MB / 390.7 MB, free: 8.184 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.772e-06/0.283, allocations: 5.312 kB / 390.7 MB, free: 8.18 MB / 318.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.283, allocations: 0 / 390.7 MB, free: 8.18 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.309e-05/0.283, allocations: 0 / 390.7 MB, free: 8.18 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.00414/0.2872, allocations: 2.798 MB / 393.5 MB, free: 6.328 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/0.2872, allocations: 9 kB / 393.5 MB, free: 6.328 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004676/0.2877, allocations: 276.6 kB / 393.8 MB, free: 6.18 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003033/0.2907, allocations: 1.823 MB / 395.6 MB, free: 5.25 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.964e-05/0.2908, allocations: 62.12 kB / 395.7 MB, free: 5.203 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001669/0.291, allocations: 48.77 kB / 395.7 MB, free: 5.188 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007093/0.2917, allocations: 395.7 kB / 396.1 MB, free: 4.98 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/0.2917, allocations: 0 / 396.1 MB, free: 4.98 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.789e-05/0.2918, allocations: 15.66 kB / 396.1 MB, free: 4.969 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.703e-05/0.2918, allocations: 10.3 kB / 396.1 MB, free: 4.969 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006314/0.2924, allocations: 331.9 kB / 396.5 MB, free: 4.812 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003779/0.2962, allocations: 2.894 MB / 399.4 MB, free: 2.828 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00065/0.2969, allocations: 329.7 kB / 399.7 MB, free: 2.637 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003418/0.2972, allocations: 161.6 kB / 399.8 MB, free: 2.551 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.807e-05/0.2973, allocations: 8.594 kB / 399.9 MB, free: 2.547 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.262e-05/0.2973, allocations: 32.81 kB / 399.9 MB, free: 2.508 MB / 318.1 MB Notification: Performance of pre-optimization done (n=37): time 2.174e-06/0.2973, allocations: 4 kB / 399.9 MB, free: 2.504 MB / 318.1 MB Notification: Performance of matching and sorting (n=48): time 0.004938/0.3023, allocations: 2.36 MB / 402.2 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.863e-05/0.3023, allocations: 87.55 kB / 402.3 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006394/0.3087, allocations: 5.435 MB / 407.8 MB, free: 14.53 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.288e-05/0.3088, allocations: 36.02 kB / 407.8 MB, free: 14.49 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001109/0.3099, allocations: 1.213 MB / 409 MB, free: 13.36 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001287/0.31, allocations: 164.3 kB / 409.2 MB, free: 13.2 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001377/0.3102, allocations: 90.16 kB / 409.3 MB, free: 13.11 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.3103, allocations: 329.9 kB / 409.6 MB, free: 12.78 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003143/0.3106, allocations: 141.1 kB / 409.7 MB, free: 12.64 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003572/0.311, allocations: 221.6 kB / 409.9 MB, free: 12.4 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006731/0.3117, allocations: 378.1 kB / 410.3 MB, free: 12 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.3117, allocations: 7.938 kB / 410.3 MB, free: 12 MB / 334.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001135/0.3128, allocations: 0.6762 MB / 411 MB, free: 11.31 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.3129, allocations: 4 kB / 411 MB, free: 11.3 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.3129, allocations: 4 kB / 411 MB, free: 11.3 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.095e-05/0.3129, allocations: 10.25 kB / 411 MB, free: 11.29 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005135/0.3134, allocations: 123.8 kB / 411.1 MB, free: 11.17 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.347e-05/0.3135, allocations: 11.92 kB / 411.1 MB, free: 11.16 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004407/0.3139, allocations: 19.91 kB / 411.2 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.474e-05/0.3139, allocations: 19.94 kB / 411.2 MB, free: 11.12 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (62): * Single equations (assignments): 62 * 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.001035/0.315, allocations: 0.9115 MB / 412.1 MB, free: 10.2 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003191/0.3153, allocations: 268.5 kB / 412.4 MB, free: 9.934 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001349/0.3167, allocations: 0.7785 MB / 413.1 MB, free: 9.145 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.137e-06/0.3167, allocations: 8 kB / 413.1 MB, free: 9.137 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.3167, allocations: 0 / 413.1 MB, free: 9.137 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.3167, allocations: 3.984 kB / 413.1 MB, free: 9.133 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001737/0.3184, allocations: 1.464 MB / 414.6 MB, free: 7.629 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.3185, allocations: 6.062 kB / 414.6 MB, free: 7.625 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004351/0.3189, allocations: 103.9 kB / 414.7 MB, free: 7.523 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000307/0.3192, allocations: 90.33 kB / 414.8 MB, free: 7.438 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.859e-05/0.3193, allocations: 8 kB / 414.8 MB, free: 7.43 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005281/0.3198, allocations: 0.6305 MB / 415.4 MB, free: 6.773 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.3198, allocations: 0 / 415.4 MB, free: 6.773 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001538/0.3214, allocations: 1.068 MB / 416.5 MB, free: 5.684 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008801/0.3222, allocations: 493.5 kB / 417 MB, free: 5.18 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001875/0.3224, allocations: 11.94 kB / 417 MB, free: 5.168 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004629/0.3229, allocations: 19.98 kB / 417 MB, free: 5.148 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.381e-05/0.323, allocations: 28.39 kB / 417.1 MB, free: 5.121 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.353e-05/0.323, allocations: 12 kB / 417.1 MB, free: 5.109 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.004916/0.3279, allocations: 3.974 MB / 421 MB, free: 1.145 MB / 334.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.328, allocations: 0 / 421 MB, free: 1.145 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008834/0.3289, allocations: 212 kB / 421.2 MB, free: 0.9375 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (core.MagRel,winding1.i,winding2.i,core.Hstat,core.B) * 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 (41): * Single equations (assignments): 40 * 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,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009743/0.3298, allocations: 426.8 kB / 421.7 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000824/0.3307, allocations: 377.3 kB / 422 MB, free: 184 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.3307, allocations: 4.062 kB / 422 MB, free: 180 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004777/0.3312, allocations: 214.5 kB / 422.2 MB, free: 15.96 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001236/0.3324, allocations: 191.1 kB / 422.4 MB, free: 15.78 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009447/0.3419, allocations: 5.587 MB / 428 MB, free: 10.16 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002089/0.344, allocations: 1.817 MB / 429.8 MB, free: 8.305 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006374/0.3447, allocations: 103.3 kB / 429.9 MB, free: 8.203 MB / 350.1 MB Notification: Performance of SimCode: time 8.42e-07/0.3447, allocations: 0 / 429.9 MB, free: 8.203 MB / 350.1 MB Notification: Performance of Templates: time 0.06188/0.4066, allocations: 36.32 MB / 466.3 MB, free: 3.828 MB / 382.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.sim & ./Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/SinglePhaseTransformerWithHysteresis1/SinglePhaseTransformerWithHysteresis1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches