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.0009194/0.0009194, allocations: 75.77 kB / 22.45 MB, free: 2.098 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.001046/0.001046, allocations: 166.1 kB / 25.75 MB, free: 8.582 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.9368/0.9368, allocations: 158.6 MB / 187.6 MB, free: 2.898 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.563e-06/1.563e-06, allocations: 0 / 251.1 MB, free: 7.781 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.878e-05/2.034e-05, allocations: 2.312 kB / 251.1 MB, free: 7.777 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.003685/0.003705, allocations: 3.632 MB / 254.8 MB, free: 4.117 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001226/0.004931, allocations: 0.9513 MB / 255.7 MB, free: 3.16 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001686/0.005099, allocations: 11.94 kB / 255.7 MB, free: 3.148 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002196/0.005319, allocations: 79.17 kB / 255.8 MB, free: 3.07 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003151/0.005634, allocations: 154.6 kB / 256 MB, free: 2.918 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002954/0.005929, allocations: 159.7 kB / 256.1 MB, free: 2.762 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004971/0.006426, allocations: 0.6261 MB / 256.7 MB, free: 2.133 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002569/0.006683, allocations: 139.9 kB / 256.9 MB, free: 1.988 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003005/0.006984, allocations: 343.2 kB / 257.2 MB, free: 1.652 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002336/0.007217, allocations: 191.4 kB / 257.4 MB, free: 1.461 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 6.277e-05/0.00728, allocations: 52 kB / 257.4 MB, free: 1.41 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.23e-05/0.007332, allocations: 56 kB / 257.5 MB, free: 1.355 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 8.529e-05/0.007418, allocations: 123.5 kB / 257.6 MB, free: 1.234 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001437/0.007561, allocations: 183.6 kB / 257.8 MB, free: 1.055 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003625/0.007924, allocations: 406.5 kB / 258.2 MB, free: 0.6562 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.007926, allocations: 0 / 258.2 MB, free: 0.6562 MB / 234.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.007927, allocations: 0 / 258.2 MB, free: 0.6562 MB / 234.7 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.007932, allocations: 0 / 258.2 MB, free: 0.6562 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.001039/0.008972, allocations: 0.9365 MB / 259.1 MB, free: 15.67 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.009012, allocations: 11.98 kB / 259.1 MB, free: 15.66 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001159/0.009128, allocations: 88.61 kB / 259.2 MB, free: 15.57 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000344/0.009472, allocations: 317.2 kB / 259.5 MB, free: 15.24 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.623e-05/0.009499, allocations: 33.38 kB / 259.6 MB, free: 15.21 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.05e-05/0.009549, allocations: 44.38 kB / 259.6 MB, free: 15.16 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004572/0.01001, allocations: 397.5 kB / 260 MB, free: 14.73 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.681e-05/0.01002, allocations: 4.125 kB / 260 MB, free: 14.73 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.284e-05/0.01006, allocations: 19.94 kB / 260 MB, free: 14.71 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.371e-05/0.01007, allocations: 12 kB / 260 MB, free: 14.7 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002698/0.01034, allocations: 169.8 kB / 260.2 MB, free: 14.54 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00148/0.01182, allocations: 1.812 MB / 262 MB, free: 12.62 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004366/0.01226, allocations: 300.8 kB / 262.3 MB, free: 12.32 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003306/0.01259, allocations: 200.2 kB / 262.5 MB, free: 12.12 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.724e-05/0.01261, allocations: 12.33 kB / 262.5 MB, free: 12.11 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002777/0.01289, allocations: 246.2 kB / 262.8 MB, free: 11.84 MB / 250.7 MB Notification: Performance of pre-optimization done (n=43): time 1.683e-06/0.01289, allocations: 4 kB / 262.8 MB, free: 11.83 MB / 250.7 MB Notification: Performance of matching and sorting (n=43): time 0.001275/0.01417, allocations: 0.6292 MB / 263.4 MB, free: 11.19 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.411e-05/0.01421, allocations: 81.11 kB / 263.5 MB, free: 11.09 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000226/0.01444, allocations: 338.2 kB / 263.8 MB, free: 10.75 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.497e-05/0.01446, allocations: 37.7 kB / 263.8 MB, free: 10.71 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001199/0.01458, allocations: 267.4 kB / 264.1 MB, free: 10.44 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.629e-05/0.01466, allocations: 142.8 kB / 264.2 MB, free: 10.3 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.814e-05/0.01475, allocations: 87.84 kB / 264.3 MB, free: 10.21 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.01488, allocations: 0.5118 MB / 264.8 MB, free: 9.684 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001103/0.01499, allocations: 60.97 kB / 264.9 MB, free: 9.625 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001896/0.01518, allocations: 280.8 kB / 265.2 MB, free: 9.266 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002861/0.01546, allocations: 321.9 kB / 265.5 MB, free: 8.879 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.01546, allocations: 0 / 265.5 MB, free: 8.879 MB / 250.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0004673/0.01593, allocations: 416.3 kB / 265.9 MB, free: 8.461 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.01595, allocations: 8.469 kB / 265.9 MB, free: 8.453 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.01595, allocations: 8 kB / 265.9 MB, free: 8.445 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002849/0.01624, allocations: 110.9 kB / 266 MB, free: 8.336 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001402/0.01638, allocations: 67.84 kB / 266.1 MB, free: 8.27 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001691/0.01807, allocations: 2.618 MB / 268.7 MB, free: 5.531 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000122/0.01819, allocations: 39.73 kB / 268.7 MB, free: 5.492 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.022e-05/0.01821, allocations: 23.94 kB / 268.8 MB, free: 5.469 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.0001265/0.01834, allocations: 200.4 kB / 269 MB, free: 5.262 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.639e-05/0.01839, allocations: 47.77 kB / 269 MB, free: 5.215 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.022e-05/0.01844, allocations: 43.48 kB / 269.1 MB, free: 5.172 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/0.01844, allocations: 4.094 kB / 269.1 MB, free: 5.168 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.01844, allocations: 3.984 kB / 269.1 MB, free: 5.164 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.01845, allocations: 0 / 269.1 MB, free: 5.164 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007826/0.01923, allocations: 0.802 MB / 269.9 MB, free: 4.312 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.676e-06/0.01923, allocations: 4.031 kB / 269.9 MB, free: 4.309 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.563e-05/0.01933, allocations: 39.86 kB / 269.9 MB, free: 4.27 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000205/0.01953, allocations: 111.1 kB / 270 MB, free: 4.16 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.149e-05/0.01955, allocations: 11.98 kB / 270 MB, free: 4.148 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001606/0.02116, allocations: 2.61 MB / 272.6 MB, free: 1.414 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.02116, allocations: 0 / 272.6 MB, free: 1.414 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005566/0.02172, allocations: 0.5607 MB / 273.2 MB, free: 0.8242 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.397e-05/0.02181, allocations: 75.59 kB / 273.3 MB, free: 0.75 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.99e-05/0.02184, allocations: 8 kB / 273.3 MB, free: 0.7422 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000117/0.02196, allocations: 12 kB / 273.3 MB, free: 0.7305 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.545e-05/0.02203, allocations: 39.92 kB / 273.3 MB, free: 0.6914 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.793e-05/0.02205, allocations: 15.98 kB / 273.3 MB, free: 0.6758 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001254/0.02218, allocations: 226.9 kB / 273.6 MB, free: 468 kB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02218, allocations: 0 / 273.6 MB, free: 468 kB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003458/0.02252, allocations: 143.8 kB / 273.7 MB, free: 324 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.0001097/0.02263, allocations: 119.4 kB / 273.8 MB, free: 196 kB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0005799/0.02321, allocations: 0.5011 MB / 274.3 MB, free: 15.67 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.02322, allocations: 4 kB / 274.3 MB, free: 15.67 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002923/0.02351, allocations: 393.3 kB / 274.7 MB, free: 15.26 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000295/0.0238, allocations: 76.42 kB / 274.8 MB, free: 15.19 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001263/0.02507, allocations: 0.8167 MB / 275.6 MB, free: 14.34 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.136e-05/0.02515, allocations: 122.1 kB / 275.7 MB, free: 14.2 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.442e-05/0.02523, allocations: 39.27 kB / 275.8 MB, free: 14.16 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.238e-05/0.02528, allocations: 28.48 kB / 275.8 MB, free: 14.13 MB / 266.7 MB Notification: Performance of SimCode: time 9.52e-07/0.02529, allocations: 4 kB / 275.8 MB, free: 14.12 MB / 266.7 MB Notification: Performance of Templates: time 0.008394/0.03368, allocations: 6.477 MB / 282.3 MB, free: 7.691 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.921162861865014]