Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00109/0.00109, allocations: 84.73 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001112/0.001112, allocations: 160.2 kB / 24.91 MB, free: 8.754 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9476/0.9476, allocations: 177 MB / 205.2 MB, free: 5 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 273.4 MB, free: 0.9883 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.335e-05/2.52e-05, allocations: 9.266 kB / 273.5 MB, free: 0.9805 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.004393/0.004418, allocations: 4.697 MB / 278.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00245/0.006868, allocations: 1.401 MB / 279.5 MB, free: 10.84 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003576/0.007226, allocations: 35.75 kB / 279.6 MB, free: 10.81 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005285/0.007754, allocations: 226.3 kB / 279.8 MB, free: 10.59 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006734/0.008428, allocations: 377.5 kB / 280.2 MB, free: 10.21 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003691/0.008797, allocations: 231.5 kB / 280.4 MB, free: 9.988 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001254/0.01005, allocations: 1.615 MB / 282 MB, free: 8.367 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000609/0.01066, allocations: 0.5672 MB / 282.6 MB, free: 7.762 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001048/0.01171, allocations: 0.9824 MB / 283.6 MB, free: 6.777 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008831/0.01259, allocations: 0.7366 MB / 284.3 MB, free: 6.039 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002182/0.01281, allocations: 171.9 kB / 284.5 MB, free: 5.871 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002927/0.0131, allocations: 168 kB / 284.6 MB, free: 5.707 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002882/0.01339, allocations: 466.7 kB / 285.1 MB, free: 5.25 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004338/0.01382, allocations: 0.5067 MB / 285.6 MB, free: 4.742 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009665/0.01479, allocations: 1.223 MB / 286.8 MB, free: 3.516 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.0148, allocations: 4 kB / 286.8 MB, free: 3.512 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.0148, allocations: 0 / 286.8 MB, free: 3.512 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.957e-05/0.01483, allocations: 0 / 286.8 MB, free: 3.512 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.001807/0.01663, allocations: 1.498 MB / 288.3 MB, free: 1.98 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.38e-05/0.01667, allocations: 15.98 kB / 288.3 MB, free: 1.965 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003492/0.01702, allocations: 200.8 kB / 288.5 MB, free: 1.77 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007511/0.01777, allocations: 0.599 MB / 289.1 MB, free: 1.145 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.386e-05/0.01781, allocations: 74.38 kB / 289.2 MB, free: 1.07 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001065/0.01792, allocations: 104.3 kB / 289.3 MB, free: 0.9688 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000892/0.01881, allocations: 0.8136 MB / 290.1 MB, free: 112 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.54e-05/0.01884, allocations: 19.86 kB / 290.1 MB, free: 92 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.371e-05/0.0189, allocations: 43.98 kB / 290.2 MB, free: 48 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-05/0.01894, allocations: 38 kB / 290.2 MB, free: 8 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.113/0.132, allocations: 249.1 kB / 290.5 MB, free: 25.43 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002958/0.1349, allocations: 2.534 MB / 293 MB, free: 24.53 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005737/0.1355, allocations: 498.3 kB / 293.5 MB, free: 24.49 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004086/0.1359, allocations: 307.2 kB / 293.8 MB, free: 24.48 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.553e-05/0.1359, allocations: 19.05 kB / 293.8 MB, free: 24.48 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003613/0.1363, allocations: 355.2 kB / 294.1 MB, free: 24.34 MB / 266.7 MB Notification: Performance of pre-optimization done (n=75): time 2.254e-06/0.1363, allocations: 1.062 kB / 294.1 MB, free: 24.34 MB / 266.7 MB Notification: Performance of matching and sorting (n=75): time 0.002943/0.1392, allocations: 1.282 MB / 295.4 MB, free: 24.21 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.301e-05/0.1393, allocations: 117.7 kB / 295.5 MB, free: 24.09 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000446/0.1397, allocations: 0.5485 MB / 296.1 MB, free: 23.96 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.82e-05/0.1398, allocations: 41.73 kB / 296.1 MB, free: 23.93 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000179/0.1399, allocations: 408.6 kB / 296.5 MB, free: 23.71 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001091/0.14, allocations: 247.3 kB / 296.8 MB, free: 23.55 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001445/0.1402, allocations: 130 kB / 296.9 MB, free: 23.54 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.171e-05/0.1403, allocations: 400.7 kB / 297.3 MB, free: 23.22 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001195/0.1404, allocations: 73.28 kB / 297.4 MB, free: 23.21 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001924/0.1406, allocations: 283.2 kB / 297.6 MB, free: 22.99 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003712/0.141, allocations: 360.2 kB / 298 MB, free: 22.83 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.141, allocations: 1.094 kB / 298 MB, free: 22.83 MB / 266.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0006107/0.1416, allocations: 465.9 kB / 298.4 MB, free: 22.77 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.1416, allocations: 10.47 kB / 298.5 MB, free: 22.77 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.1416, allocations: 3.719 kB / 298.5 MB, free: 22.77 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004567/0.1421, allocations: 204 kB / 298.7 MB, free: 22.75 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002306/0.1423, allocations: 96.16 kB / 298.8 MB, free: 22.75 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002568/0.1449, allocations: 2.782 MB / 301.5 MB, free: 21.2 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002808/0.1451, allocations: 63.59 kB / 301.6 MB, free: 21.16 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.124e-05/0.1452, allocations: 19.12 kB / 301.6 MB, free: 21.16 MB / 266.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: 15 (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.idealDiode[3].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 54 * 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 {(6,30)} Notification: Performance of prepare postOptimizeDAE: time 0.0002467/0.1454, allocations: 164.6 kB / 301.8 MB, free: 21.02 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.241e-05/0.1455, allocations: 76.19 kB / 301.9 MB, free: 21.01 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.674e-05/0.1456, allocations: 104.9 kB / 302 MB, free: 20.93 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.1456, allocations: 10.81 kB / 302 MB, free: 20.92 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.1456, allocations: 1.375 kB / 302 MB, free: 20.92 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.1456, allocations: 4.125 kB / 302 MB, free: 20.92 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001428/0.1471, allocations: 1.057 MB / 303 MB, free: 20.57 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.1471, allocations: 0 / 303 MB, free: 20.57 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001721/0.1472, allocations: 62.64 kB / 303.1 MB, free: 20.56 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004534/0.1477, allocations: 199.6 kB / 303.3 MB, free: 20.52 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.64e-05/0.1477, allocations: 18.09 kB / 303.3 MB, free: 20.51 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002514/0.1502, allocations: 2.789 MB / 306.1 MB, free: 18.65 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.1502, allocations: 3.938 kB / 306.1 MB, free: 18.65 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007792/0.151, allocations: 0.6237 MB / 306.7 MB, free: 18.4 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001932/0.1512, allocations: 125.2 kB / 306.8 MB, free: 18.32 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.738e-05/0.1513, allocations: 15.72 kB / 306.9 MB, free: 18.31 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001632/0.1514, allocations: 23.52 kB / 306.9 MB, free: 18.29 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001463/0.1516, allocations: 68.98 kB / 306.9 MB, free: 18.25 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.797e-05/0.1516, allocations: 13.28 kB / 307 MB, free: 18.24 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002225/0.1518, allocations: 277.8 kB / 307.2 MB, free: 18.15 MB / 266.7 MB Notification: Performance of sort global known variables: time 2e-08/0.1518, allocations: 0 / 307.2 MB, free: 18.15 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006626/0.1525, allocations: 346.9 kB / 307.6 MB, free: 18.07 MB / 266.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: 12 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * 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 (40): * Single equations (assignments): 36 * 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 {(6,30)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001373/0.1526, allocations: 113.7 kB / 307.7 MB, free: 17.98 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.00072/0.1534, allocations: 0.6559 MB / 308.3 MB, free: 17.51 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 9.558e-06/0.1534, allocations: 8 kB / 308.3 MB, free: 17.5 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000403/0.1538, allocations: 0.517 MB / 308.9 MB, free: 16.98 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005527/0.1543, allocations: 271 kB / 309.1 MB, free: 16.74 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002318/0.1566, allocations: 1.955 MB / 311.1 MB, free: 14.77 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002026/0.1568, allocations: 316.1 kB / 311.4 MB, free: 14.44 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001996/0.157, allocations: 88.47 kB / 311.5 MB, free: 14.35 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003313/0.1574, allocations: 257.1 kB / 311.7 MB, free: 14.1 MB / 266.7 MB Notification: Performance of SimCode: time 1.784e-06/0.1574, allocations: 0 / 311.7 MB, free: 14.1 MB / 266.7 MB Notification: Performance of Templates: time 0.01976/0.1771, allocations: 19.62 MB / 331.4 MB, free: 10.83 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2mPulse/DiodeBridge2mPulse/DiodeBridge2mPulse.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.955159064847976]