Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.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.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0013/0.0013, allocations: 202.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.365/1.365, allocations: 225.6 MB / 234.8 MB, free: 3.246 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007876/0.0007877, allocations: 100.1 kB / 286.7 MB, free: 5.281 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.631e-05/1.634e-05, allocations: 4 kB / 343.7 MB, free: 8.234 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.103, allocations: 51.48 MB / 395.2 MB, free: 4.715 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3177/0.4208, allocations: 82.2 MB / 477.4 MB, free: 10.61 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002587/0.4211, allocations: 81.14 kB / 477.5 MB, free: 10.57 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01688/0.438, allocations: 7.373 MB / 484.8 MB, free: 4.867 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.438, allocations: 0 / 484.8 MB, free: 4.867 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.216e-05/0.4381, allocations: 16 kB / 484.9 MB, free: 4.852 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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.0008883/0.439, allocations: 0.6659 MB / 485.5 MB, free: 4.18 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.439, allocations: 8.031 kB / 485.5 MB, free: 4.172 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001867/0.4392, allocations: 75.33 kB / 485.6 MB, free: 4.098 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004199/0.4396, allocations: 362 kB / 486 MB, free: 3.75 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.232e-05/0.4397, allocations: 16 kB / 486 MB, free: 3.734 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.758e-05/0.4397, allocations: 27.61 kB / 486 MB, free: 3.711 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004369/0.4402, allocations: 281 kB / 486.3 MB, free: 3.547 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005174/0.4407, allocations: 388.7 kB / 486.6 MB, free: 3.246 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.828e-05/0.4407, allocations: 3.938 kB / 486.7 MB, free: 3.242 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.596e-05/0.4408, allocations: 0 / 486.7 MB, free: 3.242 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.026e-05/0.4408, allocations: 12 kB / 486.7 MB, free: 3.23 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001858/0.4426, allocations: 1.791 MB / 488.5 MB, free: 1.684 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005377/0.4432, allocations: 0.57 MB / 489 MB, free: 1.203 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000292/0.4435, allocations: 211.5 kB / 489.2 MB, free: 1.066 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.378e-05/0.4435, allocations: 4.328 kB / 489.2 MB, free: 1.062 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000326/0.4439, allocations: 258.1 kB / 489.5 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of pre-optimization done (n=43): time 1.754e-06/0.4439, allocations: 0 / 489.5 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of matching and sorting (n=43): time 0.0006974/0.4446, allocations: 417.5 kB / 489.9 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.15e-05/0.4446, allocations: 81.33 kB / 490 MB, free: 452 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002028/0.4448, allocations: 252.8 kB / 490.2 MB, free: 240 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.757e-05/0.4449, allocations: 36.02 kB / 490.3 MB, free: 200 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.046e-05/0.445, allocations: 223.3 kB / 490.5 MB, free: 20 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001131/0.4451, allocations: 128.5 kB / 490.6 MB, free: 15.9 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.679e-05/0.4451, allocations: 0 / 490.6 MB, free: 15.9 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001105/0.4452, allocations: 347.2 kB / 490.9 MB, free: 15.57 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001602/0.4454, allocations: 103.4 kB / 491 MB, free: 15.52 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002331/0.4456, allocations: 220.7 kB / 491.3 MB, free: 15.3 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000185/0.4458, allocations: 124.7 kB / 491.4 MB, free: 15.23 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.4458, allocations: 4 kB / 491.4 MB, free: 15.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0006505/0.4465, allocations: 448.7 kB / 491.8 MB, free: 14.89 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.4465, allocations: 8 kB / 491.8 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.4465, allocations: 3.953 kB / 491.8 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004412/0.447, allocations: 151.8 kB / 492 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002301/0.4472, allocations: 63.84 kB / 492 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002234/0.4495, allocations: 2.219 MB / 494.3 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000241/0.4497, allocations: 37.38 kB / 494.3 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.632e-05/0.4498, allocations: 17.31 kB / 494.3 MB, free: 12.74 MB / 362.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: 13 ($PRE.meanVoltage.y_last,meanVoltage.y_last,$PRE.meanCurrent.y_last,meanCurrent.y_last,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y_last,rootMeanSquareVoltage.mean.y_last,rectifier.diode_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 38 * 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 {4 14} Notification: Performance of prepare postOptimizeDAE: time 0.0001181/0.4499, allocations: 120.6 kB / 494.4 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.288e-05/0.45, allocations: 31.62 kB / 494.5 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.981e-05/0.4501, allocations: 45.42 kB / 494.5 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.4501, allocations: 4 kB / 494.5 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.4501, allocations: 0 / 494.5 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/0.4501, allocations: 7.984 kB / 494.5 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001122/0.4512, allocations: 0.8925 MB / 495.4 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.4512, allocations: 0 / 495.4 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001879/0.4514, allocations: 39.92 kB / 495.5 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003354/0.4518, allocations: 133.8 kB / 495.6 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.609e-05/0.4518, allocations: 7.984 kB / 495.6 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002097/0.4539, allocations: 2.226 MB / 497.8 MB, free: 9.789 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.4539, allocations: 0 / 497.8 MB, free: 9.789 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008294/0.4548, allocations: 0.6434 MB / 498.5 MB, free: 9.316 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00015/0.4549, allocations: 154.3 kB / 498.6 MB, free: 9.164 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.893e-05/0.455, allocations: 8 kB / 498.6 MB, free: 9.156 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002084/0.4552, allocations: 11.23 kB / 498.6 MB, free: 9.148 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.065e-05/0.4553, allocations: 31.58 kB / 498.7 MB, free: 9.121 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.362e-05/0.4553, allocations: 15.44 kB / 498.7 MB, free: 9.109 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001781/0.4555, allocations: 201.9 kB / 498.9 MB, free: 8.949 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4555, allocations: 0 / 498.9 MB, free: 8.949 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000571/0.4561, allocations: 131.6 kB / 499 MB, free: 8.82 MB / 362.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: 10 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.off,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * Number of discrete states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 22 * 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 {4 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001683/0.4563, allocations: 115.2 kB / 499.1 MB, free: 8.695 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007232/0.457, allocations: 484 kB / 499.6 MB, free: 8.344 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.457, allocations: 4.859 kB / 499.6 MB, free: 8.34 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004049/0.4574, allocations: 335 kB / 499.9 MB, free: 8.078 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003481/0.4578, allocations: 47.31 kB / 500 MB, free: 8.047 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001296/0.4591, allocations: 0.584 MB / 0.4888 GB, free: 7.504 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003905/0.4595, allocations: 0.8474 MB / 0.4896 GB, free: 6.629 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001467/0.4597, allocations: 35.55 kB / 0.4897 GB, free: 6.598 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.142e-05/0.4597, allocations: 27.44 kB / 0.4897 GB, free: 6.574 MB / 362.7 MB Notification: Performance of SimCode: time 2.7e-07/0.4597, allocations: 0 / 0.4897 GB, free: 6.574 MB / 362.7 MB Notification: Performance of Templates: time 0.01016/0.4699, allocations: 5.534 MB / 0.4951 GB, free: 1.219 MB / 362.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/DiodeBridge2Pulse/DiodeBridge2Pulse.csv","../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches