Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001437/0.001437, allocations: 113.9 kB / 17.07 MB, free: 6 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.001552/0.001552, allocations: 190.9 kB / 18 MB, free: 5.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.319/1.319, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001115/0.001115, allocations: 39.94 kB / 351.3 MB, free: 3.242 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2971/0.2983, allocations: 49.44 MB / 400.7 MB, free: 8.758 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.005013/0.3033, allocations: 3.397 MB / 404.1 MB, free: 5.477 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002274/0.3056, allocations: 1.45 MB / 405.6 MB, free: 4.02 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000177/0.3058, allocations: 7.938 kB / 405.6 MB, free: 4.012 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002576/0.3084, allocations: 2.667 MB / 408.2 MB, free: 1.34 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004003/0.3088, allocations: 170.7 kB / 408.4 MB, free: 1.172 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000658/0.3095, allocations: 314.9 kB / 408.7 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001465/0.311, allocations: 1.794 MB / 410.5 MB, free: 15.07 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002185/0.3112, allocations: 135.3 kB / 410.6 MB, free: 14.93 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003175/0.3115, allocations: 313 kB / 411 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003433/0.3119, allocations: 322.8 kB / 411.3 MB, free: 14.31 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.653e-05/0.312, allocations: 44 kB / 411.3 MB, free: 14.27 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001688/0.3121, allocations: 91.92 kB / 411.4 MB, free: 14.18 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005606/0.3127, allocations: 0.8414 MB / 412.2 MB, free: 13.33 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006949/0.3134, allocations: 0.9346 MB / 413.2 MB, free: 12.39 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001958/0.3154, allocations: 2.613 MB / 415.8 MB, free: 9.77 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3154, allocations: 4 kB / 415.8 MB, free: 9.766 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.085e-06/0.3154, allocations: 0 / 415.8 MB, free: 9.766 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2e-05/0.3154, allocations: 3.938 kB / 415.8 MB, free: 9.762 MB / 334.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.003512/0.3189, allocations: 2.802 MB / 418.6 MB, free: 6.895 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.319, allocations: 12.03 kB / 418.6 MB, free: 6.883 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000296/0.3193, allocations: 277.4 kB / 418.9 MB, free: 6.609 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002199/0.3215, allocations: 1.82 MB / 420.7 MB, free: 4.734 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.502e-05/0.3216, allocations: 55.27 kB / 420.8 MB, free: 4.672 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001733/0.3218, allocations: 55.92 kB / 420.8 MB, free: 4.617 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006883/0.3225, allocations: 398.9 kB / 421.2 MB, free: 4.211 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.669e-05/0.3225, allocations: 0 / 421.2 MB, free: 4.211 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.619e-05/0.3225, allocations: 16 kB / 421.2 MB, free: 4.195 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.171e-05/0.3225, allocations: 8 kB / 421.2 MB, free: 4.188 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000686/0.3232, allocations: 327.8 kB / 421.5 MB, free: 3.867 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003589/0.3268, allocations: 2.899 MB / 424.4 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006053/0.3275, allocations: 313 kB / 424.7 MB, free: 0.543 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000311/0.3278, allocations: 170.1 kB / 424.9 MB, free: 380 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.763e-05/0.3278, allocations: 8 kB / 424.9 MB, free: 372 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.806e-05/0.3279, allocations: 46.34 kB / 425 MB, free: 316 kB / 334.1 MB Notification: Performance of pre-optimization done (n=37): time 1.503e-06/0.3279, allocations: 0 / 425 MB, free: 316 kB / 334.1 MB Notification: Performance of matching and sorting (n=48): time 0.005116/0.333, allocations: 2.378 MB / 427.3 MB, free: 13.86 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.936e-05/0.3331, allocations: 85.48 kB / 427.4 MB, free: 13.76 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006193/0.3393, allocations: 5.439 MB / 432.9 MB, free: 8.316 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.692e-05/0.3393, allocations: 37.7 kB / 432.9 MB, free: 8.273 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00101/0.3404, allocations: 1.203 MB / 434.1 MB, free: 7.062 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001269/0.3405, allocations: 165.5 kB / 434.3 MB, free: 6.898 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001361/0.3406, allocations: 90.25 kB / 434.4 MB, free: 6.805 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000121/0.3408, allocations: 326 kB / 434.7 MB, free: 6.48 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003172/0.3411, allocations: 141 kB / 434.8 MB, free: 6.344 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003535/0.3414, allocations: 225.6 kB / 435 MB, free: 6.098 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006721/0.3421, allocations: 380.3 kB / 435.4 MB, free: 5.699 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.92e-06/0.3421, allocations: 7.938 kB / 435.4 MB, free: 5.691 MB / 350.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001057/0.3432, allocations: 0.68 MB / 436.1 MB, free: 5.004 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.3432, allocations: 8 kB / 436.1 MB, free: 4.996 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/0.3432, allocations: 3.984 kB / 436.1 MB, free: 4.992 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.3433, allocations: 7.984 kB / 436.1 MB, free: 4.984 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005042/0.3438, allocations: 128 kB / 436.2 MB, free: 4.859 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.3438, allocations: 4 kB / 436.2 MB, free: 4.855 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003876/0.3442, allocations: 16 kB / 436.3 MB, free: 4.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.473e-05/0.3442, allocations: 23.98 kB / 436.3 MB, free: 4.816 MB / 350.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.0009207/0.3452, allocations: 0.9191 MB / 437.2 MB, free: 3.887 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002871/0.3455, allocations: 268.5 kB / 437.5 MB, free: 3.621 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001389/0.3469, allocations: 0.7902 MB / 438.2 MB, free: 2.816 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.223e-06/0.3469, allocations: 8 kB / 438.3 MB, free: 2.809 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.3469, allocations: 0 / 438.3 MB, free: 2.809 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.672e-06/0.3469, allocations: 3.984 kB / 438.3 MB, free: 2.805 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001537/0.3484, allocations: 1.469 MB / 439.7 MB, free: 1.285 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/0.3485, allocations: 7.938 kB / 439.7 MB, free: 1.277 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004635/0.3489, allocations: 99.88 kB / 439.8 MB, free: 1.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003439/0.3493, allocations: 92.72 kB / 439.9 MB, free: 1.086 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.326e-05/0.3493, allocations: 12 kB / 439.9 MB, free: 1.074 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005316/0.3499, allocations: 0.6344 MB / 440.6 MB, free: 424 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.3499, allocations: 0 / 440.6 MB, free: 424 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001652/0.3515, allocations: 1.085 MB / 441.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006329/0.3522, allocations: 489.5 kB / 442.1 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001546/0.3523, allocations: 12 kB / 442.1 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004733/0.3528, allocations: 19.98 kB / 442.2 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.254e-05/0.3529, allocations: 24.39 kB / 442.2 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.814e-05/0.3529, allocations: 16 kB / 442.2 MB, free: 14.73 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.004328/0.3573, allocations: 3.974 MB / 446.2 MB, free: 10.77 MB / 366.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3573, allocations: 0 / 446.2 MB, free: 10.77 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006661/0.358, allocations: 211.9 kB / 446.4 MB, free: 10.56 MB / 366.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.0009714/0.3589, allocations: 429 kB / 446.8 MB, free: 10.29 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000779/0.3597, allocations: 381.1 kB / 447.2 MB, free: 9.918 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.3597, allocations: 8.188 kB / 447.2 MB, free: 9.91 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004492/0.3602, allocations: 214.4 kB / 447.4 MB, free: 9.703 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009635/0.3612, allocations: 180.8 kB / 447.6 MB, free: 9.523 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006904/0.3681, allocations: 5.408 MB / 453 MB, free: 4.074 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001463/0.3696, allocations: 1.818 MB / 454.8 MB, free: 2.223 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0006167/0.3702, allocations: 271.6 kB / 455.1 MB, free: 1.953 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000255/0.3705, allocations: 91.42 kB / 455.2 MB, free: 1.863 MB / 366.1 MB Notification: Performance of SimCode: time 1.162e-06/0.3705, allocations: 0 / 455.2 MB, free: 1.863 MB / 366.1 MB Notification: Performance of Templates: time 0.03086/0.4013, allocations: 15.46 MB / 470.6 MB, free: 2.453 MB / 382.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/SinglePhaseTransformerWithHysteresis1/SinglePhaseTransformerWithHysteresis1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches