Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.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.Machines.Examples.Transformers.Rectifier6pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.1..i|transformer1.l2sigma.inductor.3..i",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") translateModel(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.1..i|transformer1.l2sigma.inductor.3..i",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001483/0.001483, allocations: 198.8 kB / 18.07 MB, free: 3.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.266/1.266, allocations: 226.5 MB / 245.4 MB, free: 8.277 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007693/0.0007692, allocations: 93.31 kB / 297.4 MB, free: 6.93 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002125/0.0002126, allocations: 8 kB / 357.4 MB, free: 10.99 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1951/0.1954, allocations: 51.29 MB / 408.7 MB, free: 27.77 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1039/0.2993, allocations: 91.86 MB / 0.4888 GB, free: 15.78 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002646/0.2996, allocations: 91.94 kB / 0.4889 GB, free: 15.69 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3288/0.6284, allocations: 63.59 MB / 0.551 GB, free: 60.34 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.895e-06/0.6284, allocations: 0 / 0.551 GB, free: 60.34 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001936/0.6286, allocations: 59.94 kB / 0.551 GB, free: 60.29 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: 579 * Number of variables: 579 Notification: Performance of Generate backend data structure: time 0.008173/0.6368, allocations: 2.515 MB / 0.5535 GB, free: 57.7 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.971e-05/0.6369, allocations: 8.031 kB / 0.5535 GB, free: 57.7 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002395/0.6393, allocations: 349.6 kB / 0.5538 GB, free: 57.35 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005168/0.6445, allocations: 1.623 MB / 0.5554 GB, free: 55.67 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002225/0.6448, allocations: 160.8 kB / 0.5556 GB, free: 55.51 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001015/0.6458, allocations: 216.4 kB / 0.5558 GB, free: 55.3 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01048/0.6563, allocations: 3.102 MB / 0.5588 GB, free: 52.05 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001289/0.6565, allocations: 192 / 0.5588 GB, free: 52.05 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007214/0.6573, allocations: 95.94 kB / 0.5589 GB, free: 51.96 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001771/0.6575, allocations: 116.4 kB / 0.559 GB, free: 51.84 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008579/0.6661, allocations: 2.52 MB / 0.5615 GB, free: 49.3 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02527/0.6914, allocations: 8.912 MB / 0.5702 GB, free: 40.22 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005132/0.6966, allocations: 3.362 MB / 0.5735 GB, free: 36.54 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003249/0.6999, allocations: 1.337 MB / 0.5748 GB, free: 35.21 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004338/0.7003, allocations: 134.4 kB / 0.5749 GB, free: 35.05 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.207e-05/0.7004, allocations: 47.88 kB / 0.5749 GB, free: 35 MB / 378.7 MB Notification: Performance of pre-optimization done (n=128): time 5.691e-06/0.7004, allocations: 0 / 0.5749 GB, free: 35 MB / 378.7 MB Notification: Performance of matching and sorting (n=132): time 0.01771/0.7182, allocations: 5.653 MB / 0.5805 GB, free: 29.2 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.2e-05/0.7182, allocations: 76.72 kB / 0.5805 GB, free: 29.11 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003649/0.7219, allocations: 1.49 MB / 0.582 GB, free: 27.61 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000219/0.7222, allocations: 49.64 kB / 0.582 GB, free: 27.55 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007935/0.723, allocations: 0.9332 MB / 0.5829 GB, free: 26.61 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005832/0.7236, allocations: 445.6 kB / 0.5834 GB, free: 26.16 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001579/0.7238, allocations: 24 kB / 0.5834 GB, free: 26.14 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.7239, allocations: 357.9 kB / 0.5837 GB, free: 25.79 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001816/0.7257, allocations: 0.6857 MB / 0.5844 GB, free: 25.1 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002016/0.7278, allocations: 0.8503 MB / 0.5852 GB, free: 24.2 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0037/0.7315, allocations: 1.568 MB / 0.5868 GB, free: 22.59 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.487e-06/0.7315, allocations: 4 kB / 0.5868 GB, free: 22.58 MB / 378.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.006464/0.738, allocations: 2.294 MB / 0.589 GB, free: 20.27 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.288e-05/0.7381, allocations: 4 kB / 0.589 GB, free: 20.26 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.264e-05/0.7381, allocations: 4 kB / 0.589 GB, free: 20.26 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003185/0.7413, allocations: 0.7019 MB / 0.5897 GB, free: 19.54 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001687/0.7431, allocations: 207.8 kB / 0.5899 GB, free: 19.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01644/0.7595, allocations: 10.52 MB / 0.6002 GB, free: 8.285 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001171/0.7607, allocations: 47.97 kB / 0.6002 GB, free: 8.238 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001051/0.7609, allocations: 43.98 kB / 0.6003 GB, free: 8.195 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 6 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (103): * Single equations (assignments): 99 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 29} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.001262/0.7621, allocations: 0.8236 MB / 0.6011 GB, free: 7.363 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003198/0.7625, allocations: 158.1 kB / 0.6012 GB, free: 7.207 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003047/0.7655, allocations: 2.16 MB / 0.6033 GB, free: 5.023 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.008e-05/0.7655, allocations: 12 kB / 0.6033 GB, free: 5.012 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.7655, allocations: 7.938 kB / 0.6034 GB, free: 5.004 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.099e-05/0.7656, allocations: 11.91 kB / 0.6034 GB, free: 4.992 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006663/0.7722, allocations: 4.73 MB / 0.608 GB, free: 168 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.343e-06/0.7723, allocations: 8.062 kB / 0.608 GB, free: 160 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000652/0.7729, allocations: 160.1 kB / 0.6081 GB, free: 16 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00172/0.7747, allocations: 0.7022 MB / 0.6088 GB, free: 15.28 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.857e-05/0.7748, allocations: 35.92 kB / 0.6089 GB, free: 15.25 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0114/0.7862, allocations: 10.41 MB / 0.619 GB, free: 4.297 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/0.7863, allocations: 8.094 kB / 0.619 GB, free: 4.289 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005103/0.7914, allocations: 3.194 MB / 0.6222 GB, free: 1.051 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009093/0.7923, allocations: 403.1 kB / 0.6225 GB, free: 0.6367 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002063/0.7925, allocations: 28 kB / 0.6226 GB, free: 0.6094 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007323/0.7933, allocations: 75.94 kB / 0.6226 GB, free: 0.5352 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002904/0.7936, allocations: 117.1 kB / 0.6227 GB, free: 432 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.65e-05/0.7937, allocations: 39.98 kB / 0.6228 GB, free: 392 kB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001615/0.7953, allocations: 1.048 MB / 0.6238 GB, free: 15.33 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.304e-06/0.7953, allocations: 0 / 0.6238 GB, free: 15.33 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001808/0.7971, allocations: 0.5273 MB / 0.6243 GB, free: 14.8 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (cDC1.v,cDC2.v,transformer1.l2sigma.inductor[2].i,transformer1.l2sigma.inductor[3].i) * Number of discrete variables: 6 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 75 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 29} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003945/0.7975, allocations: 206.9 kB / 0.6245 GB, free: 14.59 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003606/0.8011, allocations: 2.389 MB / 0.6269 GB, free: 12.15 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.8012, allocations: 0 / 0.6269 GB, free: 12.15 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002358/0.8035, allocations: 1.637 MB / 0.6285 GB, free: 10.46 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002523/0.8061, allocations: 485.2 kB / 0.6289 GB, free: 9.992 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008236/0.8143, allocations: 5.436 MB / 0.6342 GB, free: 4.512 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001816/0.8162, allocations: 1.983 MB / 0.6362 GB, free: 2.492 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004729/0.8167, allocations: 99.42 kB / 0.6363 GB, free: 2.395 MB / 410.7 MB Notification: Performance of SimCode: time 2.274e-06/0.8167, allocations: 4 kB / 0.6363 GB, free: 2.391 MB / 410.7 MB Notification: Performance of Templates: time 0.2232/1.04, allocations: 75.19 MB / 0.7097 GB, free: 108.4 MB / 442.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.makefile (rm -f Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.sim & ./Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/Rectifier6pulse/Rectifier6pulse.csv","../files/Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches