Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYD.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.MultiPhase.Examples.TransformerYD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformerL.inductor.1..i|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYD") translateModel(Modelica.Electrical.MultiPhase.Examples.TransformerYD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformerL.inductor.1..i|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002413/0.002413, allocations: 181.7 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.146/2.146, allocations: 205.2 MB / 219.4 MB, free: 14.28 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001558/0.001558, allocations: 90.7 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.613e-05/2.63e-05, allocations: 0 / 321.5 MB, free: 17.86 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0901/0.09015, allocations: 47.58 MB / 369.1 MB, free: 2.215 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3945/0.4847, allocations: 80.94 MB / 450 MB, free: 12.24 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002606/0.485, allocations: 75.91 kB / 450.1 MB, free: 12.2 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08164/0.5666, allocations: 18.99 MB / 469.1 MB, free: 11.09 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.444e-06/0.5667, allocations: 4 kB / 469.1 MB, free: 11.08 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.000125/0.5668, allocations: 31.94 kB / 469.1 MB, free: 11.05 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.004453/0.5713, allocations: 1.341 MB / 470.5 MB, free: 9.66 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.431e-05/0.5714, allocations: 12.03 kB / 470.5 MB, free: 9.648 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000636/0.572, allocations: 142.3 kB / 470.6 MB, free: 9.508 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002935/0.575, allocations: 0.8985 MB / 471.5 MB, free: 8.562 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001237/0.5751, allocations: 90.2 kB / 471.6 MB, free: 8.473 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003538/0.5755, allocations: 112 kB / 471.7 MB, free: 8.363 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004282/0.5798, allocations: 1.494 MB / 473.2 MB, free: 6.797 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.493e-05/0.5799, allocations: 4 kB / 473.2 MB, free: 6.793 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00019/0.5801, allocations: 48 kB / 473.3 MB, free: 6.746 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.403e-05/0.5801, allocations: 28 kB / 473.3 MB, free: 6.719 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003615/0.5838, allocations: 1.176 MB / 474.5 MB, free: 5.535 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01211/0.5959, allocations: 4.311 MB / 478.8 MB, free: 1.09 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001731/0.5977, allocations: 1.281 MB / 480.1 MB, free: 15.63 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001064/0.5988, allocations: 461.7 kB / 480.5 MB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.016e-05/0.5989, allocations: 8.375 kB / 480.5 MB, free: 15.17 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.759e-05/0.5989, allocations: 39 kB / 480.6 MB, free: 15.12 MB / 362.7 MB Notification: Performance of pre-optimization done (n=51): time 3.175e-06/0.5989, allocations: 0 / 480.6 MB, free: 15.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=51): time 0.001591/0.6005, allocations: 0.5928 MB / 481.1 MB, free: 14.52 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.298e-05/0.6006, allocations: 59.84 kB / 481.2 MB, free: 14.45 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001565/0.6022, allocations: 0.7182 MB / 481.9 MB, free: 13.73 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001173/0.6023, allocations: 37.7 kB / 482 MB, free: 13.68 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004822/0.6028, allocations: 0.5556 MB / 482.5 MB, free: 13.12 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002267/0.6031, allocations: 181.4 kB / 482.7 MB, free: 12.94 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.828e-05/0.6031, allocations: 12 kB / 482.7 MB, free: 12.93 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.6033, allocations: 334.8 kB / 483 MB, free: 12.59 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000676/0.604, allocations: 281 kB / 483.3 MB, free: 12.32 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007443/0.6047, allocations: 382.5 kB / 483.7 MB, free: 11.91 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007977/0.6056, allocations: 343.1 kB / 484 MB, free: 11.58 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.6056, allocations: 0 / 484 MB, free: 11.58 MB / 362.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001767/0.6074, allocations: 0.7249 MB / 484.7 MB, free: 10.84 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.748e-05/0.6074, allocations: 7.984 kB / 484.7 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/0.6074, allocations: 4 kB / 484.7 MB, free: 10.83 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.448e-05/0.6075, allocations: 4 kB / 484.8 MB, free: 10.83 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001207/0.6087, allocations: 152.1 kB / 484.9 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.423e-05/0.6087, allocations: 7.984 kB / 484.9 MB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007505/0.6095, allocations: 63.52 kB / 485 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.148e-05/0.6096, allocations: 19.98 kB / 485 MB, free: 10.59 MB / 362.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 69 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001927/0.6098, allocations: 137.5 kB / 485.1 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001916/0.61, allocations: 75.16 kB / 485.2 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002836/0.6103, allocations: 94.86 kB / 485.3 MB, free: 10.28 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.087e-06/0.6103, allocations: 4 kB / 485.3 MB, free: 10.28 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.889e-06/0.6103, allocations: 4 kB / 485.3 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.218e-05/0.6103, allocations: 7.969 kB / 485.3 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004718/0.6151, allocations: 1.883 MB / 487.2 MB, free: 8.312 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.876e-06/0.6151, allocations: 3.953 kB / 487.2 MB, free: 8.309 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001054/0.6162, allocations: 116 kB / 487.3 MB, free: 8.195 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-05/0.6162, allocations: 4 kB / 487.3 MB, free: 8.191 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.265e-05/0.6163, allocations: 15.98 kB / 487.3 MB, free: 8.176 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.566e-06/0.6163, allocations: 4 kB / 487.3 MB, free: 8.172 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.6163, allocations: 3.938 kB / 487.3 MB, free: 8.168 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002288/0.6186, allocations: 1.077 MB / 488.4 MB, free: 7.051 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003768/0.6191, allocations: 164.2 kB / 488.6 MB, free: 6.871 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000155/0.6192, allocations: 12 kB / 488.6 MB, free: 6.859 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007895/0.62, allocations: 55.95 kB / 488.6 MB, free: 6.805 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001383/0.6202, allocations: 44.33 kB / 488.7 MB, free: 6.762 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.963e-05/0.6202, allocations: 15.94 kB / 488.7 MB, free: 6.746 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001199/0.6215, allocations: 0.5732 MB / 489.3 MB, free: 6.176 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.01e-07/0.6215, allocations: 0 / 489.3 MB, free: 6.176 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001114/0.6226, allocations: 290.7 kB / 489.6 MB, free: 5.891 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (transformerL.inductor[1].i,transformerL.inductor[2].i,transformerL.inductor[3].i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002474/0.6229, allocations: 115.2 kB / 489.7 MB, free: 5.77 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001501/0.6244, allocations: 0.603 MB / 490.3 MB, free: 5.164 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.975e-06/0.6244, allocations: 0 / 490.3 MB, free: 5.164 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006572/0.6251, allocations: 298.9 kB / 490.6 MB, free: 4.875 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001449/0.6266, allocations: 171 kB / 490.7 MB, free: 4.711 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005104/0.6317, allocations: 1.852 MB / 492.6 MB, free: 2.805 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001271/0.633, allocations: 1.34 MB / 493.9 MB, free: 1.438 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003953/0.6334, allocations: 55.44 kB / 494 MB, free: 1.387 MB / 362.7 MB Notification: Performance of SimCode: time 1.483e-06/0.6335, allocations: 0 / 494 MB, free: 1.387 MB / 362.7 MB Notification: Performance of Templates: time 0.02966/0.6631, allocations: 12.92 MB / 0.495 GB, free: 4.453 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYD.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYD.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYD --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYD_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/MultiPhase/Examples/TransformerYD/TransformerYD.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches