Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.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.Electrical.Polyphase.Examples.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY") translateModel(Modelica.Electrical.Polyphase.Examples.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001575/0.001576, allocations: 200.7 kB / 18.1 MB, free: 3.719 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.409/1.409, allocations: 226.5 MB / 245.4 MB, free: 8.227 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008287/0.0008286, allocations: 98.19 kB / 297.5 MB, free: 6.867 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002349/0.0002349, allocations: 4 kB / 358.1 MB, free: 10.26 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2325/0.2327, allocations: 51.29 MB / 409.4 MB, free: 27.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1026/0.3353, allocations: 82.53 MB / 491.9 MB, free: 8.961 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002512/0.3357, allocations: 70.75 kB / 492 MB, free: 8.895 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0473/0.383, allocations: 19.03 MB / 0.499 GB, free: 5.727 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.383, allocations: 4 kB / 0.499 GB, free: 5.723 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001155/0.3831, allocations: 35.94 kB / 0.4991 GB, free: 5.688 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: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.003382/0.3865, allocations: 1.454 MB / 0.5005 GB, free: 4.176 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.244e-05/0.3866, allocations: 12.03 kB / 0.5005 GB, free: 4.164 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007502/0.3874, allocations: 179.2 kB / 0.5007 GB, free: 3.988 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001697/0.3891, allocations: 0.8734 MB / 0.5015 GB, free: 3.074 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.688e-05/0.3892, allocations: 86.59 kB / 0.5016 GB, free: 2.988 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002413/0.3894, allocations: 108.3 kB / 0.5017 GB, free: 2.883 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002581/0.392, allocations: 1.501 MB / 0.5032 GB, free: 1.312 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.716e-05/0.3921, allocations: 192 / 0.5032 GB, free: 1.312 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001037/0.3922, allocations: 51.88 kB / 0.5032 GB, free: 1.262 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.647e-05/0.3922, allocations: 28 kB / 0.5032 GB, free: 1.234 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002004/0.3942, allocations: 1.219 MB / 0.5044 GB, free: 8 kB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2018/0.5961, allocations: 4.25 MB / 0.5086 GB, free: 87.29 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008948/0.597, allocations: 1.314 MB / 0.5099 GB, free: 86.41 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006621/0.5977, allocations: 463.6 kB / 0.5103 GB, free: 86.4 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.744e-05/0.5977, allocations: 5.562 kB / 0.5103 GB, free: 86.39 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.947e-05/0.5978, allocations: 49.69 kB / 0.5104 GB, free: 86.35 MB / 378.7 MB Notification: Performance of pre-optimization done (n=49): time 3.257e-06/0.5978, allocations: 0.5 kB / 0.5104 GB, free: 86.35 MB / 378.7 MB Notification: Performance of matching and sorting (n=51): time 0.003181/0.601, allocations: 1.952 MB / 0.5123 GB, free: 85.9 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.255e-05/0.601, allocations: 55.25 kB / 0.5123 GB, free: 85.84 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008118/0.6018, allocations: 0.8165 MB / 0.5131 GB, free: 85.71 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.455e-05/0.6019, allocations: 36.48 kB / 0.5132 GB, free: 85.68 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002359/0.6021, allocations: 0.5427 MB / 0.5137 GB, free: 85.43 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.441e-05/0.6022, allocations: 176 kB / 0.5139 GB, free: 85.32 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.31e-05/0.6022, allocations: 9.75 kB / 0.5139 GB, free: 85.32 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.601e-05/0.6023, allocations: 389.8 kB / 0.5142 GB, free: 85.01 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004038/0.6027, allocations: 307.3 kB / 0.5145 GB, free: 85.01 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003967/0.6032, allocations: 405.7 kB / 0.5149 GB, free: 84.92 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007399/0.6039, allocations: 0.7031 MB / 0.5156 GB, free: 84.61 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.6039, allocations: 6.375 kB / 0.5156 GB, free: 84.61 MB / 378.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001124/0.605, allocations: 0.9192 MB / 0.5165 GB, free: 84.27 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.6051, allocations: 5.375 kB / 0.5165 GB, free: 84.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.6051, allocations: 2.281 kB / 0.5165 GB, free: 84.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002642/0.6054, allocations: 108.9 kB / 0.5166 GB, free: 84.24 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004726/0.6058, allocations: 129.2 kB / 0.5167 GB, free: 84.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001572/0.6074, allocations: 2.181 MB / 0.5189 GB, free: 82.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003187/0.6077, allocations: 29.81 kB / 0.5189 GB, free: 82.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.198e-05/0.6078, allocations: 18.41 kB / 0.5189 GB, free: 82.49 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 59 * 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%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004855/0.6083, allocations: 465.3 kB / 0.5194 GB, free: 82.25 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.619e-05/0.6084, allocations: 75.34 kB / 0.5194 GB, free: 82.21 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001191/0.6085, allocations: 95.02 kB / 0.5195 GB, free: 82.15 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.6085, allocations: 6.469 kB / 0.5195 GB, free: 82.15 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.6085, allocations: 2.438 kB / 0.5195 GB, free: 82.15 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.6085, allocations: 3.844 kB / 0.5195 GB, free: 82.15 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002343/0.6109, allocations: 2.028 MB / 0.5215 GB, free: 81.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.6109, allocations: 3.906 kB / 0.5215 GB, free: 81.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000301/0.6112, allocations: 90.86 kB / 0.5216 GB, free: 81.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001839/0.6114, allocations: 101.5 kB / 0.5217 GB, free: 81.23 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.715e-05/0.6114, allocations: 23.06 kB / 0.5217 GB, free: 81.22 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001343/0.6128, allocations: 2.125 MB / 0.5238 GB, free: 79.52 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.6128, allocations: 3.703 kB / 0.5238 GB, free: 79.52 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001262/0.6141, allocations: 1.217 MB / 0.525 GB, free: 78.96 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001331/0.6142, allocations: 166.7 kB / 0.5252 GB, free: 78.82 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.14e-05/0.6143, allocations: 11.56 kB / 0.5252 GB, free: 78.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003474/0.6146, allocations: 54.06 kB / 0.5252 GB, free: 78.81 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001082/0.6148, allocations: 47.19 kB / 0.5253 GB, free: 78.8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.78e-05/0.6148, allocations: 17.05 kB / 0.5253 GB, free: 78.79 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005341/0.6153, allocations: 0.5806 MB / 0.5258 GB, free: 78.55 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.6153, allocations: 0 / 0.5258 GB, free: 78.55 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006028/0.616, allocations: 211.8 kB / 0.526 GB, free: 78.54 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (transformerL.inductor[2].i,transformerL.inductor[3].i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 42 * 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%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001289/0.6161, allocations: 121.7 kB / 0.5262 GB, free: 78.43 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009842/0.6171, allocations: 0.8255 MB / 0.527 GB, free: 78.09 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.6171, allocations: 3.375 kB / 0.527 GB, free: 78.09 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005393/0.6176, allocations: 498.6 kB / 0.5274 GB, free: 77.85 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008272/0.6185, allocations: 165.3 kB / 0.5276 GB, free: 77.8 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002558/0.621, allocations: 2.633 MB / 0.5302 GB, free: 76.34 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005979/0.6217, allocations: 1.334 MB / 0.5315 GB, free: 75.52 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000384/0.622, allocations: 184.4 kB / 0.5317 GB, free: 75.51 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001362/0.6222, allocations: 52.12 kB / 0.5317 GB, free: 75.5 MB / 378.7 MB Notification: Performance of SimCode: time 3.8e-07/0.6222, allocations: 0 / 0.5317 GB, free: 75.5 MB / 378.7 MB Notification: Performance of Templates: time 0.01366/0.6359, allocations: 9.719 MB / 0.5412 GB, free: 67.89 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.makefile (rm -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.sim & ./Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/TransformerYY/TransformerYY.csv","../files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches