Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.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.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_4.0.0_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_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001956/0.001955, allocations: 107.5 kB / 17.16 MB, free: 6.082 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.002165/0.002166, allocations: 194.9 kB / 18.08 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.059/2.059, allocations: 222.9 MB / 241.8 MB, free: 15.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001555/0.001555, allocations: 43.33 kB / 300.6 MB, free: 6.312 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1643/0.1659, allocations: 49.46 MB / 350.1 MB, free: 4.848 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.009902/0.1759, allocations: 3.693 MB / 353.8 MB, free: 1.125 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003872/0.1798, allocations: 0.9897 MB / 354.8 MB, free: 136 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009069/0.1808, allocations: 11.94 kB / 354.8 MB, free: 124 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006717/0.1815, allocations: 83.41 kB / 354.9 MB, free: 40 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001661/0.1833, allocations: 218.9 kB / 355.1 MB, free: 15.82 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008109/0.1841, allocations: 123.8 kB / 355.2 MB, free: 15.7 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002151/0.1863, allocations: 1.051 MB / 356.2 MB, free: 14.65 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001212/0.1875, allocations: 0.5056 MB / 356.7 MB, free: 14.13 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001022/0.1886, allocations: 350.6 kB / 357.1 MB, free: 13.79 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001455/0.19, allocations: 470 kB / 357.6 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004154/0.1905, allocations: 60 kB / 357.6 MB, free: 13.27 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005887/0.1911, allocations: 56 kB / 357.7 MB, free: 13.21 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007735/0.1919, allocations: 235.2 kB / 357.9 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001236/0.1931, allocations: 437.7 kB / 358.3 MB, free: 12.55 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001702/0.1948, allocations: 1.025 MB / 359.3 MB, free: 11.52 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.175e-06/0.1949, allocations: 0 / 359.3 MB, free: 11.52 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.1949, allocations: 0 / 359.3 MB, free: 11.52 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.38e-05/0.195, allocations: 0 / 359.3 MB, free: 11.52 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.004838/0.1998, allocations: 1.177 MB / 360.5 MB, free: 10.29 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.562e-05/0.1999, allocations: 11.97 kB / 360.5 MB, free: 10.28 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007396/0.2007, allocations: 91.81 kB / 360.6 MB, free: 10.19 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001938/0.2026, allocations: 0.6042 MB / 361.2 MB, free: 9.547 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.558e-05/0.2028, allocations: 57.23 kB / 361.3 MB, free: 9.492 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002584/0.203, allocations: 71.98 kB / 361.4 MB, free: 9.422 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002692/0.2057, allocations: 0.9149 MB / 362.3 MB, free: 8.484 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.113e-05/0.2058, allocations: 7.984 kB / 362.3 MB, free: 8.477 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001085/0.2059, allocations: 24 kB / 362.3 MB, free: 8.453 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.073e-05/0.206, allocations: 33.31 kB / 362.3 MB, free: 8.418 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002322/0.2083, allocations: 0.7936 MB / 363.1 MB, free: 7.621 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007204/0.2156, allocations: 2.811 MB / 365.9 MB, free: 4.707 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001526/0.2171, allocations: 0.7411 MB / 366.7 MB, free: 3.902 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008713/0.218, allocations: 345.1 kB / 367 MB, free: 3.562 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.425e-05/0.2181, allocations: 8.328 kB / 367 MB, free: 3.555 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000731/0.2189, allocations: 377.9 kB / 367.4 MB, free: 3.164 MB / 302.1 MB Notification: Performance of pre-optimization done (n=43): time 2.825e-06/0.2189, allocations: 0 / 367.4 MB, free: 3.164 MB / 302.1 MB Notification: Performance of matching and sorting (n=43): time 0.003246/0.2221, allocations: 1.229 MB / 368.6 MB, free: 1.906 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001484/0.2223, allocations: 110.8 kB / 368.7 MB, free: 1.773 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001067/0.2234, allocations: 0.5722 MB / 369.3 MB, free: 1.191 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.067e-05/0.2235, allocations: 33.69 kB / 369.3 MB, free: 1.152 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003676/0.2238, allocations: 363.8 kB / 369.7 MB, free: 0.793 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001902/0.224, allocations: 138.1 kB / 369.8 MB, free: 0.6562 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002428/0.2243, allocations: 94.16 kB / 369.9 MB, free: 0.5586 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002605/0.2246, allocations: 362.8 kB / 370.3 MB, free: 200 kB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2605/0.4851, allocations: 213.3 kB / 370.5 MB, free: 25.47 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007895/0.4859, allocations: 358.7 kB / 370.8 MB, free: 25.32 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001272/0.4872, allocations: 0.5668 MB / 371.4 MB, free: 25.17 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.021e-05/0.4872, allocations: 1.75 kB / 371.4 MB, free: 25.17 MB / 302.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.00221/0.4895, allocations: 0.7561 MB / 372.2 MB, free: 25.1 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.444e-05/0.4895, allocations: 6.906 kB / 372.2 MB, free: 25.1 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.51e-05/0.4895, allocations: 4.25 kB / 372.2 MB, free: 25.1 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009838/0.4905, allocations: 204.9 kB / 372.4 MB, free: 25.09 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005336/0.4911, allocations: 78.09 kB / 372.4 MB, free: 25.09 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005418/0.4965, allocations: 2.775 MB / 375.2 MB, free: 23.21 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008509/0.4974, allocations: 55.08 kB / 375.3 MB, free: 23.2 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.441e-05/0.4975, allocations: 18.81 kB / 375.3 MB, free: 23.2 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: 12 (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.idealDiode[3].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[1].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 (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 {(3,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0008151/0.4983, allocations: 326.8 kB / 375.6 MB, free: 23 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001707/0.4985, allocations: 63.95 kB / 375.7 MB, free: 23 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001829/0.4987, allocations: 69.97 kB / 375.7 MB, free: 22.95 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.437e-06/0.4987, allocations: 4.125 kB / 375.7 MB, free: 22.95 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.051e-05/0.4988, allocations: 5.312 kB / 375.7 MB, free: 22.95 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.286e-05/0.4988, allocations: 5.984 kB / 375.8 MB, free: 22.95 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004582/0.5034, allocations: 1.738 MB / 377.5 MB, free: 22.09 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.892e-06/0.5034, allocations: 3.688 kB / 377.5 MB, free: 22.09 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004693/0.5039, allocations: 56.47 kB / 377.6 MB, free: 22.08 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008596/0.5048, allocations: 190.4 kB / 377.7 MB, free: 22.02 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.473e-05/0.5049, allocations: 8.516 kB / 377.7 MB, free: 22.01 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004914/0.5098, allocations: 2.638 MB / 380.4 MB, free: 20.12 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.98e-06/0.5098, allocations: 1.672 kB / 380.4 MB, free: 20.12 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003494/0.5133, allocations: 1.141 MB / 381.5 MB, free: 19.6 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005293/0.5139, allocations: 190.2 kB / 381.7 MB, free: 19.45 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001438/0.514, allocations: 12.67 kB / 381.7 MB, free: 19.44 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005437/0.5146, allocations: 33.2 kB / 381.8 MB, free: 19.43 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002777/0.5149, allocations: 43.67 kB / 381.8 MB, free: 19.43 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.052e-05/0.515, allocations: 15.67 kB / 381.8 MB, free: 19.42 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0009612/0.516, allocations: 418.2 kB / 382.2 MB, free: 19.23 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.516, allocations: 0 / 382.2 MB, free: 19.23 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001446/0.5174, allocations: 202.4 kB / 382.4 MB, free: 19.19 MB / 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: 9 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[3].off,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * 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 (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 {(3,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002591/0.5177, allocations: 123.8 kB / 382.5 MB, free: 19.08 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002356/0.5201, allocations: 0.719 MB / 383.3 MB, free: 18.75 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 9.659e-06/0.5201, allocations: 7.938 kB / 383.3 MB, free: 18.75 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001255/0.5214, allocations: 475.6 kB / 383.7 MB, free: 18.5 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001335/0.5227, allocations: 143.6 kB / 383.9 MB, free: 18.46 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005458/0.5282, allocations: 1.855 MB / 385.7 MB, free: 17.41 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001276/0.5295, allocations: 1.066 MB / 386.8 MB, free: 16.64 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003527/0.5299, allocations: 43.78 kB / 386.8 MB, free: 16.62 MB / 302.1 MB Notification: Performance of SimCode: time 1.904e-06/0.5299, allocations: 0 / 386.8 MB, free: 16.62 MB / 302.1 MB Notification: Performance of Templates: time 0.02871/0.5587, allocations: 12.8 MB / 399.6 MB, free: 8.297 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTapmPulse/DiodeCenterTapmPulse/DiodeCenterTapmPulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches