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.001234/0.001234, allocations: 182 kB / 17.01 MB, free: 5.125 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.789/1.789, allocations: 205.4 MB / 223.1 MB, free: 9.121 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.0009467/0.0009468, allocations: 92.09 kB / 271.5 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002743/0.0002743, allocations: 8 kB / 328.3 MB, free: 15.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3253/0.3256, allocations: 47.57 MB / 375.8 MB, free: 45.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1234/0.4492, allocations: 83.33 MB / 459.2 MB, free: 13.33 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003752/0.4496, allocations: 94.56 kB / 459.2 MB, free: 13.24 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03591/0.4855, allocations: 13.5 MB / 472.7 MB, free: 15.64 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.635e-06/0.4856, allocations: 0 / 472.7 MB, free: 15.64 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.516e-05/0.4856, allocations: 20 kB / 472.8 MB, free: 15.62 MB / 362.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.0019/0.4875, allocations: 1.038 MB / 473.8 MB, free: 14.53 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/0.4876, allocations: 8.031 kB / 473.8 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001903/0.4878, allocations: 94.88 kB / 473.9 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00108/0.4889, allocations: 0.6109 MB / 474.5 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.182e-05/0.4889, allocations: 53.25 kB / 474.6 MB, free: 13.72 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001142/0.4891, allocations: 63.91 kB / 474.6 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001486/0.4906, allocations: 0.9114 MB / 475.5 MB, free: 12.71 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.46e-05/0.4906, allocations: 0 / 475.5 MB, free: 12.71 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.156e-05/0.4907, allocations: 28 kB / 475.6 MB, free: 12.68 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.277e-05/0.4907, allocations: 33.25 kB / 475.6 MB, free: 12.65 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001254/0.492, allocations: 0.7624 MB / 476.4 MB, free: 11.89 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004063/0.4961, allocations: 2.824 MB / 479.2 MB, free: 8.957 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008709/0.497, allocations: 0.7457 MB / 479.9 MB, free: 8.152 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.554e-05/0.497, allocations: 4.328 kB / 479.9 MB, free: 8.148 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005994/0.4976, allocations: 389 kB / 480.3 MB, free: 7.75 MB / 362.7 MB Notification: Performance of pre-optimization done (n=43): time 1.764e-06/0.4976, allocations: 0 / 480.3 MB, free: 7.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=43): time 0.002576/0.5002, allocations: 1.202 MB / 481.5 MB, free: 6.52 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.226e-05/0.5003, allocations: 89.03 kB / 481.6 MB, free: 6.414 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006515/0.5009, allocations: 0.5089 MB / 482.1 MB, free: 5.898 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.091e-05/0.501, allocations: 41.69 kB / 482.2 MB, free: 5.852 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003029/0.5013, allocations: 340.1 kB / 482.5 MB, free: 5.516 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001557/0.5015, allocations: 142 kB / 482.6 MB, free: 5.375 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.466e-05/0.5015, allocations: 8 kB / 482.6 MB, free: 5.367 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001986/0.5017, allocations: 366.8 kB / 483 MB, free: 5 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003738/0.5021, allocations: 225 kB / 483.2 MB, free: 4.781 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004538/0.5026, allocations: 352 kB / 483.6 MB, free: 4.383 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004153/0.503, allocations: 252 kB / 483.8 MB, free: 4.137 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.651e-06/0.503, allocations: 4 kB / 483.8 MB, free: 4.133 MB / 362.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001222/0.5042, allocations: 0.7512 MB / 484.6 MB, free: 3.371 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.5043, allocations: 8 kB / 484.6 MB, free: 3.363 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.5043, allocations: 4 kB / 484.6 MB, free: 3.359 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005125/0.5048, allocations: 204.7 kB / 484.8 MB, free: 3.156 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003145/0.5051, allocations: 75.83 kB / 484.8 MB, free: 3.082 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003121/0.5083, allocations: 2.731 MB / 487.6 MB, free: 220 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003478/0.5086, allocations: 59.56 kB / 487.6 MB, free: 160 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.64e-05/0.5087, allocations: 24 kB / 487.7 MB, free: 136 kB / 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: 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 42 * 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 11} Notification: Performance of prepare postOptimizeDAE: time 0.0005176/0.5092, allocations: 325.5 kB / 488 MB, free: 15.8 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.836e-05/0.5093, allocations: 55.34 kB / 488 MB, free: 15.75 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001371/0.5094, allocations: 73.27 kB / 488.1 MB, free: 15.67 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.177e-06/0.5094, allocations: 4 kB / 488.1 MB, free: 15.67 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.5094, allocations: 0 / 488.1 MB, free: 15.67 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.5095, allocations: 0 / 488.1 MB, free: 15.67 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002288/0.5117, allocations: 1.534 MB / 489.6 MB, free: 14.08 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.5118, allocations: 0 / 489.6 MB, free: 14.08 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002592/0.512, allocations: 51.91 kB / 489.7 MB, free: 14.03 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004197/0.5125, allocations: 200.8 kB / 489.9 MB, free: 13.83 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.513e-05/0.5125, allocations: 8 kB / 489.9 MB, free: 13.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003009/0.5155, allocations: 2.705 MB / 492.6 MB, free: 10.98 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.5155, allocations: 0 / 492.6 MB, free: 10.98 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001757/0.5173, allocations: 1.121 MB / 493.7 MB, free: 9.84 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003521/0.5177, allocations: 192.4 kB / 493.9 MB, free: 9.633 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.524e-05/0.5178, allocations: 8 kB / 493.9 MB, free: 9.625 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002884/0.5181, allocations: 27.97 kB / 493.9 MB, free: 9.598 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001381/0.5182, allocations: 43.94 kB / 494 MB, free: 9.555 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.325e-05/0.5182, allocations: 19.98 kB / 494 MB, free: 9.535 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005816/0.5188, allocations: 418.8 kB / 494.4 MB, free: 9.129 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5188, allocations: 0 / 494.4 MB, free: 9.129 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008945/0.5197, allocations: 207.4 kB / 494.6 MB, free: 8.926 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: 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) * Number of clocked states: 0 () * 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.0002557/0.52, allocations: 127 kB / 494.7 MB, free: 8.793 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00141/0.5214, allocations: 0.7367 MB / 495.5 MB, free: 8.043 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.5214, allocations: 192 / 495.5 MB, free: 8.043 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007264/0.5222, allocations: 483.1 kB / 495.9 MB, free: 7.559 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006391/0.5228, allocations: 133.4 kB / 496.1 MB, free: 7.43 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002981/0.5258, allocations: 1.743 MB / 497.8 MB, free: 5.664 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007316/0.5266, allocations: 1.086 MB / 498.9 MB, free: 4.551 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003135/0.5269, allocations: 100.7 kB / 499 MB, free: 4.449 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001084/0.527, allocations: 39.42 kB / 499 MB, free: 4.41 MB / 378.7 MB Notification: Performance of SimCode: time 9.61e-07/0.527, allocations: 0 / 499 MB, free: 4.41 MB / 378.7 MB Notification: Performance of Templates: time 0.2323/0.7594, allocations: 9.127 MB / 0.4963 GB, free: 105.9 MB / 378.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