Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001321/0.001321, allocations: 180.4 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.355/1.355, allocations: 223.2 MB / 240.3 MB, free: 10.15 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009369/0.0009369, allocations: 85.84 kB / 291.5 MB, free: 10.71 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002345/0.0002343, allocations: 8 kB / 351.1 MB, free: 15.11 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2379/0.2381, allocations: 50.41 MB / 401.5 MB, free: 32.56 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1111/0.3493, allocations: 81.78 MB / 483.3 MB, free: 14.66 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002279/0.3495, allocations: 75.97 kB / 483.4 MB, free: 14.59 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04752/0.397, allocations: 18.97 MB / 0.4905 GB, free: 11.49 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.138e-06/0.3971, allocations: 0 / 0.4905 GB, free: 11.49 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.317e-05/0.3972, allocations: 28 kB / 0.4906 GB, free: 11.46 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.002843/0.4001, allocations: 1.461 MB / 0.492 GB, free: 9.945 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/0.4001, allocations: 8.031 kB / 0.492 GB, free: 9.938 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002537/0.4004, allocations: 146.3 kB / 0.4921 GB, free: 9.793 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001593/0.402, allocations: 0.8608 MB / 0.493 GB, free: 8.891 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.868e-05/0.4021, allocations: 82.22 kB / 0.4931 GB, free: 8.809 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001545/0.4022, allocations: 104 kB / 0.4932 GB, free: 8.707 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002358/0.4046, allocations: 1.497 MB / 0.4946 GB, free: 7.141 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.254e-05/0.4046, allocations: 352 / 0.4946 GB, free: 7.141 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001089/0.4048, allocations: 51.95 kB / 0.4947 GB, free: 7.09 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.219e-05/0.4048, allocations: 24 kB / 0.4947 GB, free: 7.066 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002026/0.4068, allocations: 1.223 MB / 0.4959 GB, free: 5.836 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006871/0.4137, allocations: 4.248 MB / 0.5 GB, free: 1.453 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2719/0.6857, allocations: 1.302 MB / 0.5013 GB, free: 91.72 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.889e-05/0.6858, allocations: 9.297 kB / 0.5013 GB, free: 91.72 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.667e-05/0.6859, allocations: 38.25 kB / 0.5014 GB, free: 91.68 MB / 378.7 MB Notification: Performance of pre-optimization done (n=49): time 4.258e-06/0.6859, allocations: 3.281 kB / 0.5014 GB, free: 91.68 MB / 378.7 MB Notification: Performance of matching and sorting (n=50): time 0.004362/0.6902, allocations: 1.966 MB / 0.5033 GB, free: 91.3 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.712e-05/0.6903, allocations: 57.34 kB / 0.5033 GB, free: 91.24 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001188/0.6915, allocations: 0.7395 MB / 0.5041 GB, free: 91.11 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.807e-05/0.6915, allocations: 34.39 kB / 0.5041 GB, free: 91.08 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003786/0.6919, allocations: 0.5397 MB / 0.5046 GB, free: 90.87 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001365/0.6921, allocations: 172.8 kB / 0.5048 GB, free: 90.78 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.828e-05/0.6921, allocations: 15.78 kB / 0.5048 GB, free: 90.78 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.6923, allocations: 383.8 kB / 0.5052 GB, free: 90.47 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000528/0.6928, allocations: 311 kB / 0.5055 GB, free: 90.46 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000495/0.6933, allocations: 410.3 kB / 0.5059 GB, free: 90.38 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006276/0.6939, allocations: 374.5 kB / 0.5062 GB, free: 90.38 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.139e-06/0.6939, allocations: 4.906 kB / 0.5062 GB, free: 90.38 MB / 378.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001204/0.6952, allocations: 0.9282 MB / 0.5071 GB, free: 90.28 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.6952, allocations: 7.812 kB / 0.5071 GB, free: 90.28 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.387e-06/0.6952, allocations: 3.812 kB / 0.5071 GB, free: 90.28 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002549/0.6955, allocations: 107.4 kB / 0.5072 GB, free: 90.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004825/0.696, allocations: 128.5 kB / 0.5074 GB, free: 90.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001711/0.6977, allocations: 2.194 MB / 0.5095 GB, free: 88.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003644/0.6981, allocations: 35.7 kB / 0.5095 GB, free: 88.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.321e-05/0.6981, allocations: 17.78 kB / 0.5096 GB, free: 88.93 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 (59): * Single equations (assignments): 58 * 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.000576/0.6987, allocations: 456.8 kB / 0.51 GB, free: 88.82 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001033/0.6988, allocations: 69.72 kB / 0.5101 GB, free: 88.78 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001514/0.6989, allocations: 94.39 kB / 0.5101 GB, free: 88.77 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.251e-06/0.699, allocations: 7.5 kB / 0.5102 GB, free: 88.77 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.247e-05/0.699, allocations: 3.391 kB / 0.5102 GB, free: 88.77 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.699, allocations: 7.75 kB / 0.5102 GB, free: 88.77 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002619/0.7016, allocations: 2.009 MB / 0.5121 GB, free: 88.29 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.7016, allocations: 3.844 kB / 0.5121 GB, free: 88.29 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003319/0.702, allocations: 95.14 kB / 0.5122 GB, free: 88.29 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001804/0.7022, allocations: 95.91 kB / 0.5123 GB, free: 88.26 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.85e-05/0.7022, allocations: 22.38 kB / 0.5123 GB, free: 88.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001425/0.7036, allocations: 2.148 MB / 0.5144 GB, free: 86.55 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.7036, allocations: 7.609 kB / 0.5144 GB, free: 86.54 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001276/0.7049, allocations: 1.225 MB / 0.5156 GB, free: 85.99 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001608/0.7051, allocations: 157.9 kB / 0.5158 GB, free: 85.85 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.481e-05/0.7052, allocations: 18.09 kB / 0.5158 GB, free: 85.84 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003488/0.7055, allocations: 51.81 kB / 0.5159 GB, free: 85.84 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.031e-05/0.7056, allocations: 43.67 kB / 0.5159 GB, free: 85.83 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.68e-05/0.7057, allocations: 10.53 kB / 0.5159 GB, free: 85.83 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005423/0.7062, allocations: 0.5828 MB / 0.5165 GB, free: 85.59 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.91e-07/0.7062, allocations: 0 / 0.5165 GB, free: 85.59 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006727/0.7069, allocations: 209.4 kB / 0.5167 GB, free: 85.57 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (41): * Single equations (assignments): 40 * 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.0001458/0.707, allocations: 114 kB / 0.5168 GB, free: 85.48 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001033/0.7081, allocations: 0.8392 MB / 0.5176 GB, free: 85.15 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.7081, allocations: 3.812 kB / 0.5176 GB, free: 85.15 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005577/0.7087, allocations: 496 kB / 0.5181 GB, free: 84.92 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006302/0.7093, allocations: 166.4 kB / 0.5182 GB, free: 84.88 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002769/0.7121, allocations: 2.595 MB / 0.5208 GB, free: 83.48 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007037/0.7128, allocations: 1.359 MB / 0.5221 GB, free: 82.66 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003921/0.7132, allocations: 192.6 kB / 0.5223 GB, free: 82.65 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000117/0.7133, allocations: 48.25 kB / 0.5223 GB, free: 82.64 MB / 378.7 MB Notification: Performance of SimCode: time 1.203e-06/0.7133, allocations: 0 / 0.5223 GB, free: 82.64 MB / 378.7 MB Notification: Performance of Templates: time 0.01346/0.7268, allocations: 9.595 MB / 0.5317 GB, free: 77.64 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.sim & ./Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/TransformerYY/TransformerYY.csv","../files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches