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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_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_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001472/0.001471, allocations: 183.5 kB / 18.04 MB, free: 3.781 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.404/1.404, allocations: 205.4 MB / 224.2 MB, free: 9.02 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007706/0.0007708, allocations: 91.08 kB / 272.5 MB, free: 8.242 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002747/0.0002747, allocations: 8 kB / 329.5 MB, free: 15.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1977/0.198, allocations: 47.58 MB / 377 MB, free: 45.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08741/0.2855, allocations: 86.25 MB / 463.3 MB, free: 10.27 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001953/0.2857, allocations: 83.95 kB / 463.4 MB, free: 10.18 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02768/0.3134, allocations: 9.283 MB / 472.7 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.933e-06/0.3134, allocations: 0 / 472.7 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.819e-05/0.3135, allocations: 8 kB / 472.7 MB, free: 0.8477 MB / 346.7 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.001275/0.3147, allocations: 0.6434 MB / 473.3 MB, free: 156 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.328e-05/0.3148, allocations: 12.03 kB / 473.3 MB, free: 144 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.381e-05/0.3149, allocations: 32.56 kB / 473.4 MB, free: 112 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004158/0.3153, allocations: 341 kB / 473.7 MB, free: 15.73 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.625e-05/0.3154, allocations: 46.83 kB / 473.7 MB, free: 15.68 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001337/0.3155, allocations: 40.73 kB / 473.8 MB, free: 15.64 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005873/0.3161, allocations: 324.6 kB / 474.1 MB, free: 15.31 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.607e-05/0.3161, allocations: 8 kB / 474.1 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.105e-05/0.3162, allocations: 8 kB / 474.1 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.091e-05/0.3162, allocations: 8 kB / 474.1 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006521/0.3168, allocations: 302 kB / 474.4 MB, free: 14.99 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001778/0.3186, allocations: 1.177 MB / 475.6 MB, free: 13.74 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006035/0.3193, allocations: 304.7 kB / 475.9 MB, free: 13.43 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003272/0.3196, allocations: 177.6 kB / 476.1 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.475e-05/0.3196, allocations: 4 kB / 476.1 MB, free: 13.24 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.622e-05/0.3197, allocations: 38.5 kB / 476.1 MB, free: 13.2 MB / 362.7 MB Notification: Performance of pre-optimization done (n=31): time 1.803e-06/0.3197, allocations: 0 / 476.1 MB, free: 13.2 MB / 362.7 MB Notification: Performance of matching and sorting (n=42): time 0.01084/0.3305, allocations: 2.828 MB / 478.9 MB, free: 10.29 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.696e-05/0.3306, allocations: 89.03 kB / 479 MB, free: 10.19 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003255/0.3309, allocations: 288.9 kB / 479.3 MB, free: 9.895 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.648e-05/0.331, allocations: 33.7 kB / 479.3 MB, free: 9.855 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.596e-05/0.3311, allocations: 164.5 kB / 479.5 MB, free: 9.691 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001015/0.3312, allocations: 153.8 kB / 479.6 MB, free: 9.539 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.479e-05/0.3312, allocations: 8 kB / 479.6 MB, free: 9.531 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001016/0.3313, allocations: 342.8 kB / 480 MB, free: 9.188 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003819/0.3317, allocations: 172.8 kB / 480.1 MB, free: 9.02 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003951/0.3321, allocations: 221.8 kB / 480.4 MB, free: 8.789 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008033/0.3329, allocations: 422.8 kB / 480.8 MB, free: 8.359 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.3329, allocations: 0 / 480.8 MB, free: 8.359 MB / 362.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.000965/0.3339, allocations: 0.4889 MB / 481.3 MB, free: 7.863 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.3339, allocations: 4 kB / 481.3 MB, free: 7.859 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.334, allocations: 7.984 kB / 481.3 MB, free: 7.852 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.334, allocations: 4 kB / 481.3 MB, free: 7.848 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006188/0.3346, allocations: 123.8 kB / 481.4 MB, free: 7.727 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/0.3346, allocations: 4 kB / 481.4 MB, free: 7.723 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000376/0.335, allocations: 43.98 kB / 481.4 MB, free: 7.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.288e-05/0.335, allocations: 11.98 kB / 481.5 MB, free: 7.668 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (51): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000162/0.3352, allocations: 149.8 kB / 481.6 MB, free: 7.512 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.699e-05/0.3353, allocations: 31.62 kB / 481.6 MB, free: 7.48 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002214/0.3375, allocations: 0.7343 MB / 482.4 MB, free: 6.73 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.366e-06/0.3375, allocations: 11.94 kB / 482.4 MB, free: 6.719 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.3376, allocations: 0 / 482.4 MB, free: 6.719 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.545e-06/0.3376, allocations: 3.984 kB / 482.4 MB, free: 6.715 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003086/0.3407, allocations: 1.318 MB / 483.7 MB, free: 5.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.3407, allocations: 4 kB / 483.7 MB, free: 5.336 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004416/0.3411, allocations: 99.88 kB / 483.8 MB, free: 5.238 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001706/0.3428, allocations: 288.5 kB / 484.1 MB, free: 4.953 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.732e-05/0.3429, allocations: 12 kB / 484.1 MB, free: 4.941 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003673/0.3466, allocations: 2.268 MB / 486.4 MB, free: 2.539 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.3466, allocations: 0 / 486.4 MB, free: 2.539 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002238/0.3488, allocations: 1.038 MB / 487.4 MB, free: 1.48 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000174/0.349, allocations: 156.6 kB / 487.6 MB, free: 1.309 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.259e-05/0.3491, allocations: 8 kB / 487.6 MB, free: 1.301 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004206/0.3495, allocations: 31.92 kB / 487.6 MB, free: 1.27 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001085/0.3496, allocations: 40.38 kB / 487.6 MB, free: 1.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.015e-05/0.3497, allocations: 19.98 kB / 487.7 MB, free: 1.211 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002125/0.3499, allocations: 212.5 kB / 487.9 MB, free: 1.004 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3499, allocations: 0 / 487.9 MB, free: 1.004 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005721/0.3505, allocations: 123.9 kB / 488 MB, free: 0.8828 MB / 362.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002663/0.3508, allocations: 155 kB / 488.1 MB, free: 0.7227 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009093/0.3517, allocations: 446.1 kB / 488.6 MB, free: 292 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3517, allocations: 0 / 488.6 MB, free: 292 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000671/0.3524, allocations: 393.4 kB / 489 MB, free: 15.89 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005099/0.3529, allocations: 32.42 kB / 489 MB, free: 15.86 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001765/0.3547, allocations: 1.223 MB / 490.2 MB, free: 14.6 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002899/0.355, allocations: 0.7894 MB / 491 MB, free: 13.78 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002244/0.3552, allocations: 42.95 kB / 491 MB, free: 13.74 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000129/0.3553, allocations: 35.41 kB / 491.1 MB, free: 13.7 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.3553, allocations: 96 / 491.1 MB, free: 13.7 MB / 378.7 MB Notification: Performance of Templates: time 0.009527/0.3649, allocations: 5.921 MB / 497 MB, free: 7.797 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.makefile (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) 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","../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches