Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.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.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,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.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,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.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001056/0.001056, allocations: 198.5 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.187/1.187, allocations: 227.2 MB / 245 MB, free: 5.887 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008592/0.0008592, allocations: 101.7 kB / 297.3 MB, free: 5.957 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002539/0.000254, allocations: 8 kB / 358 MB, free: 9.293 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.183/0.1832, allocations: 51.48 MB / 409.4 MB, free: 26.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09219/0.2755, allocations: 85.95 MB / 495.4 MB, free: 4.637 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000213/0.2757, allocations: 91.95 kB / 495.5 MB, free: 4.547 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2167/0.4924, allocations: 21.61 MB / 0.505 GB, free: 86.89 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.316e-06/0.4925, allocations: 3.281 kB / 0.505 GB, free: 86.89 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001696/0.4926, allocations: 35.83 kB / 0.505 GB, free: 86.88 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: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.004545/0.4972, allocations: 1.562 MB / 0.5065 GB, free: 86.13 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.4973, allocations: 13 kB / 0.5065 GB, free: 86.13 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009036/0.4982, allocations: 225.2 kB / 0.5068 GB, free: 86.05 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001912/0.5001, allocations: 0.9504 MB / 0.5077 GB, free: 85.73 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.889e-05/0.5002, allocations: 81.67 kB / 0.5078 GB, free: 85.73 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001708/0.5003, allocations: 103 kB / 0.5079 GB, free: 85.73 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002453/0.5028, allocations: 1.531 MB / 0.5094 GB, free: 85.52 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.141e-05/0.5029, allocations: 8.453 kB / 0.5094 GB, free: 85.52 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001247/0.503, allocations: 46.44 kB / 0.5094 GB, free: 85.52 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.79e-05/0.5031, allocations: 44.28 kB / 0.5094 GB, free: 85.52 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002446/0.5055, allocations: 1.384 MB / 0.5108 GB, free: 85.5 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005907/0.5115, allocations: 5.001 MB / 0.5157 GB, free: 83.81 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001182/0.5127, allocations: 1.465 MB / 0.5171 GB, free: 82.83 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.818e-05/0.5127, allocations: 5.625 kB / 0.5171 GB, free: 82.83 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007471/0.5135, allocations: 0.6156 MB / 0.5177 GB, free: 82.59 MB / 378.7 MB Notification: Performance of pre-optimization done (n=72): time 2.505e-06/0.5135, allocations: 0 / 0.5177 GB, free: 82.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=72): time 0.004819/0.5183, allocations: 2.477 MB / 0.5201 GB, free: 81.84 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.925e-05/0.5184, allocations: 86.48 kB / 0.5202 GB, free: 81.75 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008195/0.5192, allocations: 0.8514 MB / 0.5211 GB, free: 81.41 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.849e-05/0.5192, allocations: 45.17 kB / 0.5211 GB, free: 81.36 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002659/0.5195, allocations: 0.5194 MB / 0.5216 GB, free: 80.96 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001251/0.5197, allocations: 230 kB / 0.5218 GB, free: 80.79 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.339e-05/0.5197, allocations: 15.94 kB / 0.5218 GB, free: 80.78 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.076e-05/0.5198, allocations: 335.5 kB / 0.5222 GB, free: 80.46 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005506/0.5203, allocations: 421.9 kB / 0.5226 GB, free: 80.32 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005669/0.5209, allocations: 0.548 MB / 0.5231 GB, free: 80.02 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005561/0.5214, allocations: 452.4 kB / 0.5235 GB, free: 79.85 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.5215, allocations: 6.875 kB / 0.5235 GB, free: 79.85 MB / 378.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001593/0.5231, allocations: 1.284 MB / 0.5248 GB, free: 79.37 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.5231, allocations: 13.55 kB / 0.5248 GB, free: 79.36 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.5231, allocations: 3.438 kB / 0.5248 GB, free: 79.36 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000734/0.5238, allocations: 401.5 kB / 0.5252 GB, free: 79.24 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004365/0.5243, allocations: 112.9 kB / 0.5253 GB, free: 79.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004037/0.5283, allocations: 4.265 MB / 0.5295 GB, free: 76.62 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005358/0.5289, allocations: 83.38 kB / 0.5295 GB, free: 76.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.853e-05/0.5289, allocations: 36.48 kB / 0.5296 GB, free: 76.57 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_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_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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 57 * 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 22} Notification: Performance of prepare postOptimizeDAE: time 0.0005464/0.5295, allocations: 489.7 kB / 0.53 GB, free: 76.3 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001086/0.5296, allocations: 87.06 kB / 0.5301 GB, free: 76.26 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002008/0.5298, allocations: 121 kB / 0.5302 GB, free: 76.18 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.5298, allocations: 4.906 kB / 0.5302 GB, free: 76.18 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.5298, allocations: 0 / 0.5302 GB, free: 76.18 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.5299, allocations: 11.17 kB / 0.5303 GB, free: 76.18 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003084/0.5329, allocations: 2.592 MB / 0.5328 GB, free: 74.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.533, allocations: 7.453 kB / 0.5328 GB, free: 74.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003802/0.5333, allocations: 91.02 kB / 0.5329 GB, free: 74.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006597/0.534, allocations: 384.5 kB / 0.5332 GB, free: 73.79 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.779e-05/0.5341, allocations: 15.75 kB / 0.5333 GB, free: 73.78 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00376/0.5378, allocations: 4.231 MB / 0.5374 GB, free: 69.93 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.5379, allocations: 6.891 kB / 0.5374 GB, free: 69.93 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002246/0.5401, allocations: 1.972 MB / 0.5393 GB, free: 68.21 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004353/0.5406, allocations: 281.5 kB / 0.5396 GB, free: 67.95 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001055/0.5407, allocations: 15.66 kB / 0.5396 GB, free: 67.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000416/0.5411, allocations: 52.64 kB / 0.5397 GB, free: 67.89 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001639/0.5413, allocations: 79.08 kB / 0.5397 GB, free: 67.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.342e-05/0.5413, allocations: 19.75 kB / 0.5398 GB, free: 67.83 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006816/0.542, allocations: 0.6788 MB / 0.5404 GB, free: 67.27 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.542, allocations: 0 / 0.5404 GB, free: 67.27 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008954/0.5429, allocations: 350.9 kB / 0.5407 GB, free: 66.92 MB / 378.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_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * Number of discrete states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 41 * 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 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001809/0.5431, allocations: 134.4 kB / 0.5409 GB, free: 66.79 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001687/0.5448, allocations: 1.291 MB / 0.5421 GB, free: 65.67 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.5448, allocations: 0 / 0.5421 GB, free: 65.67 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009423/0.5458, allocations: 0.8096 MB / 0.5429 GB, free: 64.95 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007872/0.5466, allocations: 234.8 kB / 0.5432 GB, free: 64.73 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003162/0.5497, allocations: 2.815 MB / 0.5459 GB, free: 61.9 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006529/0.5504, allocations: 1.407 MB / 0.5473 GB, free: 60.47 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004224/0.5508, allocations: 174.6 kB / 0.5474 GB, free: 60.3 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001423/0.551, allocations: 55.42 kB / 0.5475 GB, free: 60.25 MB / 378.7 MB Notification: Performance of SimCode: time 6.01e-07/0.551, allocations: 3.562 kB / 0.5475 GB, free: 60.25 MB / 378.7 MB Notification: Performance of Templates: time 0.02112/0.5721, allocations: 16.49 MB / 0.5636 GB, free: 44.13 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2mPulse/DiodeCenterTap2mPulse/DiodeCenterTap2mPulse.csv","../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches