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.001743/0.001743, allocations: 114.6 kB / 18.45 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002199/0.002199, allocations: 213.9 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.514/2.514, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001695/0.001695, allocations: 63.91 kB / 359.4 MB, free: 12.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4142/0.4159, allocations: 50.54 MB / 409.9 MB, free: 1.633 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.009447/0.4254, allocations: 3.438 MB / 413.4 MB, free: 14.18 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005446/0.4309, allocations: 1.644 MB / 415 MB, free: 12.53 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006432/0.4316, allocations: 11.88 kB / 415 MB, free: 12.52 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006122/0.4378, allocations: 2.659 MB / 417.7 MB, free: 9.852 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001432/0.4393, allocations: 222.5 kB / 417.9 MB, free: 9.633 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001823/0.4412, allocations: 334.7 kB / 418.2 MB, free: 9.309 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003962/0.4452, allocations: 1.813 MB / 420 MB, free: 7.488 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004998/0.4457, allocations: 132 kB / 420.2 MB, free: 7.355 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00103/0.4468, allocations: 325 kB / 420.5 MB, free: 7.035 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007563/0.4476, allocations: 330.8 kB / 420.8 MB, free: 6.711 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001974/0.4478, allocations: 44 kB / 420.8 MB, free: 6.668 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004271/0.4482, allocations: 91.98 kB / 420.9 MB, free: 6.578 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00111/0.4494, allocations: 0.8414 MB / 421.8 MB, free: 5.734 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001509/0.4509, allocations: 0.9501 MB / 422.7 MB, free: 4.777 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004783/0.4557, allocations: 2.633 MB / 425.4 MB, free: 2.141 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.092e-05/0.4558, allocations: 0 / 425.4 MB, free: 2.141 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.4558, allocations: 0 / 425.4 MB, free: 2.141 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.916e-05/0.4559, allocations: 0 / 425.4 MB, free: 2.141 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.008913/0.4648, allocations: 2.822 MB / 428.2 MB, free: 15.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.645e-05/0.4649, allocations: 12.03 kB / 428.2 MB, free: 15.24 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008681/0.4658, allocations: 289.3 kB / 428.5 MB, free: 14.96 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005883/0.4717, allocations: 1.828 MB / 430.3 MB, free: 13.07 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001623/0.472, allocations: 63.25 kB / 430.4 MB, free: 13 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003752/0.4724, allocations: 43.94 kB / 430.4 MB, free: 12.96 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001305/0.4737, allocations: 398.9 kB / 430.8 MB, free: 12.55 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.683e-05/0.4737, allocations: 0 / 430.8 MB, free: 12.55 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.819e-05/0.4738, allocations: 16 kB / 430.8 MB, free: 12.54 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.446e-05/0.4739, allocations: 8 kB / 430.8 MB, free: 12.53 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001306/0.4752, allocations: 339.7 kB / 431.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009132/0.4843, allocations: 2.899 MB / 434.1 MB, free: 9.199 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001293/0.4857, allocations: 325 kB / 434.4 MB, free: 8.863 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006135/0.4863, allocations: 165.7 kB / 434.5 MB, free: 8.695 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.421e-05/0.4864, allocations: 11.98 kB / 434.5 MB, free: 8.684 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.792e-05/0.4865, allocations: 38.5 kB / 434.6 MB, free: 8.637 MB / 350.1 MB Notification: Performance of pre-optimization done (n=37): time 4.789e-06/0.4865, allocations: 0 / 434.6 MB, free: 8.637 MB / 350.1 MB Notification: Performance of matching and sorting (n=48): time 0.01063/0.4972, allocations: 2.402 MB / 437 MB, free: 6.164 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.518e-05/0.4973, allocations: 85.48 kB / 437.1 MB, free: 6.062 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01367/0.511, allocations: 5.452 MB / 442.5 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001427/0.5112, allocations: 37.73 kB / 442.6 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002212/0.5134, allocations: 1.187 MB / 443.7 MB, free: 15.37 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002938/0.5138, allocations: 165.6 kB / 443.9 MB, free: 15.21 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002678/0.514, allocations: 90.16 kB / 444 MB, free: 15.11 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001587/0.5142, allocations: 322 kB / 444.3 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006236/0.5149, allocations: 145 kB / 444.4 MB, free: 14.65 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007289/0.5156, allocations: 221.7 kB / 444.7 MB, free: 14.41 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00239/0.518, allocations: 380.3 kB / 445 MB, free: 14.01 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.06e-05/0.5181, allocations: 3.938 kB / 445 MB, free: 14.01 MB / 366.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.002695/0.5208, allocations: 0.6878 MB / 445.7 MB, free: 13.31 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.031e-05/0.5209, allocations: 8 kB / 445.7 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.495e-05/0.5209, allocations: 0 / 445.7 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.977e-05/0.5209, allocations: 4 kB / 445.7 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001016/0.522, allocations: 123.8 kB / 445.9 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.932e-05/0.522, allocations: 4.25 kB / 445.9 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001255/0.5233, allocations: 19.98 kB / 445.9 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.532e-05/0.5234, allocations: 20 kB / 445.9 MB, free: 13.14 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.002317/0.5257, allocations: 0.9307 MB / 446.8 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009716/0.5267, allocations: 268.4 kB / 447.1 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003109/0.5298, allocations: 0.7982 MB / 447.9 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.63e-05/0.5299, allocations: 4 kB / 447.9 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.456e-05/0.5299, allocations: 7.938 kB / 447.9 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.031e-05/0.53, allocations: 3.938 kB / 447.9 MB, free: 11.1 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004156/0.5341, allocations: 1.473 MB / 449.4 MB, free: 9.578 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.807e-05/0.5342, allocations: 3.938 kB / 449.4 MB, free: 9.574 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009263/0.5351, allocations: 95.88 kB / 449.5 MB, free: 9.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006564/0.5358, allocations: 88.8 kB / 449.6 MB, free: 9.391 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.655e-05/0.5359, allocations: 15.98 kB / 449.6 MB, free: 9.375 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009684/0.5369, allocations: 0.6304 MB / 450.2 MB, free: 8.719 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/0.5369, allocations: 0 / 450.2 MB, free: 8.719 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003314/0.5402, allocations: 1.089 MB / 451.3 MB, free: 7.605 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00195/0.5422, allocations: 489.6 kB / 451.8 MB, free: 7.105 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004747/0.5427, allocations: 12 kB / 451.8 MB, free: 7.094 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001041/0.5438, allocations: 19.98 kB / 451.8 MB, free: 7.074 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001379/0.544, allocations: 32.39 kB / 451.8 MB, free: 7.043 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.026e-05/0.544, allocations: 12 kB / 451.9 MB, free: 7.031 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.01059/0.5546, allocations: 3.99 MB / 455.8 MB, free: 3.051 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.41e-07/0.5547, allocations: 0 / 455.8 MB, free: 3.051 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00207/0.5568, allocations: 208 kB / 456 MB, free: 2.848 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.002076/0.5589, allocations: 424.2 kB / 456.5 MB, free: 2.562 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001778/0.5607, allocations: 376.8 kB / 456.8 MB, free: 2.195 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/0.5608, allocations: 0 / 456.8 MB, free: 2.195 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008788/0.5617, allocations: 222.9 kB / 457 MB, free: 1.98 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002218/0.5639, allocations: 189.9 kB / 457.2 MB, free: 1.797 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01516/0.5791, allocations: 5.605 MB / 462.8 MB, free: 12.14 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003267/0.5824, allocations: 1.825 MB / 464.7 MB, free: 10.29 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001002/0.5835, allocations: 95.42 kB / 464.8 MB, free: 10.19 MB / 382.1 MB Notification: Performance of SimCode: time 1.793e-06/0.5835, allocations: 4 kB / 464.8 MB, free: 10.19 MB / 382.1 MB Notification: Performance of Templates: time 0.1149/0.6984, allocations: 36.55 MB / 0.4896 GB, free: 5.625 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