Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001204/0.001204, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002054/0.003257, allocations: 453.8 kB / 10.46 MB, free: 236 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001348/0.001348, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0015/0.002848, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.062/1.062, allocations: 158.6 MB / 171.2 MB, free: 2.508 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1929/1.255, allocations: 49.5 MB / 220.7 MB, free: 1.359 MB / 218.7 MB " [Timeout remaining time 179] 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 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,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_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,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_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 222 MB, free: 56 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.881e-05/2.065e-05, allocations: 10.11 kB / 222 MB, free: 48 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.0036/0.00362, allocations: 3.656 MB / 225.7 MB, free: 12.36 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001514/0.005135, allocations: 0.9822 MB / 226.6 MB, free: 11.37 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000211/0.005346, allocations: 11.94 kB / 226.7 MB, free: 11.36 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001641/0.00551, allocations: 75.17 kB / 226.7 MB, free: 11.29 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002294/0.005739, allocations: 154.6 kB / 226.9 MB, free: 11.13 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003076/0.006047, allocations: 171.7 kB / 227 MB, free: 10.96 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005085/0.006555, allocations: 0.6183 MB / 227.7 MB, free: 10.34 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002703/0.006826, allocations: 144.5 kB / 227.8 MB, free: 10.2 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000426/0.007252, allocations: 393.2 kB / 228.2 MB, free: 9.812 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002884/0.00754, allocations: 191.5 kB / 228.4 MB, free: 9.625 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 6.89e-05/0.007609, allocations: 52 kB / 228.4 MB, free: 9.574 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.553e-05/0.007674, allocations: 56 kB / 228.5 MB, free: 9.52 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 7.449e-05/0.007749, allocations: 87.69 kB / 228.6 MB, free: 9.434 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001231/0.007872, allocations: 155.7 kB / 228.7 MB, free: 9.281 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000735/0.008607, allocations: 362.7 kB / 229.1 MB, free: 8.926 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.162e-05/0.008619, allocations: 0 / 229.1 MB, free: 8.926 MB / 234.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.008619, allocations: 0 / 229.1 MB, free: 8.926 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.237e-05/0.008632, allocations: 0 / 229.1 MB, free: 8.926 MB / 234.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.001009/0.00964, allocations: 0.7968 MB / 229.9 MB, free: 8.105 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.009683, allocations: 8.031 kB / 229.9 MB, free: 8.098 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001013/0.009785, allocations: 68.88 kB / 229.9 MB, free: 8.031 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003322/0.01012, allocations: 241.6 kB / 230.2 MB, free: 7.77 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.811e-05/0.01015, allocations: 33.38 kB / 230.2 MB, free: 7.738 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.809e-05/0.0102, allocations: 48.36 kB / 230.3 MB, free: 7.691 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004108/0.01061, allocations: 364.4 kB / 230.6 MB, free: 7.297 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.661e-05/0.01063, allocations: 4.188 kB / 230.6 MB, free: 7.293 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.716e-05/0.01066, allocations: 19.94 kB / 230.6 MB, free: 7.273 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.357e-05/0.01067, allocations: 12 kB / 230.7 MB, free: 7.262 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001561/0.01083, allocations: 122.8 kB / 230.8 MB, free: 7.145 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00127/0.0121, allocations: 1.311 MB / 232.1 MB, free: 5.762 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003448/0.01244, allocations: 251.2 kB / 232.3 MB, free: 5.508 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002385/0.01268, allocations: 177.4 kB / 232.5 MB, free: 5.332 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.015e-05/0.01272, allocations: 12.31 kB / 232.5 MB, free: 5.32 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002381/0.01296, allocations: 210.9 kB / 232.7 MB, free: 5.09 MB / 234.7 MB Notification: Performance of pre-optimization done (n=43): time 1.132e-06/0.01296, allocations: 4 kB / 232.7 MB, free: 5.086 MB / 234.7 MB Notification: Performance of matching and sorting (n=43): time 0.0009877/0.01395, allocations: 0.5133 MB / 233.2 MB, free: 4.562 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.588e-05/0.01399, allocations: 59.41 kB / 233.3 MB, free: 4.492 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001765/0.01417, allocations: 270.9 kB / 233.6 MB, free: 4.211 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.559e-05/0.0142, allocations: 37.7 kB / 233.6 MB, free: 4.168 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.353e-05/0.01429, allocations: 197.2 kB / 233.8 MB, free: 3.973 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.738e-05/0.01437, allocations: 142.8 kB / 233.9 MB, free: 3.832 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.559e-05/0.01445, allocations: 90.03 kB / 234 MB, free: 3.738 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001006/0.01455, allocations: 346.7 kB / 234.4 MB, free: 3.391 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.467e-05/0.01461, allocations: 40.98 kB / 234.4 MB, free: 3.348 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001412/0.01475, allocations: 209.9 kB / 234.6 MB, free: 3.082 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002205/0.01497, allocations: 253.8 kB / 234.8 MB, free: 2.781 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.01497, allocations: 8 kB / 234.9 MB, free: 2.773 MB / 234.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0003288/0.0153, allocations: 293.6 kB / 235.1 MB, free: 2.477 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.01532, allocations: 8.453 kB / 235.1 MB, free: 2.469 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.01533, allocations: 8 kB / 235.2 MB, free: 2.461 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002566/0.01558, allocations: 99.78 kB / 235.3 MB, free: 2.363 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001629/0.01575, allocations: 79.89 kB / 235.3 MB, free: 2.285 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001839/0.01759, allocations: 1.852 MB / 237.2 MB, free: 360 kB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001329/0.01772, allocations: 39.78 kB / 237.2 MB, free: 320 kB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.556e-05/0.01774, allocations: 12 kB / 237.2 MB, free: 308 kB / 234.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 (meanVoltage.y,$PRE.meanVoltage.y,meanCurrent.y,$PRE.meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y,$PRE.rootMeanSquareVoltage.mean.y,rectifier.diode_n2.off,rectifier.diode_n1.off,rectifier.diode_p2.off,rectifier.diode_p1.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 (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 {(4,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0001163/0.01785, allocations: 148.5 kB / 237.4 MB, free: 148 kB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.987e-05/0.01789, allocations: 47.84 kB / 237.4 MB, free: 100 kB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.545e-05/0.01794, allocations: 43.48 kB / 237.5 MB, free: 56 kB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.01794, allocations: 4 kB / 237.5 MB, free: 52 kB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.01794, allocations: 0 / 237.5 MB, free: 52 kB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.01795, allocations: 3.984 kB / 237.5 MB, free: 48 kB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005757/0.01853, allocations: 0.5404 MB / 238 MB, free: 15.48 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.01853, allocations: 4.031 kB / 238 MB, free: 15.47 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001026/0.01863, allocations: 39.92 kB / 238.1 MB, free: 15.43 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.838e-05/0.01871, allocations: 47.69 kB / 238.1 MB, free: 15.39 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001901/0.0189, allocations: 92.77 kB / 238.2 MB, free: 15.29 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.69e-05/0.01892, allocations: 4 kB / 238.2 MB, free: 15.29 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001238/0.02015, allocations: 1.835 MB / 240 MB, free: 13.38 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.542e-06/0.02016, allocations: 0 / 240 MB, free: 13.38 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003832/0.02054, allocations: 408.5 kB / 240.4 MB, free: 12.96 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.19e-05/0.02057, allocations: 19.98 kB / 240.5 MB, free: 12.94 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.83e-05/0.02067, allocations: 12 kB / 240.5 MB, free: 12.93 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.965e-05/0.02075, allocations: 43.86 kB / 240.5 MB, free: 12.88 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.33e-05/0.02076, allocations: 4 kB / 240.5 MB, free: 12.88 MB / 250.7 MB Notification: Performance of sorting global known variables: time 8.143e-05/0.02084, allocations: 108.5 kB / 240.6 MB, free: 12.77 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02084, allocations: 0 / 240.6 MB, free: 12.77 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003527/0.0212, allocations: 151.7 kB / 240.8 MB, free: 12.62 MB / 250.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 (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 {(4,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001208/0.02132, allocations: 100.3 kB / 240.9 MB, free: 12.52 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0004701/0.02179, allocations: 416 kB / 241.3 MB, free: 12.1 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-05/0.0218, allocations: 8 kB / 241.3 MB, free: 12.09 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002736/0.02208, allocations: 338.9 kB / 241.6 MB, free: 11.74 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000507/0.02258, allocations: 0.7354 MB / 242.3 MB, free: 10.86 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003256/0.02584, allocations: 0.8356 MB / 243.2 MB, free: 9.984 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001039/0.02594, allocations: 122.3 kB / 243.3 MB, free: 9.844 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 9.469e-05/0.02604, allocations: 35.27 kB / 243.3 MB, free: 9.812 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001682/0.02621, allocations: 127.3 kB / 243.5 MB, free: 9.688 MB / 250.7 MB Notification: Performance of SimCode: time 1.252e-06/0.02621, allocations: 3.938 kB / 243.5 MB, free: 9.684 MB / 250.7 MB Notification: Performance of Templates: time 0.009915/0.03612, allocations: 7.034 MB / 250.5 MB, free: 2.68 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1027466394007206]