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.00221/0.00221, allocations: 181.4 kB / 13.66 MB, free: 1.664 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.96/1.96, allocations: 205.2 MB / 219.4 MB, free: 14.2 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.001043/0.001043, allocations: 78.66 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.942e-05/2.965e-05, allocations: 0 / 321.5 MB, free: 17.82 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1193, allocations: 47.59 MB / 369.1 MB, free: 2.164 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4608/0.5802, allocations: 80.72 MB / 449.8 MB, free: 12.44 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003243/0.5806, allocations: 89.98 kB / 449.9 MB, free: 12.39 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03089/0.6115, allocations: 7.102 MB / 457 MB, free: 6.371 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.6116, allocations: 4 kB / 457 MB, free: 6.367 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.761e-05/0.6116, allocations: 11.19 kB / 457 MB, free: 6.359 MB / 330.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.001571/0.6132, allocations: 0.653 MB / 457.7 MB, free: 5.691 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.161e-05/0.6132, allocations: 12.03 kB / 457.7 MB, free: 5.68 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001727/0.6134, allocations: 51.44 kB / 457.8 MB, free: 5.629 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007746/0.6142, allocations: 354.1 kB / 458.1 MB, free: 5.285 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.849e-05/0.6143, allocations: 35.61 kB / 458.1 MB, free: 5.266 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001037/0.6144, allocations: 42.69 kB / 458.2 MB, free: 5.238 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001063/0.6155, allocations: 434.2 kB / 458.6 MB, free: 4.918 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.322e-05/0.6155, allocations: 0 / 458.6 MB, free: 4.918 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.551e-05/0.6156, allocations: 18.19 kB / 458.6 MB, free: 4.914 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.867e-05/0.6156, allocations: 12 kB / 458.6 MB, free: 4.902 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008444/0.6165, allocations: 300.8 kB / 458.9 MB, free: 4.707 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003794/0.6203, allocations: 1.848 MB / 460.8 MB, free: 3.109 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001101/0.6214, allocations: 0.5927 MB / 461.4 MB, free: 2.594 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009348/0.6224, allocations: 289.7 kB / 461.6 MB, free: 2.309 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.604e-05/0.6225, allocations: 4.328 kB / 461.7 MB, free: 2.305 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006561/0.6232, allocations: 261.2 kB / 461.9 MB, free: 2.031 MB / 330.7 MB Notification: Performance of pre-optimization done (n=43): time 3.056e-06/0.6232, allocations: 0 / 461.9 MB, free: 2.031 MB / 330.7 MB Notification: Performance of matching and sorting (n=43): time 0.001483/0.6247, allocations: 445.7 kB / 462.3 MB, free: 1.586 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.85e-05/0.6248, allocations: 85.11 kB / 462.4 MB, free: 1.484 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004852/0.6253, allocations: 274.7 kB / 462.7 MB, free: 1.215 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.226e-05/0.6254, allocations: 33.7 kB / 462.7 MB, free: 1.176 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002214/0.6256, allocations: 266.8 kB / 463 MB, free: 0.9141 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001612/0.6258, allocations: 134.1 kB / 463.1 MB, free: 0.7812 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.579e-05/0.6258, allocations: 12 kB / 463.1 MB, free: 0.7695 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001749/0.626, allocations: 330.8 kB / 463.5 MB, free: 448 kB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000351/0.6264, allocations: 109.1 kB / 463.6 MB, free: 340 kB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004773/0.6268, allocations: 243.9 kB / 463.8 MB, free: 40 kB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004151/0.6273, allocations: 132.3 kB / 463.9 MB, free: 15.91 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.235e-05/0.6273, allocations: 0 / 463.9 MB, free: 15.91 MB / 346.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001297/0.6286, allocations: 473.5 kB / 464.4 MB, free: 15.44 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.943e-05/0.6287, allocations: 15.89 kB / 464.4 MB, free: 15.42 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.266e-05/0.6287, allocations: 4 kB / 464.4 MB, free: 15.42 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007458/0.6294, allocations: 145.2 kB / 464.6 MB, free: 15.27 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004481/0.6299, allocations: 63.91 kB / 464.6 MB, free: 15.21 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004182/0.6341, allocations: 2.299 MB / 466.9 MB, free: 12.78 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004902/0.6346, allocations: 39.69 kB / 467 MB, free: 12.74 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.517e-05/0.6347, allocations: 20.03 kB / 467 MB, free: 12.72 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 38 * 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.0001875/0.6349, allocations: 128.9 kB / 467.1 MB, free: 12.59 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.704e-05/0.635, allocations: 39.67 kB / 467.1 MB, free: 12.55 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001468/0.6352, allocations: 56.06 kB / 467.2 MB, free: 12.49 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.154e-06/0.6352, allocations: 4 kB / 467.2 MB, free: 12.48 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.6352, allocations: 0 / 467.2 MB, free: 12.48 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.001e-05/0.6352, allocations: 3.984 kB / 467.2 MB, free: 12.48 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002202/0.6374, allocations: 1.004 MB / 468.2 MB, free: 11.41 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.6375, allocations: 4.031 kB / 468.2 MB, free: 11.41 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003252/0.6378, allocations: 35.98 kB / 468.2 MB, free: 11.38 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006629/0.6385, allocations: 136.8 kB / 468.4 MB, free: 11.24 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.192e-05/0.6386, allocations: 11.95 kB / 468.4 MB, free: 11.23 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004014/0.6426, allocations: 2.296 MB / 470.7 MB, free: 8.805 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.6426, allocations: 3.938 kB / 470.7 MB, free: 8.801 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001723/0.6444, allocations: 0.6978 MB / 471.4 MB, free: 8.07 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002551/0.6447, allocations: 148.6 kB / 471.5 MB, free: 7.906 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.236e-05/0.6448, allocations: 11.98 kB / 471.5 MB, free: 7.895 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003787/0.6451, allocations: 16 kB / 471.6 MB, free: 7.879 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001525/0.6453, allocations: 43.83 kB / 471.6 MB, free: 7.836 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.086e-05/0.6454, allocations: 12 kB / 471.6 MB, free: 7.824 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003485/0.6457, allocations: 218.2 kB / 471.8 MB, free: 7.617 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.6457, allocations: 4 kB / 471.8 MB, free: 7.613 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008303/0.6466, allocations: 143.7 kB / 472 MB, free: 7.473 MB / 346.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) * 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.0002322/0.6468, allocations: 123.4 kB / 472.1 MB, free: 7.344 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00136/0.6482, allocations: 0.5213 MB / 472.6 MB, free: 6.809 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.6482, allocations: 0 / 472.6 MB, free: 6.809 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008175/0.6491, allocations: 363 kB / 473 MB, free: 6.441 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006373/0.6497, allocations: 71.31 kB / 473 MB, free: 6.371 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002133/0.6519, allocations: 0.6305 MB / 473.7 MB, free: 5.707 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005173/0.6524, allocations: 0.8399 MB / 474.5 MB, free: 4.84 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001411/0.6526, allocations: 27.44 kB / 474.5 MB, free: 4.812 MB / 346.7 MB Notification: Performance of SimCode: time 1.383e-06/0.6526, allocations: 0 / 474.5 MB, free: 4.812 MB / 346.7 MB Notification: Performance of Templates: time 0.01507/0.6677, allocations: 6.671 MB / 481.2 MB, free: 14.13 MB / 362.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