Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,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_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,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_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007871/0.0007872, allocations: 97.19 kB / 17.31 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008338/0.0008338, allocations: 182.5 kB / 18.22 MB, free: 5.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.122/1.122, allocations: 223.3 MB / 242.3 MB, free: 192 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002039/0.0002039, allocations: 7.938 kB / 302.1 MB, free: 6.109 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07188/0.07209, allocations: 50.41 MB / 352.5 MB, free: 3.691 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.002934/0.07507, allocations: 3.096 MB / 355.6 MB, free: 0.5742 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009952/0.07607, allocations: 0.822 MB / 356.4 MB, free: 15.74 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001334/0.07622, allocations: 11.94 kB / 356.4 MB, free: 15.73 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001367/0.07636, allocations: 47.61 kB / 356.5 MB, free: 15.68 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002321/0.0766, allocations: 107.2 kB / 356.6 MB, free: 15.58 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002279/0.07684, allocations: 119.8 kB / 356.7 MB, free: 15.46 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003998/0.07724, allocations: 497.7 kB / 357.2 MB, free: 14.98 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002253/0.07748, allocations: 149.7 kB / 357.3 MB, free: 14.82 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001683/0.07765, allocations: 167.2 kB / 357.5 MB, free: 14.66 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002051/0.07787, allocations: 187 kB / 357.7 MB, free: 14.48 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.197e-05/0.07792, allocations: 20 kB / 357.7 MB, free: 14.46 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.389e-05/0.07797, allocations: 20 kB / 357.7 MB, free: 14.44 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.802e-05/0.07804, allocations: 79.62 kB / 357.8 MB, free: 14.36 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001695/0.07821, allocations: 224.6 kB / 358 MB, free: 14.13 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000293/0.07851, allocations: 398.8 kB / 358.4 MB, free: 13.74 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.07852, allocations: 0 / 358.4 MB, free: 13.74 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.07853, allocations: 0 / 358.4 MB, free: 13.74 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.07854, allocations: 0 / 358.4 MB, free: 13.74 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.000907/0.07945, allocations: 0.6445 MB / 359.1 MB, free: 13.05 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.035e-05/0.07949, allocations: 12.03 kB / 359.1 MB, free: 13.04 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.607e-05/0.07957, allocations: 52.38 kB / 359.1 MB, free: 12.98 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003294/0.07991, allocations: 336.3 kB / 359.4 MB, free: 12.62 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.418e-05/0.07994, allocations: 29.38 kB / 359.5 MB, free: 12.59 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.635e-05/0.08, allocations: 40.36 kB / 359.5 MB, free: 12.55 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005864/0.08059, allocations: 400 kB / 359.9 MB, free: 12.14 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/0.08062, allocations: 3.906 kB / 359.9 MB, free: 12.14 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.561e-05/0.08066, allocations: 16 kB / 359.9 MB, free: 12.12 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.08067, allocations: 8 kB / 359.9 MB, free: 12.12 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004782/0.08116, allocations: 279.8 kB / 360.2 MB, free: 11.84 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001743/0.08291, allocations: 1.492 MB / 361.7 MB, free: 10.25 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003795/0.0833, allocations: 250.7 kB / 361.9 MB, free: 10 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003187/0.08363, allocations: 170.1 kB / 362.1 MB, free: 9.836 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.234e-05/0.08366, allocations: 4.234 kB / 362.1 MB, free: 9.832 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003464/0.08401, allocations: 230 kB / 362.3 MB, free: 9.586 MB / 302.1 MB Notification: Performance of pre-optimization done (n=31): time 1.423e-06/0.08402, allocations: 0 / 362.3 MB, free: 9.586 MB / 302.1 MB Notification: Performance of matching and sorting (n=31): time 0.001339/0.08537, allocations: 0.6043 MB / 362.9 MB, free: 8.953 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.524e-05/0.08543, allocations: 114.8 kB / 363 MB, free: 8.816 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002598/0.0857, allocations: 284.6 kB / 363.3 MB, free: 8.531 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.973e-05/0.08574, allocations: 37.7 kB / 363.4 MB, free: 8.488 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001302/0.08587, allocations: 220.2 kB / 363.6 MB, free: 8.27 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.446e-05/0.08594, allocations: 102.6 kB / 363.7 MB, free: 8.168 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.579e-05/0.08599, allocations: 37.7 kB / 363.7 MB, free: 8.125 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.08611, allocations: 342.8 kB / 364.1 MB, free: 7.781 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001785/0.08629, allocations: 92.72 kB / 364.1 MB, free: 7.688 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000253/0.08655, allocations: 229.5 kB / 364.4 MB, free: 7.406 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004309/0.08699, allocations: 335 kB / 364.7 MB, free: 7.023 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-06/0.087, allocations: 4 kB / 364.7 MB, free: 7.02 MB / 302.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006536/0.08766, allocations: 419.8 kB / 365.1 MB, free: 6.602 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.08769, allocations: 14.91 kB / 365.1 MB, free: 6.59 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.0877, allocations: 4 kB / 365.1 MB, free: 6.586 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002587/0.08796, allocations: 89.22 kB / 365.2 MB, free: 6.496 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001993/0.08817, allocations: 59.91 kB / 365.3 MB, free: 6.438 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001562/0.08974, allocations: 1.803 MB / 367.1 MB, free: 4.496 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002005/0.08996, allocations: 43.67 kB / 367.1 MB, free: 4.453 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.026e-05/0.08998, allocations: 12 kB / 367.1 MB, free: 4.441 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 11 (meanVoltage.y_last,$PRE.meanVoltage.y_last,meanCurrent.y_last,$PRE.meanCurrent.y_last,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y_last,$PRE.rootMeanSquareVoltage.mean.y_last,rectifier.diode_n.off,rectifier.diode_p.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0001586/0.09015, allocations: 178.2 kB / 367.3 MB, free: 4.258 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.378e-05/0.0902, allocations: 39.55 kB / 367.3 MB, free: 4.219 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.458e-05/0.09027, allocations: 39.09 kB / 367.4 MB, free: 4.184 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.09028, allocations: 4 kB / 367.4 MB, free: 4.18 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.09028, allocations: 0 / 367.4 MB, free: 4.18 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.09029, allocations: 0 / 367.4 MB, free: 4.18 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005327/0.09083, allocations: 0.5809 MB / 368 MB, free: 3.539 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.09084, allocations: 0 / 368 MB, free: 3.539 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001535/0.091, allocations: 27.98 kB / 368 MB, free: 3.512 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000204/0.09121, allocations: 84.78 kB / 368.1 MB, free: 3.426 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.943e-05/0.09124, allocations: 11.92 kB / 368.1 MB, free: 3.414 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001483/0.09273, allocations: 1.8 MB / 369.9 MB, free: 1.477 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.09274, allocations: 0 / 369.9 MB, free: 1.477 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008159/0.09356, allocations: 0.5074 MB / 370.4 MB, free: 0.9414 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001088/0.09368, allocations: 128.7 kB / 370.5 MB, free: 0.7969 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.885e-05/0.09372, allocations: 8 kB / 370.5 MB, free: 0.7891 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001602/0.09389, allocations: 15.98 kB / 370.5 MB, free: 0.7734 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.57e-05/0.09396, allocations: 35.83 kB / 370.6 MB, free: 0.7383 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.973e-05/0.09399, allocations: 16 kB / 370.6 MB, free: 0.7227 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001745/0.09417, allocations: 207.1 kB / 370.8 MB, free: 0.5234 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.09418, allocations: 0 / 370.8 MB, free: 0.5234 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003998/0.09458, allocations: 115.7 kB / 370.9 MB, free: 420 kB / 302.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: 8 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.off,rectifier.diode_n.off,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * Number of discrete states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001017/0.09469, allocations: 111.2 kB / 371 MB, free: 300 kB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.12/0.2147, allocations: 420.7 kB / 371.4 MB, free: 24.48 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.691e-06/0.2147, allocations: 0.7812 kB / 371.4 MB, free: 24.48 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004825/0.2152, allocations: 293.6 kB / 371.7 MB, free: 24.37 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003978/0.2156, allocations: 52.97 kB / 371.8 MB, free: 24.36 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001156/0.2168, allocations: 0.9397 MB / 372.7 MB, free: 23.84 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002143/0.217, allocations: 0.8022 MB / 373.5 MB, free: 23.14 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.334e-05/0.2171, allocations: 28.56 kB / 373.5 MB, free: 23.13 MB / 302.1 MB Notification: Performance of SimCode: time 6.61e-07/0.2171, allocations: 0 / 373.5 MB, free: 23.13 MB / 302.1 MB Notification: Performance of Templates: time 0.007995/0.2251, allocations: 5.869 MB / 379.4 MB, free: 22.41 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2Pulse/DiodeCenterTap2Pulse/DiodeCenterTap2Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches