Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001509/0.001509, allocations: 179.4 kB / 8.364 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.997/1.997, allocations: 205.3 MB / 214.1 MB, free: 14.15 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001099/0.001098, allocations: 95.05 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.199e-05/2.211e-05, allocations: 4 kB / 314.8 MB, free: 9.141 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3417/0.3418, allocations: 47.57 MB / 362.4 MB, free: 45.86 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1409/0.4827, allocations: 82.58 MB / 444.9 MB, free: 3.711 MB / 331.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000329/0.4831, allocations: 87.94 kB / 445 MB, free: 3.625 MB / 331.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.05851/0.5416, allocations: 13.36 MB / 458.4 MB, free: 6.242 MB / 347.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.5417, allocations: 3.938 kB / 458.4 MB, free: 6.238 MB / 347.1 MB Notification: Performance of Transformations before backend: time 6.999e-05/0.5418, allocations: 23.98 kB / 458.4 MB, free: 6.215 MB / 347.1 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.002659/0.5444, allocations: 0.9333 MB / 459.3 MB, free: 5.238 MB / 347.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/0.5445, allocations: 8.031 kB / 459.4 MB, free: 5.23 MB / 347.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003181/0.5448, allocations: 90.97 kB / 459.4 MB, free: 5.141 MB / 347.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001662/0.5465, allocations: 0.6208 MB / 460.1 MB, free: 4.473 MB / 347.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.745e-05/0.5466, allocations: 20 kB / 460.1 MB, free: 4.453 MB / 347.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001496/0.5467, allocations: 36 kB / 460.1 MB, free: 4.418 MB / 347.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001815/0.5486, allocations: 0.6741 MB / 460.8 MB, free: 3.746 MB / 347.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001912/0.5505, allocations: 0.7879 MB / 461.6 MB, free: 2.922 MB / 347.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.151e-05/0.5506, allocations: 7.875 kB / 461.6 MB, free: 2.914 MB / 347.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.806e-05/0.5507, allocations: 7.953 kB / 461.6 MB, free: 2.906 MB / 347.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.251e-05/0.5507, allocations: 33.23 kB / 461.6 MB, free: 2.875 MB / 347.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006504/0.5572, allocations: 2.681 MB / 464.3 MB, free: 96 kB / 347.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001254/0.5586, allocations: 0.7096 MB / 465 MB, free: 15.32 MB / 363.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007985/0.5594, allocations: 317.4 kB / 465.3 MB, free: 15.01 MB / 363.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.684e-05/0.5594, allocations: 8.312 kB / 465.3 MB, free: 15 MB / 363.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007735/0.5602, allocations: 343.1 kB / 465.7 MB, free: 14.65 MB / 363.1 MB Notification: Performance of pre-optimization done (n=43): time 2.856e-06/0.5602, allocations: 0 / 465.7 MB, free: 14.65 MB / 363.1 MB Notification: Performance of matching and sorting (n=43): time 0.001703/0.562, allocations: 0.6026 MB / 466.3 MB, free: 14.04 MB / 363.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.869e-05/0.5621, allocations: 110.8 kB / 466.4 MB, free: 13.9 MB / 363.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009479/0.563, allocations: 469.2 kB / 466.8 MB, free: 13.44 MB / 363.1 MB Notification: Performance of collectPreVariables (initialization): time 7.738e-05/0.5631, allocations: 29.7 kB / 466.9 MB, free: 13.4 MB / 363.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003947/0.5635, allocations: 386.3 kB / 467.2 MB, free: 13.02 MB / 363.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001814/0.5637, allocations: 130.1 kB / 467.4 MB, free: 12.89 MB / 363.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.169e-05/0.5638, allocations: 0 / 467.4 MB, free: 12.89 MB / 363.1 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.5639, allocations: 334.8 kB / 467.7 MB, free: 12.56 MB / 363.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004552/0.5644, allocations: 185 kB / 467.9 MB, free: 12.38 MB / 363.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005687/0.565, allocations: 319.8 kB / 468.2 MB, free: 12.01 MB / 363.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000522/0.5655, allocations: 223.5 kB / 468.4 MB, free: 11.79 MB / 363.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.296e-06/0.5656, allocations: 4 kB / 468.4 MB, free: 11.79 MB / 363.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001599/0.5672, allocations: 0.6187 MB / 469 MB, free: 11.16 MB / 363.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.698e-05/0.5672, allocations: 8 kB / 469 MB, free: 11.15 MB / 363.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.386e-05/0.5672, allocations: 4.469 kB / 469 MB, free: 11.15 MB / 363.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000823/0.5681, allocations: 208.5 kB / 469.3 MB, free: 10.95 MB / 363.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005646/0.5687, allocations: 71.89 kB / 469.3 MB, free: 10.88 MB / 363.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004959/0.5736, allocations: 2.692 MB / 472 MB, free: 8.07 MB / 363.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006641/0.5743, allocations: 43.62 kB / 472.1 MB, free: 8.027 MB / 363.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.876e-05/0.5744, allocations: 23.98 kB / 472.1 MB, free: 8.004 MB / 363.1 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.0002216/0.5747, allocations: 121 kB / 472.2 MB, free: 7.879 MB / 363.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001269/0.5748, allocations: 59.33 kB / 472.3 MB, free: 7.82 MB / 363.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002281/0.575, allocations: 61.28 kB / 472.3 MB, free: 7.758 MB / 363.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.151e-05/0.5751, allocations: 8 kB / 472.3 MB, free: 7.75 MB / 363.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.5751, allocations: 0 / 472.3 MB, free: 7.75 MB / 363.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.096e-06/0.5751, allocations: 0 / 472.3 MB, free: 7.75 MB / 363.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004013/0.5791, allocations: 1.596 MB / 473.9 MB, free: 6.102 MB / 363.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.5792, allocations: 0 / 473.9 MB, free: 6.102 MB / 363.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005012/0.5797, allocations: 59.94 kB / 474 MB, free: 6.043 MB / 363.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007132/0.5804, allocations: 189.2 kB / 474.2 MB, free: 5.855 MB / 363.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.482e-05/0.5805, allocations: 8 kB / 474.2 MB, free: 5.848 MB / 363.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004495/0.585, allocations: 2.554 MB / 476.7 MB, free: 3.188 MB / 363.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.5851, allocations: 0 / 476.7 MB, free: 3.188 MB / 363.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002555/0.5876, allocations: 1.06 MB / 477.8 MB, free: 2.094 MB / 363.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004755/0.5881, allocations: 196.3 kB / 478 MB, free: 1.883 MB / 363.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001094/0.5883, allocations: 4 kB / 478 MB, free: 1.879 MB / 363.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000503/0.5888, allocations: 20.16 kB / 478 MB, free: 1.859 MB / 363.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001847/0.589, allocations: 43.88 kB / 478 MB, free: 1.816 MB / 363.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.047e-05/0.589, allocations: 19.97 kB / 478.1 MB, free: 1.797 MB / 363.1 MB Notification: Performance of sorting global known variables: time 0.0007044/0.5897, allocations: 378.8 kB / 478.4 MB, free: 1.43 MB / 363.1 MB Notification: Performance of sort global known variables: time 6.41e-07/0.5898, allocations: 4 kB / 478.4 MB, free: 1.426 MB / 363.1 MB Notification: Performance of remove unused functions: time 0.001078/0.5908, allocations: 183.3 kB / 478.6 MB, free: 1.246 MB / 363.1 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.0002541/0.5911, allocations: 120.2 kB / 478.7 MB, free: 1.117 MB / 363.1 MB Notification: Performance of simCode: created initialization part: time 0.001601/0.5927, allocations: 0.6465 MB / 479.4 MB, free: 472 kB / 363.1 MB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.5928, allocations: 0 / 479.4 MB, free: 472 kB / 363.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009339/0.5937, allocations: 441.7 kB / 479.8 MB, free: 20 kB / 363.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001036/0.5948, allocations: 112.7 kB / 479.9 MB, free: 15.91 MB / 379.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003026/0.5978, allocations: 1.074 MB / 481 MB, free: 14.8 MB / 379.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009624/0.5988, allocations: 1.078 MB / 482.1 MB, free: 13.69 MB / 379.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002333/0.5991, allocations: 35.44 kB / 482.1 MB, free: 13.66 MB / 379.1 MB Notification: Performance of SimCode: time 8.045e-06/0.5991, allocations: 0 / 482.1 MB, free: 13.66 MB / 379.1 MB Notification: Performance of Templates: time 0.02639/0.6255, allocations: 12.02 MB / 494.1 MB, free: 1.66 MB / 379.1 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches