Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.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.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_3.2.3_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_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001037/0.001037, allocations: 187 kB / 17.92 MB, free: 3.855 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.194/1.194, allocations: 205.1 MB / 223.7 MB, free: 8.48 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.0009804/0.0009804, allocations: 99.91 kB / 271.2 MB, free: 8.422 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007422/0.0007422, allocations: 47.94 kB / 327.2 MB, free: 288 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1972/0.198, allocations: 46.61 MB / 373.8 MB, free: 45.7 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.003709/0.2017, allocations: 3.441 MB / 377.3 MB, free: 43.14 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001113/0.2028, allocations: 0.8625 MB / 378.1 MB, free: 42.44 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001518/0.203, allocations: 6.906 kB / 378.1 MB, free: 42.44 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001741/0.2032, allocations: 44.06 kB / 378.2 MB, free: 42.4 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002399/0.2034, allocations: 113.5 kB / 378.3 MB, free: 42.3 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002238/0.2037, allocations: 115.9 kB / 378.4 MB, free: 42.2 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004105/0.2041, allocations: 495.8 kB / 378.9 MB, free: 41.92 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000244/0.2043, allocations: 152.3 kB / 379 MB, free: 41.82 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001796/0.2045, allocations: 173.8 kB / 379.2 MB, free: 41.73 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001976/0.2047, allocations: 199.4 kB / 379.4 MB, free: 41.59 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.307e-05/0.2048, allocations: 31.66 kB / 379.4 MB, free: 41.58 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.844e-05/0.2049, allocations: 29.69 kB / 379.5 MB, free: 41.58 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.727e-05/0.2049, allocations: 84.58 kB / 379.6 MB, free: 41.51 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001605/0.2051, allocations: 205.3 kB / 379.8 MB, free: 41.37 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003138/0.2054, allocations: 496.2 kB / 380.2 MB, free: 41 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.2054, allocations: 0 / 380.2 MB, free: 41 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.2054, allocations: 1.25 kB / 380.2 MB, free: 41 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.2054, allocations: 0 / 380.2 MB, free: 41 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.0009924/0.2064, allocations: 0.719 MB / 381 MB, free: 40.38 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.2065, allocations: 8.75 kB / 381 MB, free: 40.38 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.087e-05/0.2066, allocations: 48.66 kB / 381 MB, free: 40.36 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003047/0.2069, allocations: 338.9 kB / 381.3 MB, free: 40.04 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.362e-05/0.2069, allocations: 29.25 kB / 381.4 MB, free: 40.02 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.359e-05/0.207, allocations: 36.31 kB / 381.4 MB, free: 40.01 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005226/0.2075, allocations: 390.3 kB / 381.8 MB, free: 39.76 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/0.2075, allocations: 0 / 381.8 MB, free: 39.76 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.213e-05/0.2076, allocations: 16.28 kB / 381.8 MB, free: 39.75 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.161e-05/0.2076, allocations: 7.656 kB / 381.8 MB, free: 39.75 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004311/0.208, allocations: 256.6 kB / 382.1 MB, free: 39.63 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001552/0.2096, allocations: 1.47 MB / 383.5 MB, free: 38.37 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003551/0.2099, allocations: 242.4 kB / 383.8 MB, free: 38.23 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003049/0.2103, allocations: 172.1 kB / 383.9 MB, free: 38.15 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.492e-05/0.2103, allocations: 11.52 kB / 383.9 MB, free: 38.14 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003154/0.2106, allocations: 224 kB / 384.2 MB, free: 37.98 MB / 298.7 MB Notification: Performance of pre-optimization done (n=31): time 2.284e-06/0.2106, allocations: 3.984 kB / 384.2 MB, free: 37.97 MB / 298.7 MB Notification: Performance of matching and sorting (n=31): time 0.001302/0.2119, allocations: 0.5875 MB / 384.8 MB, free: 37.61 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.916e-05/0.212, allocations: 120.3 kB / 384.9 MB, free: 37.47 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002509/0.2122, allocations: 301.7 kB / 385.2 MB, free: 37.27 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.272e-05/0.2123, allocations: 31.89 kB / 385.2 MB, free: 37.23 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.081e-05/0.2124, allocations: 209 kB / 385.4 MB, free: 37.04 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.645e-05/0.2124, allocations: 94.36 kB / 385.5 MB, free: 36.96 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.174e-05/0.2125, allocations: 74.03 kB / 385.6 MB, free: 36.91 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.95e-05/0.2126, allocations: 341 kB / 385.9 MB, free: 36.57 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001822/0.2128, allocations: 92.77 kB / 386 MB, free: 36.53 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002192/0.213, allocations: 220.7 kB / 386.2 MB, free: 36.32 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003713/0.2134, allocations: 328.3 kB / 386.5 MB, free: 36.05 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.2134, allocations: 1.5 kB / 386.5 MB, free: 36.05 MB / 298.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006156/0.214, allocations: 415.7 kB / 386.9 MB, free: 35.83 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.2141, allocations: 6.688 kB / 386.9 MB, free: 35.83 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.2141, allocations: 4.438 kB / 386.9 MB, free: 35.83 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002682/0.2143, allocations: 87.66 kB / 387 MB, free: 35.78 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000204/0.2146, allocations: 59.09 kB / 387.1 MB, free: 35.77 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001237/0.2158, allocations: 1.797 MB / 388.9 MB, free: 33.85 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001915/0.216, allocations: 39.67 kB / 388.9 MB, free: 33.81 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.875e-05/0.216, allocations: 16 kB / 388.9 MB, free: 33.79 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 (meanVoltage.y,$PRE.meanVoltage.y,meanCurrent.y,$PRE.meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y,$PRE.rootMeanSquareVoltage.mean.y,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.0001242/0.2162, allocations: 170.7 kB / 389.1 MB, free: 33.62 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.789e-05/0.2162, allocations: 35.62 kB / 389.1 MB, free: 33.58 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.157e-05/0.2163, allocations: 43.09 kB / 389.2 MB, free: 33.54 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.624e-06/0.2163, allocations: 4 kB / 389.2 MB, free: 33.54 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/0.2163, allocations: 0 / 389.2 MB, free: 33.54 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.2163, allocations: 11.92 kB / 389.2 MB, free: 33.53 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004216/0.2167, allocations: 0.5614 MB / 389.8 MB, free: 32.91 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.2167, allocations: 0 / 389.8 MB, free: 32.91 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001498/0.2169, allocations: 31.92 kB / 389.8 MB, free: 32.88 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001802/0.2171, allocations: 84.86 kB / 389.9 MB, free: 32.79 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.094e-05/0.2171, allocations: 8 kB / 389.9 MB, free: 32.78 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001147/0.2183, allocations: 1.801 MB / 391.7 MB, free: 30.85 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.2183, allocations: 0 / 391.7 MB, free: 30.85 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003458/0.2217, allocations: 3.969 MB / 395.7 MB, free: 26.59 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.686e-05/0.2218, allocations: 132.7 kB / 395.8 MB, free: 26.44 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.733e-05/0.2219, allocations: 8 kB / 395.8 MB, free: 26.43 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001504/0.222, allocations: 15.98 kB / 395.8 MB, free: 26.41 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.246e-05/0.2221, allocations: 19.97 kB / 395.8 MB, free: 26.39 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.933e-05/0.2221, allocations: 15.98 kB / 395.8 MB, free: 26.38 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001336/0.2223, allocations: 211 kB / 396 MB, free: 26.17 MB / 298.7 MB Notification: Performance of sort global known variables: time 2e-07/0.2223, allocations: 0 / 396 MB, free: 26.17 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004829/0.2228, allocations: 147.7 kB / 396.2 MB, free: 26.03 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,rootMeanSquareVoltage.mean.y,meanCurrent.y) * 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.0001044/0.2229, allocations: 114 kB / 396.3 MB, free: 25.91 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005675/0.2235, allocations: 423.1 kB / 396.7 MB, free: 25.48 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.2235, allocations: 0 / 396.7 MB, free: 25.48 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002995/0.2238, allocations: 282.4 kB / 397 MB, free: 25.2 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002946/0.2241, allocations: 60.66 kB / 397.1 MB, free: 25.14 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001081/0.2252, allocations: 1.218 MB / 398.3 MB, free: 23.86 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001763/0.2254, allocations: 0.8229 MB / 399.1 MB, free: 23.02 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001144/0.2255, allocations: 39.14 kB / 399.1 MB, free: 22.98 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.413e-05/0.2256, allocations: 23.44 kB / 399.2 MB, free: 22.96 MB / 298.7 MB Notification: Performance of SimCode: time 2.21e-07/0.2256, allocations: 0 / 399.2 MB, free: 22.96 MB / 298.7 MB Notification: Performance of Templates: time 0.006888/0.2325, allocations: 5.107 MB / 404.3 MB, free: 17.88 MB / 298.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2Pulse/DiodeCenterTap2Pulse/DiodeCenterTap2Pulse.csv","../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches