Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.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.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_4.0.0_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_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009015/0.0009016, allocations: 175.7 kB / 17.4 MB, free: 4.422 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.299/1.299, allocations: 223.3 MB / 241.4 MB, free: 11.72 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.0008003/0.0008004, allocations: 99.88 kB / 292.6 MB, free: 10.81 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003149/0.000315, allocations: 15.92 kB / 352.4 MB, free: 15.04 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1996/0.1999, allocations: 50.4 MB / 402.7 MB, free: 32.48 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0998/0.2998, allocations: 91.14 MB / 493.9 MB, free: 5.211 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002194/0.3, allocations: 91.94 kB / 494 MB, free: 5.121 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2973/0.5973, allocations: 63.59 MB / 0.5445 GB, free: 68.97 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.5974, allocations: 0 / 0.5445 GB, free: 68.97 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.000164/0.5975, allocations: 63.88 kB / 0.5446 GB, free: 68.91 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.004897/0.6025, allocations: 2.506 MB / 0.547 GB, free: 66.34 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.231e-05/0.6025, allocations: 8.031 kB / 0.547 GB, free: 66.33 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008718/0.6034, allocations: 313.6 kB / 0.5473 GB, free: 66.02 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002352/0.6057, allocations: 1.627 MB / 0.5489 GB, free: 64.34 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.082e-05/0.6058, allocations: 160.8 kB / 0.5491 GB, free: 64.18 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000304/0.6061, allocations: 216.4 kB / 0.5493 GB, free: 63.97 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003987/0.6101, allocations: 3.094 MB / 0.5523 GB, free: 60.73 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.469e-05/0.6102, allocations: 4.125 kB / 0.5523 GB, free: 60.72 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001907/0.6104, allocations: 99.92 kB / 0.5524 GB, free: 60.62 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.397e-05/0.6105, allocations: 112.4 kB / 0.5525 GB, free: 60.51 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003396/0.6139, allocations: 2.528 MB / 0.555 GB, free: 57.97 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01026/0.6242, allocations: 8.908 MB / 0.5637 GB, free: 48.89 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00224/0.6264, allocations: 3.355 MB / 0.5669 GB, free: 45.22 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001478/0.6279, allocations: 1.329 MB / 0.5682 GB, free: 43.9 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002175/0.6282, allocations: 146.3 kB / 0.5684 GB, free: 43.74 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.1e-05/0.6282, allocations: 51.81 kB / 0.5684 GB, free: 43.68 MB / 378.7 MB Notification: Performance of pre-optimization done (n=128): time 2.946e-06/0.6282, allocations: 0 / 0.5684 GB, free: 43.68 MB / 378.7 MB Notification: Performance of matching and sorting (n=132): time 0.008048/0.6363, allocations: 5.653 MB / 0.5739 GB, free: 37.87 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.411e-05/0.6363, allocations: 68.72 kB / 0.574 GB, free: 37.79 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00161/0.6379, allocations: 1.483 MB / 0.5755 GB, free: 36.29 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.637e-05/0.638, allocations: 49.7 kB / 0.5755 GB, free: 36.24 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004047/0.6384, allocations: 0.9448 MB / 0.5764 GB, free: 35.28 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002135/0.6386, allocations: 437.6 kB / 0.5768 GB, free: 34.85 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.76e-05/0.6387, allocations: 24 kB / 0.5769 GB, free: 34.82 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.872e-05/0.6388, allocations: 357.9 kB / 0.5772 GB, free: 34.47 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008034/0.6396, allocations: 0.6818 MB / 0.5779 GB, free: 33.79 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008565/0.6405, allocations: 0.8542 MB / 0.5787 GB, free: 32.89 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001665/0.6421, allocations: 1.565 MB / 0.5802 GB, free: 31.28 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.606e-06/0.6421, allocations: 4 kB / 0.5802 GB, free: 31.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.002839/0.645, allocations: 2.298 MB / 0.5825 GB, free: 28.95 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.645, allocations: 4 kB / 0.5825 GB, free: 28.95 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/0.645, allocations: 4 kB / 0.5825 GB, free: 28.95 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00137/0.6464, allocations: 0.7019 MB / 0.5832 GB, free: 28.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007259/0.6471, allocations: 207.7 kB / 0.5834 GB, free: 28.03 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008261/0.6554, allocations: 10.53 MB / 0.5937 GB, free: 16.96 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009322/0.6564, allocations: 55.89 kB / 0.5937 GB, free: 16.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.092e-05/0.6565, allocations: 40 kB / 0.5937 GB, free: 16.87 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.001146/0.6576, allocations: 0.8214 MB / 0.5945 GB, free: 16.04 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002356/0.6579, allocations: 162.1 kB / 0.5947 GB, free: 15.88 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002721/0.6606, allocations: 2.164 MB / 0.5968 GB, free: 13.69 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.478e-06/0.6606, allocations: 12 kB / 0.5968 GB, free: 13.68 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.6606, allocations: 7.938 kB / 0.5968 GB, free: 13.67 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.367e-06/0.6606, allocations: 3.984 kB / 0.5968 GB, free: 13.66 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00572/0.6664, allocations: 4.738 MB / 0.6015 GB, free: 8.828 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.6664, allocations: 4 kB / 0.6015 GB, free: 8.824 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000592/0.667, allocations: 167.8 kB / 0.6016 GB, free: 8.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001277/0.6683, allocations: 0.6949 MB / 0.6023 GB, free: 7.953 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.555e-05/0.6684, allocations: 27.98 kB / 0.6023 GB, free: 7.926 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008673/0.6771, allocations: 10.42 MB / 0.6125 GB, free: 12.97 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.6771, allocations: 4.031 kB / 0.6125 GB, free: 12.97 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004723/0.6818, allocations: 3.191 MB / 0.6156 GB, free: 9.73 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008474/0.6827, allocations: 403.1 kB / 0.616 GB, free: 9.316 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002047/0.6829, allocations: 31.98 kB / 0.616 GB, free: 9.285 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007772/0.6837, allocations: 71.95 kB / 0.6161 GB, free: 9.215 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00027/0.684, allocations: 121 kB / 0.6162 GB, free: 9.098 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.49e-05/0.6841, allocations: 35.98 kB / 0.6163 GB, free: 9.062 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001488/0.6856, allocations: 1.052 MB / 0.6173 GB, free: 8.008 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6856, allocations: 0 / 0.6173 GB, free: 8.008 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001934/0.6875, allocations: 0.5234 MB / 0.6178 GB, free: 7.484 MB / 394.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.0003413/0.6879, allocations: 206.8 kB / 0.618 GB, free: 7.281 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003399/0.6913, allocations: 2.4 MB / 0.6203 GB, free: 4.828 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/0.6913, allocations: 4 kB / 0.6203 GB, free: 4.824 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002216/0.6935, allocations: 1.629 MB / 0.6219 GB, free: 3.145 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002159/0.6957, allocations: 494 kB / 0.6224 GB, free: 2.668 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007354/0.7031, allocations: 5.439 MB / 0.6277 GB, free: 13.18 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001804/0.7049, allocations: 2.039 MB / 0.6297 GB, free: 11.1 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0009385/0.7058, allocations: 309.3 kB / 0.63 GB, free: 10.79 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002471/0.7061, allocations: 87.44 kB / 0.6301 GB, free: 10.71 MB / 410.7 MB Notification: Performance of SimCode: time 4.01e-07/0.7061, allocations: 0 / 0.6301 GB, free: 10.71 MB / 410.7 MB Notification: Performance of Templates: time 0.04837/0.7545, allocations: 31.06 MB / 0.6604 GB, free: 12.02 MB / 442.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches