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.002507/0.002513, allocations: 189 kB / 16.4 MB, free: 5.621 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.677/3.677, allocations: 205.4 MB / 222.5 MB, free: 13.76 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.006217/0.006217, allocations: 90.92 kB / 270.9 MB, free: 13.29 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005957/0.000596, allocations: 8 kB / 327 MB, free: 15.07 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.144/0.1446, allocations: 47.58 MB / 374.6 MB, free: 15.41 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.009601/0.1543, allocations: 2.967 MB / 377.5 MB, free: 12.42 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003537/0.1579, allocations: 0.9406 MB / 378.5 MB, free: 11.47 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000637/0.1586, allocations: 8 kB / 378.5 MB, free: 11.46 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003207/0.159, allocations: 59.47 kB / 378.5 MB, free: 11.41 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009705/0.16, allocations: 167.5 kB / 378.7 MB, free: 11.24 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007316/0.1607, allocations: 103.8 kB / 378.8 MB, free: 11.14 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001407/0.1622, allocations: 406.9 kB / 379.2 MB, free: 10.74 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005894/0.1628, allocations: 157 kB / 379.4 MB, free: 10.57 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006053/0.1634, allocations: 167.3 kB / 379.5 MB, free: 10.41 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005454/0.164, allocations: 207.1 kB / 379.7 MB, free: 10.21 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001208/0.1641, allocations: 24 kB / 379.7 MB, free: 10.18 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001436/0.1643, allocations: 24 kB / 379.8 MB, free: 10.16 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001617/0.1645, allocations: 79.67 kB / 379.8 MB, free: 10.08 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002292/0.1647, allocations: 113.5 kB / 380 MB, free: 9.965 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001/0.1658, allocations: 458.7 kB / 380.4 MB, free: 9.516 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.1658, allocations: 0 / 380.4 MB, free: 9.516 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.505e-06/0.1658, allocations: 4 kB / 380.4 MB, free: 9.512 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.899e-05/0.1659, allocations: 3.938 kB / 380.4 MB, free: 9.508 MB / 282.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.002512/0.1684, allocations: 0.6986 MB / 381.1 MB, free: 8.758 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.157e-05/0.1685, allocations: 12.03 kB / 381.1 MB, free: 8.746 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002761/0.1688, allocations: 55.34 kB / 381.2 MB, free: 8.691 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009801/0.1698, allocations: 343.1 kB / 381.5 MB, free: 8.32 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.556e-05/0.1699, allocations: 36.95 kB / 381.5 MB, free: 8.285 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001563/0.1701, allocations: 43.98 kB / 381.6 MB, free: 8.242 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001727/0.1718, allocations: 449.5 kB / 382 MB, free: 7.777 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.876e-05/0.1719, allocations: 0 / 382 MB, free: 7.777 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001071/0.172, allocations: 23.98 kB / 382 MB, free: 7.754 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.464e-05/0.1721, allocations: 8 kB / 382.1 MB, free: 7.746 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00149/0.1736, allocations: 319.8 kB / 382.4 MB, free: 7.438 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005646/0.1793, allocations: 1.852 MB / 384.2 MB, free: 5.484 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001771/0.1811, allocations: 0.6055 MB / 384.8 MB, free: 4.816 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.64e-05/0.1812, allocations: 4.328 kB / 384.8 MB, free: 4.812 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001049/0.1823, allocations: 273.2 kB / 385.1 MB, free: 4.527 MB / 282.7 MB Notification: Performance of pre-optimization done (n=43): time 5.059e-06/0.1823, allocations: 3.938 kB / 385.1 MB, free: 4.523 MB / 282.7 MB Notification: Performance of matching and sorting (n=43): time 0.005451/0.1878, allocations: 0.8432 MB / 385.9 MB, free: 3.652 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001183/0.188, allocations: 89.05 kB / 386 MB, free: 3.547 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007917/0.1888, allocations: 308.5 kB / 386.3 MB, free: 3.242 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001454/0.189, allocations: 45.69 kB / 386.4 MB, free: 3.191 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003055/0.1893, allocations: 258.8 kB / 386.6 MB, free: 2.938 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003179/0.1896, allocations: 138 kB / 386.8 MB, free: 2.801 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.655e-05/0.1897, allocations: 15.88 kB / 386.8 MB, free: 2.785 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002252/0.1899, allocations: 330.8 kB / 387.1 MB, free: 2.453 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006145/0.1906, allocations: 121.1 kB / 387.2 MB, free: 2.336 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000814/0.1914, allocations: 249 kB / 387.5 MB, free: 2.035 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006782/0.1921, allocations: 147.5 kB / 387.6 MB, free: 1.891 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.29e-05/0.1922, allocations: 3.953 kB / 387.6 MB, free: 1.887 MB / 282.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.002209/0.1944, allocations: 0.4903 MB / 388.1 MB, free: 1.387 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.261e-05/0.1945, allocations: 4 kB / 388.1 MB, free: 1.383 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.027e-05/0.1945, allocations: 7.938 kB / 388.1 MB, free: 1.375 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001071/0.1956, allocations: 152.7 kB / 388.3 MB, free: 1.223 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006535/0.1963, allocations: 67.94 kB / 388.3 MB, free: 1.156 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4059/0.6022, allocations: 2.322 MB / 390.7 MB, free: 19.1 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007375/0.603, allocations: 46.39 kB / 390.7 MB, free: 19.1 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.349e-05/0.6032, allocations: 19.39 kB / 390.7 MB, free: 19.1 MB / 282.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.0005599/0.6037, allocations: 172 kB / 390.9 MB, free: 18.99 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001644/0.6039, allocations: 41.78 kB / 390.9 MB, free: 18.99 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002179/0.6042, allocations: 47.11 kB / 391 MB, free: 18.98 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-05/0.6042, allocations: 6.969 kB / 391 MB, free: 18.98 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.325e-06/0.6042, allocations: 2.531 kB / 391 MB, free: 18.98 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.492e-05/0.6042, allocations: 2.062 kB / 391 MB, free: 18.98 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003654/0.6079, allocations: 1.013 MB / 392 MB, free: 18.67 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.125e-05/0.608, allocations: 1.922 kB / 392 MB, free: 18.67 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00048/0.6085, allocations: 38.73 kB / 392 MB, free: 18.67 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00096/0.6095, allocations: 144.9 kB / 392.2 MB, free: 18.66 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.346e-05/0.6096, allocations: 12.16 kB / 392.2 MB, free: 18.66 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006163/0.6158, allocations: 2.334 MB / 394.5 MB, free: 16.91 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.825e-06/0.6159, allocations: 2.625 kB / 394.5 MB, free: 16.91 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002877/0.6188, allocations: 0.7083 MB / 395.2 MB, free: 16.52 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004552/0.6193, allocations: 155 kB / 395.4 MB, free: 16.38 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001313/0.6195, allocations: 7.344 kB / 395.4 MB, free: 16.38 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005523/0.62, allocations: 19.2 kB / 395.4 MB, free: 16.37 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002558/0.6203, allocations: 36.44 kB / 395.4 MB, free: 16.37 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.611e-05/0.6204, allocations: 17.61 kB / 395.5 MB, free: 16.36 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0005434/0.621, allocations: 214.8 kB / 395.7 MB, free: 16.25 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.621, allocations: 5.078 kB / 395.7 MB, free: 16.25 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001636/0.6226, allocations: 142.8 kB / 395.8 MB, free: 16.21 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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.0003399/0.6231, allocations: 110.4 kB / 395.9 MB, free: 16.12 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002346/0.6254, allocations: 0.5414 MB / 396.5 MB, free: 15.84 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.455e-05/0.6256, allocations: 1.062 kB / 396.5 MB, free: 15.84 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001441/0.627, allocations: 379.7 kB / 396.8 MB, free: 15.62 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009862/0.6281, allocations: 82.34 kB / 396.9 MB, free: 15.6 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004053/0.6321, allocations: 1.045 MB / 398 MB, free: 14.96 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007098/0.6329, allocations: 0.837 MB / 398.8 MB, free: 14.26 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002685/0.6332, allocations: 29.03 kB / 398.8 MB, free: 14.25 MB / 282.7 MB Notification: Performance of SimCode: time 1.693e-06/0.6333, allocations: 0 / 398.8 MB, free: 14.25 MB / 282.7 MB Notification: Performance of Templates: time 0.02652/0.6598, allocations: 6.659 MB / 405.5 MB, free: 12.43 MB / 282.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/jenkins1/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