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.001778/0.001778, allocations: 108.2 kB / 17.17 MB, free: 6.32 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.002174/0.002175, allocations: 194.9 kB / 18.08 MB, free: 5.41 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.231/2.231, allocations: 222.9 MB / 241.8 MB, free: 13.79 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001885/0.001885, allocations: 46.72 kB / 300.6 MB, free: 6.074 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1797/0.1816, allocations: 49.45 MB / 350.1 MB, free: 4.617 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.01028/0.192, allocations: 3.482 MB / 353.6 MB, free: 1.109 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00312/0.1952, allocations: 0.8296 MB / 354.4 MB, free: 280 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005432/0.1958, allocations: 4 kB / 354.4 MB, free: 276 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003625/0.1961, allocations: 47.61 kB / 354.4 MB, free: 228 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006333/0.1969, allocations: 115.1 kB / 354.5 MB, free: 112 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00063/0.1975, allocations: 111.9 kB / 354.7 MB, free: 0 / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000957/0.1985, allocations: 497.9 kB / 355.1 MB, free: 15.51 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005153/0.199, allocations: 153.7 kB / 355.3 MB, free: 15.36 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004438/0.1995, allocations: 171.2 kB / 355.5 MB, free: 15.19 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004444/0.2, allocations: 199 kB / 355.7 MB, free: 14.99 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.546e-05/0.2001, allocations: 28 kB / 355.7 MB, free: 14.96 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001091/0.2002, allocations: 28 kB / 355.7 MB, free: 14.94 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001572/0.2004, allocations: 91.59 kB / 355.8 MB, free: 14.85 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003729/0.2008, allocations: 210.8 kB / 356 MB, free: 14.64 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006619/0.2014, allocations: 403 kB / 356.4 MB, free: 14.25 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.2015, allocations: 0 / 356.4 MB, free: 14.25 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.2015, allocations: 0 / 356.4 MB, free: 14.25 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.043e-05/0.2015, allocations: 0 / 356.4 MB, free: 14.25 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.002167/0.2037, allocations: 0.7285 MB / 357.1 MB, free: 13.47 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.727e-05/0.2038, allocations: 12.03 kB / 357.1 MB, free: 13.46 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002862/0.2041, allocations: 48.38 kB / 357.2 MB, free: 13.41 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007419/0.2048, allocations: 340.2 kB / 357.5 MB, free: 13.04 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.819e-05/0.2049, allocations: 33.31 kB / 357.6 MB, free: 13.01 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001148/0.205, allocations: 40.31 kB / 357.6 MB, free: 12.97 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001309/0.2063, allocations: 396 kB / 358 MB, free: 12.57 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.516e-05/0.2064, allocations: 0 / 358 MB, free: 12.57 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.995e-05/0.2065, allocations: 16 kB / 358 MB, free: 12.55 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.157e-05/0.2065, allocations: 8 kB / 358 MB, free: 12.54 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009814/0.2075, allocations: 259.8 kB / 358.3 MB, free: 12.29 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003815/0.2113, allocations: 1.496 MB / 359.8 MB, free: 10.7 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008495/0.2122, allocations: 251.3 kB / 360 MB, free: 10.44 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006853/0.2129, allocations: 174.9 kB / 360.2 MB, free: 10.27 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.849e-05/0.213, allocations: 4.234 kB / 360.2 MB, free: 10.27 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007427/0.2137, allocations: 226.5 kB / 360.4 MB, free: 10.02 MB / 302.1 MB Notification: Performance of pre-optimization done (n=31): time 5.089e-06/0.2138, allocations: 4 kB / 360.4 MB, free: 10.02 MB / 302.1 MB Notification: Performance of matching and sorting (n=31): time 0.00288/0.2167, allocations: 0.581 MB / 361 MB, free: 9.41 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001224/0.2168, allocations: 106.8 kB / 361.1 MB, free: 9.281 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005982/0.2174, allocations: 288.6 kB / 361.4 MB, free: 8.992 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.922e-05/0.2175, allocations: 41.69 kB / 361.4 MB, free: 8.945 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003305/0.2179, allocations: 216.2 kB / 361.6 MB, free: 8.73 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001518/0.218, allocations: 94.61 kB / 361.7 MB, free: 8.637 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002127/0.2183, allocations: 74.06 kB / 361.8 MB, free: 8.555 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002325/0.2185, allocations: 338.8 kB / 362.1 MB, free: 8.215 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003845/0.2189, allocations: 96.7 kB / 362.2 MB, free: 8.121 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005209/0.2195, allocations: 221.5 kB / 362.4 MB, free: 7.848 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009229/0.2204, allocations: 334.7 kB / 362.7 MB, free: 7.469 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.813e-06/0.2204, allocations: 0 / 362.7 MB, free: 7.469 MB / 302.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001413/0.2218, allocations: 413.5 kB / 363.2 MB, free: 7.055 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.709e-05/0.2219, allocations: 8 kB / 363.2 MB, free: 7.047 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.937e-05/0.2219, allocations: 4 kB / 363.2 MB, free: 7.043 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000575/0.2225, allocations: 81.31 kB / 363.2 MB, free: 6.961 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004336/0.223, allocations: 63.84 kB / 363.3 MB, free: 6.898 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003572/0.2266, allocations: 1.811 MB / 365.1 MB, free: 4.949 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005165/0.2271, allocations: 39.67 kB / 365.2 MB, free: 4.91 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.439e-05/0.2272, allocations: 12 kB / 365.2 MB, free: 4.898 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.0004143/0.2276, allocations: 180.4 kB / 365.3 MB, free: 4.715 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001083/0.2277, allocations: 39.62 kB / 365.4 MB, free: 4.676 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001295/0.2279, allocations: 39.09 kB / 365.4 MB, free: 4.641 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.057e-06/0.2279, allocations: 4 kB / 365.4 MB, free: 4.637 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.2279, allocations: 0 / 365.4 MB, free: 4.637 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.818e-06/0.2279, allocations: 3.984 kB / 365.4 MB, free: 4.633 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001112/0.229, allocations: 0.5654 MB / 366 MB, free: 4.008 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.134e-06/0.2291, allocations: 4 kB / 366 MB, free: 4.004 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003332/0.2294, allocations: 35.91 kB / 366 MB, free: 3.969 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000473/0.2299, allocations: 76.84 kB / 366.1 MB, free: 3.891 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.508e-05/0.23, allocations: 8 kB / 366.1 MB, free: 3.883 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003207/0.2332, allocations: 1.792 MB / 367.9 MB, free: 1.953 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.2332, allocations: 0 / 367.9 MB, free: 1.953 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001868/0.2351, allocations: 495.9 kB / 368.4 MB, free: 1.441 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003051/0.2355, allocations: 140.6 kB / 368.5 MB, free: 1.285 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.81e-05/0.2356, allocations: 4 kB / 368.5 MB, free: 1.281 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003279/0.2359, allocations: 19.92 kB / 368.6 MB, free: 1.262 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002048/0.2361, allocations: 31.91 kB / 368.6 MB, free: 1.23 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.883e-05/0.2362, allocations: 19.98 kB / 368.6 MB, free: 1.211 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004302/0.2366, allocations: 203.1 kB / 368.8 MB, free: 1.016 MB / 302.1 MB Notification: Performance of sort global known variables: time 3e-07/0.2367, allocations: 0 / 368.8 MB, free: 1.016 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009928/0.2377, allocations: 119.7 kB / 368.9 MB, free: 0.8984 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: 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.0002682/0.2379, allocations: 119.3 kB / 369 MB, free: 0.7734 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001424/0.2394, allocations: 406.4 kB / 369.4 MB, free: 372 kB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 9.418e-06/0.2394, allocations: 0 / 369.4 MB, free: 372 kB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007515/0.2402, allocations: 288.4 kB / 369.7 MB, free: 72 kB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006981/0.2409, allocations: 56.62 kB / 369.8 MB, free: 16 kB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.278/0.5189, allocations: 0.8838 MB / 370.7 MB, free: 24.92 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005654/0.5196, allocations: 0.805 MB / 371.5 MB, free: 24.22 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001502/0.5197, allocations: 27.11 kB / 371.5 MB, free: 24.21 MB / 302.1 MB Notification: Performance of SimCode: time 2.996e-06/0.5197, allocations: 0 / 371.5 MB, free: 24.21 MB / 302.1 MB Notification: Performance of Templates: time 0.01661/0.5364, allocations: 5.926 MB / 377.4 MB, free: 23.66 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