Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.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.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009798/0.0009799, allocations: 172.2 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.399/1.399, allocations: 205.2 MB / 219.8 MB, free: 14.27 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.000919/0.000919, allocations: 78.64 kB / 267.9 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.448e-05/2.45e-05, allocations: 4 kB / 322.5 MB, free: 17.34 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0852/0.08524, allocations: 47.57 MB / 370 MB, free: 1.703 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3029/0.3882, allocations: 84.54 MB / 454.6 MB, free: 8.762 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002608/0.3885, allocations: 87.02 kB / 454.7 MB, free: 8.715 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05275/0.4413, allocations: 20.44 MB / 475.1 MB, free: 5.637 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.4413, allocations: 0 / 475.1 MB, free: 5.637 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.706e-05/0.4414, allocations: 35.88 kB / 475.1 MB, free: 5.602 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.002239/0.4436, allocations: 1.284 MB / 476.4 MB, free: 4.266 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.4437, allocations: 8.031 kB / 476.4 MB, free: 4.258 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002269/0.4439, allocations: 138.4 kB / 476.6 MB, free: 4.121 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0038/0.4477, allocations: 1.655 MB / 478.2 MB, free: 2.422 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.985e-05/0.4478, allocations: 78 kB / 478.3 MB, free: 2.348 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001589/0.448, allocations: 99.98 kB / 478.4 MB, free: 2.25 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002136/0.4501, allocations: 1.392 MB / 479.8 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.368e-05/0.4502, allocations: 0 / 479.8 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001006/0.4503, allocations: 43.98 kB / 479.8 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.994e-05/0.4503, allocations: 45.94 kB / 479.9 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001725/0.4521, allocations: 1.171 MB / 481 MB, free: 15.53 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006084/0.4582, allocations: 4.336 MB / 485.4 MB, free: 11.1 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001936/0.4601, allocations: 1.941 MB / 487.3 MB, free: 8.93 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001151/0.4613, allocations: 0.7278 MB / 488 MB, free: 8.203 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.534e-05/0.4614, allocations: 16.72 kB / 488.1 MB, free: 8.188 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008896/0.4623, allocations: 0.5762 MB / 488.6 MB, free: 7.59 MB / 362.7 MB Notification: Performance of pre-optimization done (n=75): time 2.756e-06/0.4623, allocations: 0 / 488.6 MB, free: 7.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=75): time 0.002018/0.4643, allocations: 1.218 MB / 489.9 MB, free: 6.363 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.929e-05/0.4644, allocations: 115.6 kB / 490 MB, free: 6.223 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00105/0.4655, allocations: 0.7263 MB / 490.7 MB, free: 5.492 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.153e-05/0.4655, allocations: 37.7 kB / 490.7 MB, free: 5.449 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004556/0.466, allocations: 487.8 kB / 491.2 MB, free: 4.965 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001923/0.4662, allocations: 240.5 kB / 491.4 MB, free: 4.727 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.833e-05/0.4662, allocations: 16 kB / 491.5 MB, free: 4.711 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001646/0.4664, allocations: 398.7 kB / 491.8 MB, free: 4.312 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004923/0.4669, allocations: 377.3 kB / 492.2 MB, free: 3.945 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006208/0.4675, allocations: 0.5152 MB / 492.7 MB, free: 3.375 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005746/0.4681, allocations: 419 kB / 493.1 MB, free: 2.965 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.808e-06/0.4681, allocations: 0 / 493.1 MB, free: 2.965 MB / 362.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001815/0.47, allocations: 1.248 MB / 494.4 MB, free: 1.711 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.775e-05/0.47, allocations: 11.95 kB / 494.4 MB, free: 1.699 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.28e-05/0.47, allocations: 4 kB / 494.4 MB, free: 1.695 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001067/0.4711, allocations: 472.7 kB / 494.9 MB, free: 1.23 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004012/0.4715, allocations: 95.83 kB / 495 MB, free: 1.137 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0065/0.478, allocations: 5.088 MB / 0.4883 GB, free: 11.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006902/0.4787, allocations: 99.34 kB / 0.4884 GB, free: 11.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.393e-05/0.4788, allocations: 20 kB / 0.4884 GB, free: 11.8 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 53 * 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: 0 * Non-linear torn systems: 1 {6 30} Notification: Performance of prepare postOptimizeDAE: time 0.0002042/0.479, allocations: 154.5 kB / 0.4886 GB, free: 11.64 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001252/0.4792, allocations: 90.95 kB / 0.4887 GB, free: 11.55 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003053/0.4795, allocations: 108.6 kB / 0.4888 GB, free: 11.43 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.745e-06/0.4795, allocations: 8 kB / 0.4888 GB, free: 11.43 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.708e-06/0.4795, allocations: 0 / 0.4888 GB, free: 11.43 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.306e-06/0.4795, allocations: 7.984 kB / 0.4888 GB, free: 11.42 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003733/0.4832, allocations: 2.58 MB / 0.4913 GB, free: 8.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.4833, allocations: 4 kB / 0.4913 GB, free: 8.766 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000285/0.4836, allocations: 68.03 kB / 0.4914 GB, free: 8.699 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009197/0.4845, allocations: 460.7 kB / 0.4918 GB, free: 8.246 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.734e-05/0.4846, allocations: 12 kB / 0.4918 GB, free: 8.234 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006144/0.4907, allocations: 5.044 MB / 0.4968 GB, free: 3.051 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.4907, allocations: 0 / 0.4968 GB, free: 3.051 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002595/0.4933, allocations: 1.861 MB / 0.4986 GB, free: 1.168 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005252/0.4939, allocations: 279.8 kB / 0.4988 GB, free: 0.875 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000112/0.494, allocations: 16 kB / 0.4989 GB, free: 0.8594 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004311/0.4944, allocations: 47.95 kB / 0.4989 GB, free: 0.8125 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001931/0.4946, allocations: 72.66 kB / 0.499 GB, free: 0.7422 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.834e-05/0.4947, allocations: 19.94 kB / 0.499 GB, free: 0.7227 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000843/0.4955, allocations: 0.5772 MB / 0.4996 GB, free: 152 kB / 378.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4956, allocations: 0 / 0.4996 GB, free: 152 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.001072/0.4966, allocations: 343.1 kB / 0.4999 GB, free: 15.81 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y) * Number of discrete states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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: 0 * Non-linear torn systems: 1 {6 30} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002526/0.4969, allocations: 135.3 kB / 0.5 GB, free: 15.66 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002033/0.4989, allocations: 1.224 MB / 0.5012 GB, free: 14.43 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.499, allocations: 4 kB / 0.5012 GB, free: 14.42 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00116/0.5001, allocations: 0.7927 MB / 0.502 GB, free: 13.62 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0011/0.5012, allocations: 247.6 kB / 0.5022 GB, free: 13.38 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00337/0.5046, allocations: 1.795 MB / 0.504 GB, free: 11.55 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009947/0.5056, allocations: 1.353 MB / 0.5053 GB, free: 10.17 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004715/0.5061, allocations: 139.2 kB / 0.5054 GB, free: 10.03 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001439/0.5063, allocations: 55.42 kB / 0.5055 GB, free: 9.977 MB / 394.7 MB Notification: Performance of SimCode: time 9.41e-07/0.5063, allocations: 3.938 kB / 0.5055 GB, free: 9.973 MB / 394.7 MB Notification: Performance of Templates: time 0.02875/0.5351, allocations: 17.79 MB / 0.5229 GB, free: 8.152 MB / 410.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2mPulse/DiodeBridge2mPulse/DiodeBridge2mPulse.csv","../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches