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.001333/0.001333, allocations: 85.08 kB / 23 MB, free: 1.504 MB / 18.57 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.001277/0.001277, allocations: 173.1 kB / 26.39 MB, free: 8 MB / 18.57 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 0.9792/0.9792, allocations: 158.6 MB / 188.3 MB, free: 2.816 MB / 170.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.693e-06/1.693e-06, allocations: 3.938 kB / 252.3 MB, free: 7.223 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.915e-05/3.084e-05, allocations: 6.25 kB / 252.3 MB, free: 7.215 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.0058/0.005831, allocations: 3.582 MB / 255.9 MB, free: 3.602 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002135/0.007966, allocations: 0.9396 MB / 256.8 MB, free: 2.656 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003176/0.008284, allocations: 11.94 kB / 256.8 MB, free: 2.645 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000203/0.008487, allocations: 83.16 kB / 256.9 MB, free: 2.562 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000313/0.0088, allocations: 154.6 kB / 257.1 MB, free: 2.41 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003155/0.009116, allocations: 159.7 kB / 257.2 MB, free: 2.254 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.000525/0.009641, allocations: 0.63 MB / 257.8 MB, free: 1.621 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002379/0.009878, allocations: 139.9 kB / 258 MB, free: 1.477 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003562/0.01023, allocations: 347.2 kB / 258.3 MB, free: 1.137 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002432/0.01048, allocations: 187.5 kB / 258.5 MB, free: 0.9531 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 5.795e-05/0.01054, allocations: 56 kB / 258.6 MB, free: 0.8984 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.066e-05/0.01059, allocations: 52 kB / 258.6 MB, free: 0.8477 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 7.792e-05/0.01066, allocations: 127.5 kB / 258.7 MB, free: 0.7227 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001394/0.0108, allocations: 179.6 kB / 258.9 MB, free: 0.5469 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003519/0.01116, allocations: 402.5 kB / 259.3 MB, free: 156 kB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.01116, allocations: 0 / 259.3 MB, free: 156 kB / 234.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.01116, allocations: 7.984 kB / 259.3 MB, free: 148 kB / 234.7 MB Notification: Performance of Transformations before backend: time 6.161e-06/0.01117, allocations: 0 / 259.3 MB, free: 148 kB / 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.00097/0.01214, allocations: 0.9403 MB / 260.2 MB, free: 15.15 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.206e-05/0.01217, allocations: 15.98 kB / 260.3 MB, free: 15.14 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001037/0.01227, allocations: 92.61 kB / 260.4 MB, free: 15.05 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003024/0.01258, allocations: 304.2 kB / 260.7 MB, free: 14.72 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.263e-05/0.0126, allocations: 33.38 kB / 260.7 MB, free: 14.69 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.961e-05/0.01265, allocations: 44.38 kB / 260.7 MB, free: 14.65 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003701/0.01302, allocations: 377.4 kB / 261.1 MB, free: 14.24 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.01303, allocations: 192 / 261.1 MB, free: 14.24 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.776e-05/0.01306, allocations: 19.94 kB / 261.1 MB, free: 14.22 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.637e-06/0.01307, allocations: 16 kB / 261.1 MB, free: 14.21 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00017/0.01324, allocations: 130.8 kB / 261.3 MB, free: 14.08 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001428/0.01467, allocations: 1.762 MB / 263 MB, free: 12.23 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003573/0.01502, allocations: 280.4 kB / 263.3 MB, free: 11.94 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002833/0.01531, allocations: 184.2 kB / 263.5 MB, free: 11.76 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.554e-05/0.01533, allocations: 8.328 kB / 263.5 MB, free: 11.75 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002322/0.01556, allocations: 222.2 kB / 263.7 MB, free: 11.5 MB / 250.7 MB Notification: Performance of pre-optimization done (n=43): time 1.703e-06/0.01557, allocations: 0 / 263.7 MB, free: 11.5 MB / 250.7 MB Notification: Performance of matching and sorting (n=43): time 0.001182/0.01675, allocations: 0.5901 MB / 264.3 MB, free: 10.9 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.116e-05/0.01679, allocations: 85.11 kB / 264.4 MB, free: 10.8 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004084/0.0172, allocations: 338 kB / 264.7 MB, free: 10.46 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.713e-05/0.01722, allocations: 33.7 kB / 264.7 MB, free: 10.42 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001278/0.01735, allocations: 267.4 kB / 265 MB, free: 10.15 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.815e-05/0.01743, allocations: 146.8 kB / 265.1 MB, free: 10.01 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.011e-05/0.01752, allocations: 91.8 kB / 265.2 MB, free: 9.91 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001281/0.01765, allocations: 0.5195 MB / 265.7 MB, free: 9.379 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.259e-05/0.01772, allocations: 44.97 kB / 265.8 MB, free: 9.336 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001547/0.01788, allocations: 260.7 kB / 266 MB, free: 9 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003621/0.01824, allocations: 309.8 kB / 266.3 MB, free: 8.625 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.01824, allocations: 3.938 kB / 266.4 MB, free: 8.621 MB / 250.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0004002/0.01864, allocations: 368.8 kB / 266.7 MB, free: 8.25 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.01866, allocations: 8 kB / 266.7 MB, free: 8.242 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.01866, allocations: 4 kB / 266.7 MB, free: 8.238 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002345/0.0189, allocations: 103 kB / 266.8 MB, free: 8.137 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001385/0.01904, allocations: 67.84 kB / 266.9 MB, free: 8.07 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001762/0.0208, allocations: 2.552 MB / 269.4 MB, free: 5.406 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000189/0.02099, allocations: 43.72 kB / 269.5 MB, free: 5.363 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.522e-05/0.02101, allocations: 24 kB / 269.5 MB, free: 5.34 MB / 250.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_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 (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.000149/0.02116, allocations: 196.3 kB / 269.7 MB, free: 5.137 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.778e-05/0.02123, allocations: 51.77 kB / 269.8 MB, free: 5.086 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.95e-05/0.0213, allocations: 43.48 kB / 269.8 MB, free: 5.039 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.0213, allocations: 4 kB / 269.8 MB, free: 5.035 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.02131, allocations: 0 / 269.8 MB, free: 5.035 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.513e-06/0.02131, allocations: 3.984 kB / 269.8 MB, free: 5.031 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001153/0.02247, allocations: 0.7246 MB / 270.5 MB, free: 4.266 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/0.02247, allocations: 0 / 270.5 MB, free: 4.266 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001286/0.0226, allocations: 39.92 kB / 270.6 MB, free: 4.227 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002481/0.02285, allocations: 102.9 kB / 270.7 MB, free: 4.125 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.25e-05/0.02287, allocations: 12 kB / 270.7 MB, free: 4.113 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001795/0.02466, allocations: 2.543 MB / 273.2 MB, free: 1.457 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.02467, allocations: 7.984 kB / 273.2 MB, free: 1.449 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005777/0.02524, allocations: 0.51 MB / 273.7 MB, free: 0.9102 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000117/0.02536, allocations: 71.59 kB / 273.8 MB, free: 0.8398 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.604e-05/0.02541, allocations: 15.94 kB / 273.8 MB, free: 0.8242 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001448/0.02555, allocations: 11.98 kB / 273.8 MB, free: 0.8125 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.224e-05/0.02563, allocations: 43.88 kB / 273.9 MB, free: 0.7695 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.9e-05/0.02565, allocations: 7.984 kB / 273.9 MB, free: 0.7617 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.000133/0.02579, allocations: 222.9 kB / 274.1 MB, free: 0.5469 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02579, allocations: 0 / 274.1 MB, free: 0.5469 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0005314/0.02632, allocations: 147.8 kB / 274.2 MB, free: 412 kB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Number of discrete variables: 10 ($whenCondition3,$whenCondition2,$whenCondition1,meanCurrent.y,rootMeanSquareVoltage.mean.y,meanVoltage.y,rectifier.diode_n2.off,rectifier.diode_n1.off,rectifier.diode_p2.off,rectifier.diode_p1.off) * 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.0001277/0.02644, allocations: 103.8 kB / 274.4 MB, free: 300 kB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.000605/0.02705, allocations: 497.3 kB / 274.8 MB, free: 15.79 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.02705, allocations: 0 / 274.8 MB, free: 15.79 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003494/0.0274, allocations: 373.1 kB / 275.2 MB, free: 15.4 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003942/0.0278, allocations: 80.8 kB / 275.3 MB, free: 15.32 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001507/0.0293, allocations: 0.8011 MB / 276.1 MB, free: 14.48 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001282/0.02943, allocations: 122.1 kB / 276.2 MB, free: 14.35 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.00013/0.02956, allocations: 35.28 kB / 276.2 MB, free: 14.31 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001935/0.02976, allocations: 146.2 kB / 276.4 MB, free: 14.16 MB / 266.7 MB Notification: Performance of SimCode: time 1.252e-06/0.02976, allocations: 0 / 276.4 MB, free: 14.16 MB / 266.7 MB Notification: Performance of Templates: time 0.01306/0.04282, allocations: 7.036 MB / 283.4 MB, free: 7.172 MB / 266.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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9528058851137757]