Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.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.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_3.2.3_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_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001627/0.001627, allocations: 171.9 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.596/1.596, allocations: 205.2 MB / 219.8 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.0007701/0.0007702, allocations: 90.64 kB / 268 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.578e-05/2.581e-05, allocations: 4 kB / 322.5 MB, free: 17.37 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08313/0.08317, allocations: 47.58 MB / 370 MB, free: 1.723 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4048/0.488, allocations: 90.21 MB / 460.2 MB, free: 3.164 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002025/0.4883, allocations: 82.52 kB / 460.3 MB, free: 3.121 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1568/0.6451, allocations: 63.49 MB / 0.5115 GB, free: 4.621 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.6452, allocations: 0 / 0.5115 GB, free: 4.621 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001299/0.6453, allocations: 67.92 kB / 0.5116 GB, free: 4.555 MB / 394.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.003889/0.6492, allocations: 2.251 MB / 0.5138 GB, free: 2.246 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.6493, allocations: 15.97 kB / 0.5138 GB, free: 2.23 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007171/0.65, allocations: 308.7 kB / 0.5141 GB, free: 1.926 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002733/0.6527, allocations: 1.569 MB / 0.5156 GB, free: 308 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001017/0.6528, allocations: 164.4 kB / 0.5158 GB, free: 140 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003328/0.6532, allocations: 212.1 kB / 0.516 GB, free: 15.93 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004364/0.6576, allocations: 3.051 MB / 0.519 GB, free: 12.73 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.362e-05/0.6576, allocations: 0 / 0.519 GB, free: 12.73 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002119/0.6578, allocations: 91.98 kB / 0.5191 GB, free: 12.64 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001041/0.6579, allocations: 112.4 kB / 0.5192 GB, free: 12.53 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003748/0.6617, allocations: 2.458 MB / 0.5216 GB, free: 10.05 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01309/0.6748, allocations: 8.92 MB / 0.5303 GB, free: 0.957 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2279/0.9027, allocations: 3.307 MB / 0.5335 GB, free: 90.5 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001823/0.9046, allocations: 1.308 MB / 0.5348 GB, free: 90.48 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002832/0.9049, allocations: 137.5 kB / 0.5349 GB, free: 90.38 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.884e-05/0.9049, allocations: 49.66 kB / 0.535 GB, free: 90.34 MB / 410.7 MB Notification: Performance of pre-optimization done (n=128): time 3.587e-06/0.9049, allocations: 1.859 kB / 0.535 GB, free: 90.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=132): time 0.006897/0.9118, allocations: 4.08 MB / 0.539 GB, free: 89.78 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.133e-05/0.9119, allocations: 68.78 kB / 0.539 GB, free: 89.71 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001871/0.9138, allocations: 1.328 MB / 0.5403 GB, free: 89.55 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.062e-05/0.9139, allocations: 49.64 kB / 0.5404 GB, free: 89.52 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005224/0.9144, allocations: 0.9365 MB / 0.5413 GB, free: 89.22 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00026/0.9147, allocations: 442.4 kB / 0.5417 GB, free: 89 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.013e-05/0.9147, allocations: 25.75 kB / 0.5417 GB, free: 89 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.725e-05/0.9148, allocations: 351.8 kB / 0.5421 GB, free: 88.7 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000861/0.9157, allocations: 0.6606 MB / 0.5427 GB, free: 88.69 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009465/0.9166, allocations: 0.8169 MB / 0.5435 GB, free: 88.56 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001145/0.9178, allocations: 0.7772 MB / 0.5443 GB, free: 88.55 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.9178, allocations: 1.031 kB / 0.5443 GB, free: 88.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.003449/0.9213, allocations: 2.223 MB / 0.5464 GB, free: 88.37 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/0.9213, allocations: 6.562 kB / 0.5464 GB, free: 88.37 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/0.9213, allocations: 7.25 kB / 0.5464 GB, free: 88.37 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001656/0.923, allocations: 0.7089 MB / 0.5471 GB, free: 88.33 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008005/0.9238, allocations: 202.8 kB / 0.5473 GB, free: 88.33 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009133/0.9329, allocations: 10.47 MB / 0.5576 GB, free: 82.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001129/0.9341, allocations: 60.48 kB / 0.5576 GB, free: 82.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.996e-05/0.9342, allocations: 40.06 kB / 0.5577 GB, free: 82.91 MB / 410.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 () * 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.0002409/0.9344, allocations: 175.8 kB / 0.5578 GB, free: 82.8 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002388/0.9347, allocations: 159.5 kB / 0.558 GB, free: 82.72 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002827/0.9375, allocations: 2.102 MB / 0.56 GB, free: 82.59 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.051e-05/0.9375, allocations: 18.77 kB / 0.56 GB, free: 82.59 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.9376, allocations: 3.344 kB / 0.56 GB, free: 82.59 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.869e-06/0.9376, allocations: 7.5 kB / 0.5601 GB, free: 82.59 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006276/0.9439, allocations: 4.664 MB / 0.5646 GB, free: 81.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/0.9439, allocations: 0 / 0.5646 GB, free: 81.62 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006039/0.9445, allocations: 167.6 kB / 0.5648 GB, free: 81.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001334/0.9458, allocations: 0.6915 MB / 0.5654 GB, free: 81.41 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.102e-05/0.9459, allocations: 33.98 kB / 0.5655 GB, free: 81.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007848/0.9538, allocations: 10.37 MB / 0.5756 GB, free: 73.86 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.9538, allocations: 7.469 kB / 0.5756 GB, free: 73.86 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003459/0.9573, allocations: 3.175 MB / 0.5787 GB, free: 72.46 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007001/0.958, allocations: 408.8 kB / 0.5791 GB, free: 72.2 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001708/0.9582, allocations: 31.2 kB / 0.5791 GB, free: 72.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007305/0.9589, allocations: 77.44 kB / 0.5792 GB, free: 72.16 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002033/0.9591, allocations: 112.2 kB / 0.5793 GB, free: 72.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.984e-05/0.9592, allocations: 34 kB / 0.5793 GB, free: 72.13 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001217/0.9604, allocations: 1.045 MB / 0.5804 GB, free: 71.71 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.8e-07/0.9604, allocations: 0 / 0.5804 GB, free: 71.71 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001503/0.9619, allocations: 0.5247 MB / 0.5809 GB, free: 71.66 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 () * 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.0003207/0.9623, allocations: 196.3 kB / 0.5811 GB, free: 71.55 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003053/0.9653, allocations: 2.319 MB / 0.5833 GB, free: 70.41 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.9653, allocations: 3.156 kB / 0.5833 GB, free: 70.41 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001971/0.9673, allocations: 1.578 MB / 0.5849 GB, free: 69.53 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001955/0.9693, allocations: 484.1 kB / 0.5853 GB, free: 69.42 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004878/0.9742, allocations: 3.758 MB / 0.589 GB, free: 68.02 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001168/0.9754, allocations: 2.084 MB / 0.591 GB, free: 67.04 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0007008/0.9761, allocations: 305.8 kB / 0.5913 GB, free: 67 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002194/0.9763, allocations: 93.69 kB / 0.5914 GB, free: 67 MB / 410.7 MB Notification: Performance of SimCode: time 5.11e-07/0.9763, allocations: 0 / 0.5914 GB, free: 67 MB / 410.7 MB Notification: Performance of Templates: time 0.03822/1.015, allocations: 30.78 MB / 0.6215 GB, free: 55.27 MB / 410.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/Transformers/Rectifier6pulse/Rectifier6pulse.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches