Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.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.RectifierBridge2Pulse.DiodeBridge2Pulse,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_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,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_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00192/0.001921, allocations: 179.2 kB / 16.41 MB, free: 5.707 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.816/1.816, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.0007329/0.0007329, allocations: 91.08 kB / 270.9 MB, free: 8.352 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00027/0.0002701, allocations: 8 kB / 327 MB, free: 184 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1859/0.1862, allocations: 47.58 MB / 374.6 MB, free: 45.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.002794/0.189, allocations: 3.14 MB / 377.7 MB, free: 42.96 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001059/0.1901, allocations: 0.9153 MB / 378.6 MB, free: 42.21 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001628/0.1903, allocations: 6.75 kB / 378.6 MB, free: 42.21 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001498/0.1904, allocations: 62.72 kB / 378.7 MB, free: 42.16 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002279/0.1907, allocations: 118.1 kB / 378.8 MB, free: 42.06 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002163/0.1909, allocations: 108.9 kB / 378.9 MB, free: 41.97 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004068/0.1913, allocations: 0.5482 MB / 379.5 MB, free: 41.63 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002539/0.1916, allocations: 158 kB / 379.6 MB, free: 41.53 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001843/0.1918, allocations: 176.5 kB / 379.8 MB, free: 41.44 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002263/0.192, allocations: 200.2 kB / 380 MB, free: 41.3 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.854e-05/0.1921, allocations: 23.31 kB / 380 MB, free: 41.3 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.904e-05/0.1921, allocations: 23.31 kB / 380 MB, free: 41.3 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.038e-05/0.1922, allocations: 78 kB / 380.1 MB, free: 41.24 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.982e-05/0.1923, allocations: 121.3 kB / 380.2 MB, free: 41.16 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003041/0.1926, allocations: 467.2 kB / 380.7 MB, free: 40.81 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.1926, allocations: 0 / 380.7 MB, free: 40.81 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.1926, allocations: 1.125 kB / 380.7 MB, free: 40.81 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.044e-06/0.1926, allocations: 0 / 380.7 MB, free: 40.81 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.0009719/0.1936, allocations: 0.6925 MB / 381.4 MB, free: 40.21 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.281e-05/0.1937, allocations: 9.188 kB / 381.4 MB, free: 40.21 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.612e-05/0.1937, allocations: 54.78 kB / 381.4 MB, free: 40.19 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003315/0.1941, allocations: 343.2 kB / 381.8 MB, free: 39.87 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.904e-05/0.1941, allocations: 37.95 kB / 381.8 MB, free: 39.85 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.236e-05/0.1942, allocations: 51.41 kB / 381.9 MB, free: 39.83 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006591/0.1949, allocations: 452.8 kB / 382.3 MB, free: 39.53 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.623e-05/0.1949, allocations: 1.438 kB / 382.3 MB, free: 39.53 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.922e-05/0.1949, allocations: 20.67 kB / 382.3 MB, free: 39.51 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.177e-05/0.1949, allocations: 8.719 kB / 382.3 MB, free: 39.51 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005599/0.1955, allocations: 324.4 kB / 382.6 MB, free: 39.36 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001884/0.1974, allocations: 1.844 MB / 384.5 MB, free: 37.8 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006362/0.1981, allocations: 0.6204 MB / 385.1 MB, free: 37.29 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005183/0.1986, allocations: 270.2 kB / 385.4 MB, free: 37.17 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.881e-05/0.1986, allocations: 4.766 kB / 385.4 MB, free: 37.17 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004043/0.199, allocations: 277.4 kB / 385.6 MB, free: 36.98 MB / 298.7 MB Notification: Performance of pre-optimization done (n=43): time 1.884e-06/0.199, allocations: 0.875 kB / 385.6 MB, free: 36.98 MB / 298.7 MB Notification: Performance of matching and sorting (n=43): time 0.002149/0.2012, allocations: 0.8351 MB / 386.5 MB, free: 36.49 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.884e-05/0.2013, allocations: 90.61 kB / 386.6 MB, free: 36.39 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002851/0.2015, allocations: 315.8 kB / 386.9 MB, free: 36.16 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.645e-05/0.2016, allocations: 37.7 kB / 386.9 MB, free: 36.12 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.078e-05/0.2017, allocations: 212.4 kB / 387.1 MB, free: 35.91 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.707e-05/0.2018, allocations: 134.1 kB / 387.3 MB, free: 35.77 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.761e-05/0.2018, allocations: 12 kB / 387.3 MB, free: 35.76 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.406e-05/0.2018, allocations: 342.8 kB / 387.6 MB, free: 35.42 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001965/0.202, allocations: 121.1 kB / 387.7 MB, free: 35.3 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002337/0.2023, allocations: 248.9 kB / 388 MB, free: 35 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002237/0.2025, allocations: 156.1 kB / 388.1 MB, free: 34.85 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.2025, allocations: 0 / 388.1 MB, free: 34.85 MB / 298.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0006923/0.2032, allocations: 0.5056 MB / 388.6 MB, free: 34.33 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.2032, allocations: 4 kB / 388.6 MB, free: 34.33 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.2033, allocations: 4 kB / 388.6 MB, free: 34.32 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004083/0.2037, allocations: 156.8 kB / 388.8 MB, free: 34.17 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002097/0.2039, allocations: 63.91 kB / 388.8 MB, free: 34.11 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001999/0.2059, allocations: 2.308 MB / 391.2 MB, free: 31.67 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002286/0.2061, allocations: 47.62 kB / 391.2 MB, free: 31.62 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.389e-05/0.2062, allocations: 16 kB / 391.2 MB, free: 31.61 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,rectifier.diode_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 39 * 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 {4 14} Notification: Performance of prepare postOptimizeDAE: time 0.0001586/0.2063, allocations: 183.3 kB / 391.4 MB, free: 31.42 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.433e-05/0.2064, allocations: 39.53 kB / 391.4 MB, free: 31.38 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.679e-05/0.2065, allocations: 44.3 kB / 391.5 MB, free: 31.34 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.2065, allocations: 12 kB / 391.5 MB, free: 31.32 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.656e-06/0.2065, allocations: 11.83 kB / 391.5 MB, free: 31.31 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.2065, allocations: 0 / 391.5 MB, free: 31.31 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001142/0.2076, allocations: 1.024 MB / 392.5 MB, free: 30.23 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.2077, allocations: 0 / 392.5 MB, free: 30.23 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001545/0.2078, allocations: 35.97 kB / 392.6 MB, free: 30.19 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003255/0.2081, allocations: 144.7 kB / 392.7 MB, free: 30.05 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.367e-05/0.2082, allocations: 12 kB / 392.7 MB, free: 30.04 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001847/0.21, allocations: 2.303 MB / 395 MB, free: 27.6 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.2101, allocations: 3.953 kB / 395 MB, free: 27.59 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008549/0.2109, allocations: 0.7081 MB / 395.7 MB, free: 26.86 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000106/0.211, allocations: 156.5 kB / 395.9 MB, free: 26.69 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.683e-05/0.2111, allocations: 15.95 kB / 395.9 MB, free: 26.67 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002029/0.2113, allocations: 15.98 kB / 395.9 MB, free: 26.66 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.17e-05/0.2114, allocations: 35.95 kB / 395.9 MB, free: 26.62 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.165e-05/0.2114, allocations: 15.98 kB / 396 MB, free: 26.61 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001718/0.2116, allocations: 215.1 kB / 396.2 MB, free: 26.39 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2116, allocations: 0 / 396.2 MB, free: 26.39 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004523/0.212, allocations: 143.7 kB / 396.3 MB, free: 26.25 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: 10 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y) * 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 (26): * Single equations (assignments): 22 * 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 {4 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001014/0.2121, allocations: 112 kB / 396.4 MB, free: 26.14 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000726/0.2129, allocations: 0.5464 MB / 397 MB, free: 25.58 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.2129, allocations: 0 / 397 MB, free: 25.58 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004147/0.2133, allocations: 378.4 kB / 397.3 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.0004226/0.2138, allocations: 83.86 kB / 397.4 MB, free: 25.12 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00122/0.215, allocations: 1.046 MB / 398.5 MB, free: 24.04 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001888/0.2152, allocations: 0.8318 MB / 399.3 MB, free: 23.18 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.467e-05/0.2153, allocations: 27.44 kB / 399.3 MB, free: 23.16 MB / 298.7 MB Notification: Performance of SimCode: time 2.31e-07/0.2153, allocations: 0 / 399.3 MB, free: 23.16 MB / 298.7 MB Notification: Performance of Templates: time 0.006482/0.2217, allocations: 6.883 MB / 406.2 MB, free: 16.29 MB / 298.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/DiodeBridge2Pulse/DiodeBridge2Pulse.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches