Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.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.RectifierCenterTapmPulse.DiodeCenterTapmPulse,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.RectifierCenterTapmPulse.DiodeCenterTapmPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,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.RectifierCenterTapmPulse.DiodeCenterTapmPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009359/0.0009359, allocations: 177.7 kB / 8.698 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.444/1.444, allocations: 205.3 MB / 214.4 MB, free: 1.676 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008406/0.0008407, allocations: 87.47 kB / 262.4 MB, free: 1.625 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.998e-05/2.002e-05, allocations: 4 kB / 315.5 MB, free: 22.71 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1091, allocations: 47.59 MB / 363.1 MB, free: 7.055 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3621/0.4712, allocations: 82.81 MB / 445.9 MB, free: 12.9 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000249/0.4715, allocations: 86.5 kB / 446 MB, free: 12.86 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03275/0.5043, allocations: 13.37 MB / 459.4 MB, free: 1.766 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.5043, allocations: 0 / 459.4 MB, free: 1.766 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.262e-05/0.5044, allocations: 16 kB / 459.4 MB, free: 1.75 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.001415/0.5058, allocations: 0.9385 MB / 460.3 MB, free: 0.8164 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.5058, allocations: 8.031 kB / 460.3 MB, free: 0.8086 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001718/0.506, allocations: 94.95 kB / 460.4 MB, free: 0.7148 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008407/0.5069, allocations: 0.6104 MB / 461 MB, free: 176 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.714e-05/0.5069, allocations: 20 kB / 461 MB, free: 156 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.514e-05/0.507, allocations: 39.81 kB / 461.1 MB, free: 120 kB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009208/0.5079, allocations: 0.6816 MB / 461.8 MB, free: 15.7 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001077/0.509, allocations: 0.7787 MB / 462.5 MB, free: 15.12 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.28e-05/0.509, allocations: 3.75 kB / 462.5 MB, free: 15.12 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.987e-05/0.5091, allocations: 15.89 kB / 462.6 MB, free: 15.11 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.962e-05/0.5091, allocations: 33.23 kB / 462.6 MB, free: 15.07 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004255/0.5134, allocations: 2.688 MB / 465.3 MB, free: 12.88 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008224/0.5143, allocations: 0.7024 MB / 466 MB, free: 12.3 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005046/0.5148, allocations: 318.7 kB / 466.3 MB, free: 12.09 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.809e-05/0.5149, allocations: 8.328 kB / 466.3 MB, free: 12.08 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004746/0.5153, allocations: 340.6 kB / 466.6 MB, free: 11.81 MB / 346.7 MB Notification: Performance of pre-optimization done (n=43): time 2.404e-06/0.5153, allocations: 0 / 466.6 MB, free: 11.81 MB / 346.7 MB Notification: Performance of matching and sorting (n=43): time 0.001268/0.5166, allocations: 0.6029 MB / 467.2 MB, free: 11.36 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.825e-05/0.5167, allocations: 117.2 kB / 467.4 MB, free: 11.23 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005976/0.5173, allocations: 464.2 kB / 467.8 MB, free: 10.88 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.736e-05/0.5174, allocations: 29.7 kB / 467.8 MB, free: 10.84 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002087/0.5176, allocations: 351 kB / 468.2 MB, free: 10.58 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001001/0.5177, allocations: 131.7 kB / 468.3 MB, free: 10.46 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.103e-05/0.5177, allocations: 4.031 kB / 468.3 MB, free: 10.46 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.5178, allocations: 359.8 kB / 468.7 MB, free: 10.12 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002498/0.5181, allocations: 191 kB / 468.9 MB, free: 10 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003744/0.5185, allocations: 322.8 kB / 469.2 MB, free: 9.715 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003615/0.5189, allocations: 219.7 kB / 469.4 MB, free: 9.57 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.5189, allocations: 0 / 469.4 MB, free: 9.57 MB / 346.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008703/0.5198, allocations: 0.659 MB / 470 MB, free: 9.07 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.5198, allocations: 4 kB / 470 MB, free: 9.066 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.5198, allocations: 4 kB / 470 MB, free: 9.062 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004462/0.5203, allocations: 203 kB / 470.2 MB, free: 8.918 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002904/0.5206, allocations: 82.62 kB / 470.3 MB, free: 8.84 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002613/0.5232, allocations: 2.686 MB / 473 MB, free: 6.609 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003201/0.5235, allocations: 47.66 kB / 473.1 MB, free: 6.562 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.456e-05/0.5236, allocations: 14.69 kB / 473.1 MB, free: 6.551 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 12 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,rectifier.diode.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 41 * 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 {3 12} Notification: Performance of prepare postOptimizeDAE: time 0.0001291/0.5237, allocations: 120.1 kB / 473.2 MB, free: 6.43 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.406e-05/0.5238, allocations: 55.34 kB / 473.2 MB, free: 6.375 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001391/0.5239, allocations: 65.22 kB / 473.3 MB, free: 6.336 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.5239, allocations: 4 kB / 473.3 MB, free: 6.332 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.5239, allocations: 4 kB / 473.3 MB, free: 6.328 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.5239, allocations: 0 / 473.3 MB, free: 6.328 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002044/0.526, allocations: 1.606 MB / 474.9 MB, free: 5.07 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.526, allocations: 0 / 474.9 MB, free: 5.07 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000231/0.5263, allocations: 47.91 kB / 475 MB, free: 5.023 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000361/0.5266, allocations: 198 kB / 475.2 MB, free: 4.883 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.006e-05/0.5267, allocations: 3.984 kB / 475.2 MB, free: 4.879 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002328/0.529, allocations: 2.557 MB / 477.7 MB, free: 2.289 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.529, allocations: 0 / 477.7 MB, free: 2.289 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001306/0.5303, allocations: 1.049 MB / 478.8 MB, free: 1.207 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002243/0.5306, allocations: 196.3 kB / 479 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.76e-05/0.5306, allocations: 4 kB / 479 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002653/0.5309, allocations: 27.91 kB / 479 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000106/0.531, allocations: 43.94 kB / 479 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.12e-05/0.5311, allocations: 15.98 kB / 479.1 MB, free: 0.9062 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003998/0.5315, allocations: 374.8 kB / 479.4 MB, free: 0.543 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.282e-06/0.5315, allocations: 0 / 479.4 MB, free: 0.543 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006875/0.5322, allocations: 187.3 kB / 479.6 MB, free: 368 kB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.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 (30): * Single equations (assignments): 26 * 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 {3 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001676/0.5324, allocations: 120.3 kB / 479.7 MB, free: 236 kB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0009341/0.5333, allocations: 0.6503 MB / 480.4 MB, free: 15.57 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.5333, allocations: 0 / 480.4 MB, free: 15.57 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005117/0.5338, allocations: 437.1 kB / 480.8 MB, free: 15.13 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005411/0.5344, allocations: 123.6 kB / 480.9 MB, free: 15.02 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001695/0.5361, allocations: 1.041 MB / 482 MB, free: 13.94 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005748/0.5367, allocations: 1.085 MB / 483 MB, free: 12.82 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002335/0.5369, allocations: 88.56 kB / 483.1 MB, free: 12.73 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.379e-05/0.537, allocations: 43.42 kB / 483.2 MB, free: 12.69 MB / 362.7 MB Notification: Performance of SimCode: time 3.51e-07/0.537, allocations: 0 / 483.2 MB, free: 12.69 MB / 362.7 MB Notification: Performance of Templates: time 0.01358/0.5506, allocations: 8.001 MB / 491.2 MB, free: 4.688 MB / 362.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTapmPulse/DiodeCenterTapmPulse/DiodeCenterTapmPulse.csv","../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches