Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.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.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_trunk_cpp_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_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001027/0.001027, allocations: 192.9 kB / 17.38 MB, free: 4.285 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.242/1.242, allocations: 226.5 MB / 244.7 MB, free: 6.348 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008277/0.0008277, allocations: 105.8 kB / 296.8 MB, free: 6.668 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002155/0.0002156, allocations: 8 kB / 356.8 MB, free: 10.67 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1828/0.1831, allocations: 51.3 MB / 408.1 MB, free: 27.69 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.002424/0.1855, allocations: 2.985 MB / 411 MB, free: 24.69 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001054/0.1866, allocations: 0.84 MB / 411.9 MB, free: 23.85 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001523/0.1868, allocations: 8 kB / 411.9 MB, free: 23.84 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001407/0.1869, allocations: 52.08 kB / 411.9 MB, free: 23.79 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002296/0.1872, allocations: 105.6 kB / 412 MB, free: 23.69 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002238/0.1874, allocations: 97.36 kB / 412.1 MB, free: 23.6 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003334/0.1877, allocations: 485.9 kB / 412.6 MB, free: 23.12 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002316/0.188, allocations: 148.5 kB / 412.8 MB, free: 22.97 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001907/0.1882, allocations: 163.3 kB / 412.9 MB, free: 22.81 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001878/0.1884, allocations: 179.1 kB / 413.1 MB, free: 22.64 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.296e-05/0.1884, allocations: 20 kB / 413.1 MB, free: 22.62 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.268e-05/0.1885, allocations: 32 kB / 413.1 MB, free: 22.59 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.358e-05/0.1886, allocations: 75.61 kB / 413.2 MB, free: 22.52 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001382/0.1887, allocations: 224.6 kB / 413.4 MB, free: 22.29 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002476/0.189, allocations: 387.9 kB / 413.8 MB, free: 21.91 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.189, allocations: 4 kB / 413.8 MB, free: 21.91 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.189, allocations: 0 / 413.8 MB, free: 21.91 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.673e-06/0.189, allocations: 0 / 413.8 MB, free: 21.91 MB / 298.7 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.0008486/0.1899, allocations: 0.6616 MB / 414.5 MB, free: 21.2 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.1899, allocations: 19.95 kB / 414.5 MB, free: 21.18 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000223/0.1901, allocations: 72.36 kB / 414.6 MB, free: 21.11 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000305/0.1904, allocations: 336.3 kB / 414.9 MB, free: 20.74 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.649e-05/0.1905, allocations: 29.38 kB / 414.9 MB, free: 20.71 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.109e-05/0.1905, allocations: 40.36 kB / 415 MB, free: 20.68 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005309/0.1911, allocations: 396 kB / 415.4 MB, free: 20.27 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.663e-05/0.1911, allocations: 4 kB / 415.4 MB, free: 20.27 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.389e-05/0.1912, allocations: 12 kB / 415.4 MB, free: 20.25 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.585e-06/0.1912, allocations: 16 kB / 415.4 MB, free: 20.24 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004376/0.1916, allocations: 271.8 kB / 415.7 MB, free: 19.98 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00159/0.1932, allocations: 1.515 MB / 417.2 MB, free: 18.36 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003364/0.1936, allocations: 250.9 kB / 417.4 MB, free: 18.11 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002874/0.1939, allocations: 169.2 kB / 417.6 MB, free: 17.94 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.712e-05/0.1939, allocations: 8.219 kB / 417.6 MB, free: 17.93 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003147/0.1942, allocations: 230 kB / 417.8 MB, free: 17.69 MB / 298.7 MB Notification: Performance of pre-optimization done (n=31): time 1.704e-06/0.1942, allocations: 0 / 417.8 MB, free: 17.69 MB / 298.7 MB Notification: Performance of matching and sorting (n=31): time 0.00129/0.1955, allocations: 0.5932 MB / 418.4 MB, free: 17.07 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.443e-05/0.1956, allocations: 110.8 kB / 418.5 MB, free: 16.93 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002463/0.1958, allocations: 308.4 kB / 418.8 MB, free: 16.63 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.486e-05/0.1959, allocations: 29.7 kB / 418.8 MB, free: 16.59 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.136e-05/0.196, allocations: 228.2 kB / 419.1 MB, free: 16.37 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.058e-05/0.196, allocations: 98.59 kB / 419.2 MB, free: 16.27 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.568e-05/0.196, allocations: 4 kB / 419.2 MB, free: 16.27 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.468e-05/0.1961, allocations: 346.8 kB / 419.5 MB, free: 15.92 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001731/0.1963, allocations: 100.7 kB / 419.6 MB, free: 15.82 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001976/0.1965, allocations: 221.5 kB / 419.8 MB, free: 15.54 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003759/0.1969, allocations: 332.9 kB / 420.1 MB, free: 15.16 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.1969, allocations: 0 / 420.1 MB, free: 15.16 MB / 298.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005975/0.1975, allocations: 425.8 kB / 420.6 MB, free: 14.74 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.1975, allocations: 4 kB / 420.6 MB, free: 14.73 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/0.1975, allocations: 7.938 kB / 420.6 MB, free: 14.73 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002718/0.1978, allocations: 84.8 kB / 420.7 MB, free: 14.64 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002101/0.198, allocations: 59.91 kB / 420.7 MB, free: 14.58 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001422/0.1995, allocations: 1.815 MB / 422.5 MB, free: 12.63 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002129/0.1997, allocations: 31.75 kB / 422.6 MB, free: 12.6 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.192e-05/0.1997, allocations: 16 kB / 422.6 MB, free: 12.59 MB / 298.7 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 ($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.off,rectifier.diode_n.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 (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 {2 8} Notification: Performance of prepare postOptimizeDAE: time 0.0001553/0.1999, allocations: 174.2 kB / 422.7 MB, free: 12.41 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.946e-05/0.1999, allocations: 39.47 kB / 422.8 MB, free: 12.37 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.307e-05/0.2, allocations: 39.86 kB / 422.8 MB, free: 12.33 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.2, allocations: 8.062 kB / 422.8 MB, free: 12.32 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.2, allocations: 0 / 422.8 MB, free: 12.32 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.2, allocations: 3.984 kB / 422.8 MB, free: 12.32 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004671/0.2005, allocations: 0.5692 MB / 423.4 MB, free: 11.69 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.2005, allocations: 0 / 423.4 MB, free: 11.69 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000161/0.2007, allocations: 35.97 kB / 423.4 MB, free: 11.65 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002016/0.2009, allocations: 88.81 kB / 423.5 MB, free: 11.56 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.27e-05/0.2009, allocations: 8 kB / 423.5 MB, free: 11.55 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001226/0.2021, allocations: 1.788 MB / 425.3 MB, free: 9.633 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.2022, allocations: 3.938 kB / 425.3 MB, free: 9.629 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007606/0.2029, allocations: 0.504 MB / 425.8 MB, free: 9.098 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.581e-05/0.203, allocations: 132.7 kB / 426 MB, free: 8.949 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.099e-05/0.2031, allocations: 8 kB / 426 MB, free: 8.941 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001625/0.2032, allocations: 19.98 kB / 426 MB, free: 8.922 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.119e-05/0.2033, allocations: 39.77 kB / 426 MB, free: 8.883 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.974e-05/0.2033, allocations: 12 kB / 426 MB, free: 8.871 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001515/0.2035, allocations: 211.1 kB / 426.2 MB, free: 8.668 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2035, allocations: 0 / 426.2 MB, free: 8.668 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004272/0.2039, allocations: 111.7 kB / 426.4 MB, free: 8.559 MB / 298.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: 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 (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 {2 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001116/0.2041, allocations: 126.8 kB / 426.5 MB, free: 8.426 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006145/0.2047, allocations: 423.7 kB / 426.9 MB, free: 8 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.2047, allocations: 3.938 kB / 426.9 MB, free: 7.996 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000325/0.205, allocations: 290.3 kB / 427.2 MB, free: 7.699 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003335/0.2054, allocations: 53.64 kB / 427.2 MB, free: 7.648 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000956/0.2063, allocations: 0.9116 MB / 428.1 MB, free: 6.707 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001804/0.2065, allocations: 0.8071 MB / 428.9 MB, free: 5.875 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.053e-05/0.2066, allocations: 31.38 kB / 429 MB, free: 5.844 MB / 298.7 MB Notification: Performance of SimCode: time 2.41e-07/0.2066, allocations: 0 / 429 MB, free: 5.844 MB / 298.7 MB Notification: Performance of Templates: time 0.005913/0.2125, allocations: 5.984 MB / 435 MB, free: 15.89 MB / 314.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.makefile (rm -f Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.sim & ./Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2Pulse/DiodeCenterTap2Pulse/DiodeCenterTap2Pulse.csv","../files/Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches