Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.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.SinglePhaseTransformerWithHysteresis2,tolerance=0.0001,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|transformer.core.B|transformer.core.MagRel|transformer.core.Hstat|transformer.winding1.i|transformer.winding2.i",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2") translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2,tolerance=0.0001,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|transformer.core.B|transformer.core.MagRel|transformer.core.Hstat|transformer.winding1.i|transformer.winding2.i",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001719/0.001719, 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.002536/0.002536, 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 2.623/2.623, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002131/0.002131, allocations: 63.89 kB / 359.4 MB, free: 12.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4112/0.4134, allocations: 50.54 MB / 409.9 MB, free: 1.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.01139/0.4248, allocations: 4.378 MB / 414.3 MB, free: 13.18 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005774/0.4307, allocations: 1.648 MB / 415.9 MB, free: 11.53 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000927/0.4316, allocations: 11.94 kB / 416 MB, free: 11.52 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008408/0.4325, allocations: 126.9 kB / 416.1 MB, free: 11.39 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001969/0.4345, allocations: 353.6 kB / 416.4 MB, free: 11.04 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001138/0.4357, allocations: 243.6 kB / 416.7 MB, free: 10.8 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002223/0.438, allocations: 0.9784 MB / 417.6 MB, free: 9.82 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006945/0.4387, allocations: 249.2 kB / 417.9 MB, free: 9.574 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001147/0.4399, allocations: 386.7 kB / 418.3 MB, free: 9.195 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001287/0.4412, allocations: 426.3 kB / 418.7 MB, free: 8.777 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000389/0.4416, allocations: 96 kB / 418.8 MB, free: 8.684 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009852/0.4426, allocations: 219.9 kB / 419 MB, free: 8.469 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003699/0.443, allocations: 191.3 kB / 419.2 MB, free: 8.281 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001097/0.4441, allocations: 414.1 kB / 419.6 MB, free: 7.875 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002535/0.4467, allocations: 1.173 MB / 420.8 MB, free: 6.699 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.596e-06/0.4468, allocations: 0 / 420.8 MB, free: 6.699 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.846e-06/0.4468, allocations: 4 kB / 420.8 MB, free: 6.695 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.025e-05/0.4468, allocations: 0 / 420.8 MB, free: 6.695 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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.005103/0.4519, allocations: 1.095 MB / 421.9 MB, free: 5.551 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.487e-05/0.452, allocations: 8.031 kB / 421.9 MB, free: 5.543 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005049/0.4526, allocations: 84.08 kB / 421.9 MB, free: 5.461 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001648/0.4542, allocations: 0.5262 MB / 422.5 MB, free: 4.891 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001549/0.4544, allocations: 71.52 kB / 422.5 MB, free: 4.816 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004102/0.4549, allocations: 76.39 kB / 422.6 MB, free: 4.742 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002367/0.4572, allocations: 0.5981 MB / 423.2 MB, free: 4.125 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.268e-05/0.4573, allocations: 4 kB / 423.2 MB, free: 4.121 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001152/0.4574, allocations: 24 kB / 423.2 MB, free: 4.098 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.714e-05/0.4575, allocations: 12 kB / 423.3 MB, free: 4.086 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00239/0.4599, allocations: 0.5243 MB / 423.8 MB, free: 3.559 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00703/0.467, allocations: 2.291 MB / 426.1 MB, free: 1.16 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002011/0.469, allocations: 491.2 kB / 426.5 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001014/0.4701, allocations: 262.1 kB / 426.8 MB, free: 412 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.395e-05/0.4702, allocations: 8 kB / 426.8 MB, free: 404 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.304e-05/0.4703, allocations: 42.5 kB / 426.9 MB, free: 352 kB / 334.1 MB Notification: Performance of pre-optimization done (n=45): time 5.289e-06/0.4703, allocations: 0 / 426.9 MB, free: 352 kB / 334.1 MB Notification: Performance of matching and sorting (n=61): time 0.0263/0.4966, allocations: 3.545 MB / 430.4 MB, free: 12.71 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001069/0.4968, allocations: 97.55 kB / 430.5 MB, free: 12.59 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001408/0.4982, allocations: 0.5332 MB / 431 MB, free: 12.05 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001749/0.4984, allocations: 33.7 kB / 431.1 MB, free: 12.01 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004142/0.4988, allocations: 320.2 kB / 431.4 MB, free: 11.69 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003819/0.4992, allocations: 205 kB / 431.6 MB, free: 11.49 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00044/0.4997, allocations: 122.2 kB / 431.7 MB, free: 11.36 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002859/0.5, allocations: 366.8 kB / 432 MB, free: 11 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001115/0.5011, allocations: 245.2 kB / 432.3 MB, free: 10.75 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001341/0.5025, allocations: 344.4 kB / 432.6 MB, free: 10.39 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002554/0.5051, allocations: 0.6019 MB / 433.2 MB, free: 9.758 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.308e-05/0.5051, allocations: 3.984 kB / 433.2 MB, free: 9.754 MB / 350.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.003369/0.5085, allocations: 0.7451 MB / 434 MB, free: 8.996 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.109e-05/0.5086, allocations: 8 kB / 434 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.125e-05/0.5086, allocations: 4 kB / 434 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003483/0.509, allocations: 28.84 kB / 434 MB, free: 8.953 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001628/0.5107, allocations: 167.8 kB / 434.2 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003156/0.5138, allocations: 1.43 MB / 435.6 MB, free: 7.215 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001179/0.5151, allocations: 35.92 kB / 435.6 MB, free: 7.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001629/0.5152, allocations: 27.98 kB / 435.7 MB, free: 7.152 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 1 (transformer.core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 75 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006798/0.516, allocations: 205.7 kB / 435.9 MB, free: 6.941 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000351/0.5163, allocations: 63.25 kB / 435.9 MB, free: 6.879 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003566/0.5199, allocations: 0.8414 MB / 436.8 MB, free: 6.027 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.198e-05/0.52, allocations: 11.94 kB / 436.8 MB, free: 6.016 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.52, allocations: 0 / 436.8 MB, free: 6.016 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.902e-05/0.52, allocations: 3.984 kB / 436.8 MB, free: 6.012 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007784/0.5278, allocations: 1.849 MB / 438.6 MB, free: 4.102 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.044e-05/0.5279, allocations: 0 / 438.6 MB, free: 4.102 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001143/0.529, allocations: 103.9 kB / 438.7 MB, free: 4 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004592/0.5337, allocations: 476.2 kB / 439.2 MB, free: 3.531 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001795/0.5339, allocations: 16 kB / 439.2 MB, free: 3.516 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01035/0.5443, allocations: 3.157 MB / 442.4 MB, free: 224 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.5443, allocations: 0 / 442.4 MB, free: 224 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006264/0.5506, allocations: 1.375 MB / 443.8 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007861/0.5515, allocations: 208.3 kB / 444 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002884/0.5518, allocations: 8 kB / 444 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001323/0.5532, allocations: 43.97 kB / 444 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002883/0.5535, allocations: 52.48 kB / 444.1 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001001/0.5536, allocations: 16 kB / 444.1 MB, free: 14.48 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001086/0.5547, allocations: 390.9 kB / 444.5 MB, free: 14.11 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.5547, allocations: 0 / 444.5 MB, free: 14.11 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001541/0.5563, allocations: 200.1 kB / 444.7 MB, free: 13.91 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (transformer.winding1.i,transformer.winding2.i,transformer.core.B,transformer.core.MagRel) * Number of discrete variables: 1 (transformer.core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 51 * 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 {(2,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004998/0.5568, allocations: 143 kB / 444.8 MB, free: 13.76 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003082/0.5599, allocations: 0.7363 MB / 445.5 MB, free: 13.02 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.604e-05/0.56, allocations: 0 / 445.5 MB, free: 13.02 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001964/0.562, allocations: 0.5256 MB / 446.1 MB, free: 12.48 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001506/0.5635, allocations: 85.94 kB / 446.1 MB, free: 12.39 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005897/0.5694, allocations: 1.5 MB / 447.6 MB, free: 10.86 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009357/0.5704, allocations: 0.9081 MB / 448.5 MB, free: 9.918 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005553/0.571, allocations: 51.42 kB / 448.6 MB, free: 9.867 MB / 366.1 MB Notification: Performance of SimCode: time 1.382e-06/0.571, allocations: 0 / 448.6 MB, free: 9.867 MB / 366.1 MB Notification: Performance of Templates: time 0.03242/0.6035, allocations: 11.94 MB / 460.5 MB, free: 13.96 MB / 382.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/SinglePhaseTransformerWithHysteresis2/SinglePhaseTransformerWithHysteresis2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches