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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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/Complex trunk/package.mo): time 0.001125/0.001125, allocations: 197.5 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.176/1.176, allocations: 227.2 MB / 245 MB, free: 5.859 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008694/0.0008694, allocations: 107.2 kB / 297.3 MB, free: 5.957 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002041/0.0002042, allocations: 4 kB / 357.9 MB, free: 9.305 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1765/0.1767, allocations: 51.48 MB / 409.4 MB, free: 26.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09537/0.2721, allocations: 93.9 MB / 0.4915 GB, free: 12.67 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002176/0.2724, allocations: 91.94 kB / 0.4916 GB, free: 12.58 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1846/0.457, allocations: 16 MB / 0.5072 GB, free: 93.07 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.457, allocations: 0 / 0.5072 GB, free: 93.07 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.333e-05/0.457, allocations: 15.7 kB / 0.5073 GB, free: 93.07 MB / 378.7 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.002034/0.4591, allocations: 0.9748 MB / 0.5082 GB, free: 92.5 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.4591, allocations: 9.625 kB / 0.5082 GB, free: 92.5 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002967/0.4594, allocations: 92.81 kB / 0.5083 GB, free: 92.46 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007128/0.4602, allocations: 492.4 kB / 0.5088 GB, free: 92.21 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.783e-05/0.4602, allocations: 79.73 kB / 0.5088 GB, free: 92.18 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001934/0.4604, allocations: 65.47 kB / 0.5089 GB, free: 92.18 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001112/0.4616, allocations: 0.603 MB / 0.5095 GB, free: 92.09 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.4616, allocations: 0 / 0.5095 GB, free: 92.09 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.965e-05/0.4617, allocations: 29.8 kB / 0.5095 GB, free: 92.09 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.354e-05/0.4617, allocations: 13.91 kB / 0.5095 GB, free: 92.09 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001205/0.4629, allocations: 0.5275 MB / 0.5101 GB, free: 92.08 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002874/0.4658, allocations: 2.326 MB / 0.5123 GB, free: 91.17 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008065/0.4666, allocations: 491.5 kB / 0.5128 GB, free: 90.94 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.697e-05/0.4666, allocations: 11.88 kB / 0.5128 GB, free: 90.94 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.005e-05/0.4667, allocations: 47.17 kB / 0.5129 GB, free: 90.89 MB / 378.7 MB Notification: Performance of pre-optimization done (n=45): time 1.583e-06/0.4667, allocations: 0 / 0.5129 GB, free: 90.89 MB / 378.7 MB Notification: Performance of matching and sorting (n=61): time 0.01235/0.479, allocations: 3.686 MB / 0.5165 GB, free: 89.45 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.48e-05/0.4791, allocations: 85.11 kB / 0.5165 GB, free: 89.36 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005001/0.4796, allocations: 483.3 kB / 0.517 GB, free: 89.12 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.37e-05/0.4796, allocations: 37.02 kB / 0.517 GB, free: 89.08 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001271/0.4798, allocations: 315.7 kB / 0.5173 GB, free: 88.84 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001045/0.4799, allocations: 206.5 kB / 0.5175 GB, free: 88.68 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.359e-05/0.4799, allocations: 11 kB / 0.5175 GB, free: 88.67 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.219e-05/0.48, allocations: 376.4 kB / 0.5179 GB, free: 88.32 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004998/0.4805, allocations: 253.8 kB / 0.5181 GB, free: 88.23 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004967/0.481, allocations: 350.4 kB / 0.5185 GB, free: 88.03 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005068/0.4815, allocations: 289.6 kB / 0.5187 GB, free: 87.9 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.4815, allocations: 0 / 0.5187 GB, free: 87.9 MB / 378.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001246/0.4828, allocations: 0.7525 MB / 0.5195 GB, free: 87.57 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.4828, allocations: 3.281 kB / 0.5195 GB, free: 87.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.4828, allocations: 2.844 kB / 0.5195 GB, free: 87.57 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001211/0.4829, allocations: 38.09 kB / 0.5195 GB, free: 87.55 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007521/0.4837, allocations: 167 kB / 0.5197 GB, free: 87.54 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006593/0.4844, allocations: 1.345 MB / 0.521 GB, free: 86.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005497/0.4849, allocations: 47.45 kB / 0.521 GB, free: 86.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.508e-05/0.485, allocations: 28.19 kB / 0.5211 GB, free: 86.18 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (75): * Single equations (assignments): 74 * 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: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002125/0.4852, allocations: 199.3 kB / 0.5213 GB, free: 86 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001098/0.4853, allocations: 62.5 kB / 0.5213 GB, free: 85.97 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001526/0.4869, allocations: 0.8602 MB / 0.5222 GB, free: 85.59 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.4869, allocations: 8.25 kB / 0.5222 GB, free: 85.59 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.4869, allocations: 3.953 kB / 0.5222 GB, free: 85.58 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.4869, allocations: 3.703 kB / 0.5222 GB, free: 85.58 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003089/0.49, allocations: 1.878 MB / 0.524 GB, free: 84.65 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.49, allocations: 3.938 kB / 0.524 GB, free: 84.64 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004937/0.4905, allocations: 115.6 kB / 0.5241 GB, free: 84.63 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002318/0.4928, allocations: 0.5023 MB / 0.5246 GB, free: 84.38 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.678e-05/0.4929, allocations: 12 kB / 0.5246 GB, free: 84.37 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004134/0.497, allocations: 3.029 MB / 0.5276 GB, free: 81.46 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.497, allocations: 0 / 0.5276 GB, free: 81.46 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002494/0.4995, allocations: 1.431 MB / 0.529 GB, free: 80.14 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002111/0.4998, allocations: 203.2 kB / 0.5292 GB, free: 79.95 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.032e-05/0.4999, allocations: 15.47 kB / 0.5292 GB, free: 79.94 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006274/0.5005, allocations: 49.81 kB / 0.5292 GB, free: 79.89 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001071/0.5006, allocations: 48.95 kB / 0.5293 GB, free: 79.86 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.845e-05/0.5007, allocations: 19.66 kB / 0.5293 GB, free: 79.85 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003408/0.501, allocations: 381.5 kB / 0.5297 GB, free: 79.52 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.501, allocations: 8 kB / 0.5297 GB, free: 79.51 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006179/0.5016, allocations: 195.3 kB / 0.5299 GB, free: 79.32 MB / 378.7 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 (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 {2 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002606/0.5019, allocations: 172.4 kB / 0.53 GB, free: 79.17 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001166/0.5031, allocations: 0.7472 MB / 0.5308 GB, free: 78.48 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.5031, allocations: 0 / 0.5308 GB, free: 78.48 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007193/0.5038, allocations: 0.5336 MB / 0.5313 GB, free: 77.98 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004789/0.5043, allocations: 79.22 kB / 0.5313 GB, free: 77.91 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002282/0.5066, allocations: 1.817 MB / 0.5331 GB, free: 76.29 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002732/0.5069, allocations: 0.9143 MB / 0.534 GB, free: 75.43 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003284/0.5072, allocations: 74.84 kB / 0.5341 GB, free: 75.39 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001713/0.5074, allocations: 58.92 kB / 0.5341 GB, free: 75.34 MB / 378.7 MB Notification: Performance of SimCode: time 2.91e-07/0.5074, allocations: 4 kB / 0.5341 GB, free: 75.33 MB / 378.7 MB Notification: Performance of Templates: time 0.01287/0.5203, allocations: 9.411 MB / 0.5433 GB, free: 66.25 MB / 378.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/SinglePhaseTransformerWithHysteresis2/SinglePhaseTransformerWithHysteresis2.csv","../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches