Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001441/0.001441, allocations: 117.7 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001823/0.001823, allocations: 204.8 kB / 19.4 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.348/1.348, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001419/0.001419, allocations: 71.86 kB / 359.4 MB, free: 12.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3042/0.3056, allocations: 50.53 MB / 409.9 MB, free: 1.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.004997/0.3107, allocations: 3.431 MB / 413.4 MB, free: 14.14 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002773/0.3135, allocations: 1.648 MB / 415 MB, free: 12.48 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002667/0.3138, allocations: 7.938 kB / 415 MB, free: 12.47 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00328/0.3171, allocations: 2.671 MB / 417.7 MB, free: 9.797 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007248/0.3179, allocations: 218.5 kB / 417.9 MB, free: 9.582 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009492/0.3188, allocations: 326.8 kB / 418.2 MB, free: 9.266 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001955/0.3208, allocations: 1.813 MB / 420 MB, free: 7.445 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000243/0.321, allocations: 143.9 kB / 420.2 MB, free: 7.301 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003987/0.3215, allocations: 317 kB / 420.5 MB, free: 6.988 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003865/0.3219, allocations: 334.8 kB / 420.8 MB, free: 6.66 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.618e-05/0.322, allocations: 44 kB / 420.8 MB, free: 6.617 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002053/0.3222, allocations: 91.98 kB / 420.9 MB, free: 6.527 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005726/0.3227, allocations: 0.8414 MB / 421.8 MB, free: 5.684 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006878/0.3234, allocations: 0.9462 MB / 422.7 MB, free: 4.73 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002184/0.3256, allocations: 2.633 MB / 425.4 MB, free: 2.094 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.3257, allocations: 0 / 425.4 MB, free: 2.094 MB / 334.1 MB Notification: Performance of FrontEnd: time 4.258e-06/0.3257, allocations: 4 kB / 425.4 MB, free: 2.09 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.412e-05/0.3257, allocations: 3.938 kB / 425.4 MB, free: 2.086 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.003719/0.3294, allocations: 2.814 MB / 428.2 MB, free: 15.21 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.3295, allocations: 12.03 kB / 428.2 MB, free: 15.2 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004349/0.3299, allocations: 289.3 kB / 428.5 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002298/0.3322, allocations: 1.832 MB / 430.3 MB, free: 13.02 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.717e-05/0.3323, allocations: 59.27 kB / 430.4 MB, free: 12.96 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001745/0.3325, allocations: 51.92 kB / 430.4 MB, free: 12.91 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007292/0.3332, allocations: 395 kB / 430.8 MB, free: 12.5 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.762e-05/0.3333, allocations: 3.984 kB / 430.8 MB, free: 12.5 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.295e-05/0.3333, allocations: 12 kB / 430.8 MB, free: 12.49 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/0.3333, allocations: 8 kB / 430.8 MB, free: 12.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007016/0.334, allocations: 335.7 kB / 431.2 MB, free: 12.15 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003911/0.338, allocations: 2.903 MB / 434.1 MB, free: 9.148 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006432/0.3386, allocations: 323.4 kB / 434.4 MB, free: 8.816 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003061/0.3389, allocations: 164.1 kB / 434.5 MB, free: 8.652 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.17e-05/0.339, allocations: 15.97 kB / 434.5 MB, free: 8.637 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.42e-05/0.339, allocations: 38.5 kB / 434.6 MB, free: 8.59 MB / 350.1 MB Notification: Performance of pre-optimization done (n=37): time 1.823e-06/0.339, allocations: 0 / 434.6 MB, free: 8.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=48): time 0.004814/0.3439, allocations: 2.398 MB / 437 MB, free: 6.121 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.494e-05/0.3439, allocations: 89.47 kB / 437.1 MB, free: 6.016 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006253/0.3502, allocations: 5.455 MB / 442.5 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.88e-05/0.3503, allocations: 37.7 kB / 442.6 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001062/0.3514, allocations: 1.18 MB / 443.7 MB, free: 15.33 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001365/0.3515, allocations: 165.6 kB / 443.9 MB, free: 15.17 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001609/0.3517, allocations: 90.16 kB / 444 MB, free: 15.07 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001244/0.3518, allocations: 326 kB / 444.3 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003347/0.3521, allocations: 137.1 kB / 444.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000371/0.3525, allocations: 225.6 kB / 444.7 MB, free: 14.37 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000702/0.3532, allocations: 384.3 kB / 445 MB, free: 13.96 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.3533, allocations: 3.938 kB / 445 MB, free: 13.96 MB / 366.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001221/0.3545, allocations: 0.6839 MB / 445.7 MB, free: 13.27 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/0.3545, allocations: 8 kB / 445.7 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.3545, allocations: 3.984 kB / 445.7 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/0.3546, allocations: 4 kB / 445.7 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005186/0.3551, allocations: 124.1 kB / 445.9 MB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.267e-05/0.3551, allocations: 8 kB / 445.9 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004314/0.3555, allocations: 12 kB / 445.9 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.457e-05/0.3556, allocations: 23.98 kB / 445.9 MB, free: 13.09 MB / 366.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.001067/0.3567, allocations: 0.9307 MB / 446.8 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003196/0.357, allocations: 268.4 kB / 447.1 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001472/0.3585, allocations: 0.8059 MB / 447.9 MB, free: 11.06 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.3585, allocations: 4 kB / 447.9 MB, free: 11.06 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.3585, allocations: 0 / 447.9 MB, free: 11.06 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.684e-06/0.3585, allocations: 7.984 kB / 447.9 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001709/0.3602, allocations: 1.473 MB / 449.4 MB, free: 9.527 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.87e-06/0.3602, allocations: 3.938 kB / 449.4 MB, free: 9.523 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004467/0.3607, allocations: 95.88 kB / 449.5 MB, free: 9.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003569/0.3611, allocations: 88.8 kB / 449.6 MB, free: 9.34 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.238e-05/0.3611, allocations: 12 kB / 449.6 MB, free: 9.328 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005559/0.3617, allocations: 0.6343 MB / 450.2 MB, free: 8.668 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.3617, allocations: 4.062 kB / 450.2 MB, free: 8.664 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001638/0.3633, allocations: 1.081 MB / 451.3 MB, free: 7.559 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006558/0.364, allocations: 493.6 kB / 451.8 MB, free: 7.055 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001809/0.3642, allocations: 12 kB / 451.8 MB, free: 7.043 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004766/0.3647, allocations: 15.98 kB / 451.8 MB, free: 7.027 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.386e-05/0.3648, allocations: 28.41 kB / 451.8 MB, free: 7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.198e-05/0.3648, allocations: 15.98 kB / 451.9 MB, free: 6.984 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.004575/0.3694, allocations: 3.986 MB / 455.8 MB, free: 3.008 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.3694, allocations: 7.938 kB / 455.9 MB, free: 3 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008069/0.3702, allocations: 212 kB / 456.1 MB, free: 2.793 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.0009704/0.3712, allocations: 413.3 kB / 456.5 MB, free: 2.523 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008431/0.372, allocations: 381.1 kB / 456.8 MB, free: 2.152 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.3721, allocations: 4.188 kB / 456.8 MB, free: 2.148 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004527/0.3725, allocations: 218.4 kB / 457.1 MB, free: 1.938 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001101/0.3736, allocations: 193.9 kB / 457.2 MB, free: 1.75 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007432/0.3811, allocations: 5.605 MB / 462.8 MB, free: 12.1 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001594/0.3827, allocations: 1.825 MB / 464.7 MB, free: 10.24 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000442/0.3832, allocations: 99.36 kB / 464.8 MB, free: 10.14 MB / 382.1 MB Notification: Performance of SimCode: time 9.72e-07/0.3832, allocations: 0 / 464.8 MB, free: 10.14 MB / 382.1 MB Notification: Performance of Templates: time 0.06098/0.4442, allocations: 36.17 MB / 0.4892 GB, free: 5.953 MB / 414.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/SinglePhaseTransformerWithHysteresis1/SinglePhaseTransformerWithHysteresis1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches