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.0009453/0.0009453, allocations: 80.92 kB / 22.29 MB, free: 2.207 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.000923/0.000923, allocations: 166.7 kB / 25.7 MB, free: 8.406 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.8953/0.8953, allocations: 158.6 MB / 187.6 MB, free: 2.777 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.402e-06/1.402e-06, allocations: 0 / 251.5 MB, free: 7.262 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.095e-05/2.235e-05, allocations: 2.312 kB / 251.5 MB, free: 7.258 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.004634/0.004657, allocations: 3.601 MB / 255.1 MB, free: 3.633 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001958/0.006615, allocations: 0.9666 MB / 256.1 MB, free: 2.66 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002892/0.006904, allocations: 11.94 kB / 256.1 MB, free: 2.648 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002352/0.007139, allocations: 79.16 kB / 256.2 MB, free: 2.57 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003904/0.00753, allocations: 154.6 kB / 256.4 MB, free: 2.418 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003933/0.007923, allocations: 167.6 kB / 256.5 MB, free: 2.254 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006585/0.008582, allocations: 0.63 MB / 257.1 MB, free: 1.617 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002665/0.008848, allocations: 140.6 kB / 257.3 MB, free: 1.473 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004304/0.009278, allocations: 347.2 kB / 257.6 MB, free: 1.133 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002964/0.009575, allocations: 183.5 kB / 257.8 MB, free: 0.9531 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 8.008e-05/0.009655, allocations: 52 kB / 257.9 MB, free: 0.9023 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.184e-05/0.009727, allocations: 56 kB / 257.9 MB, free: 0.8477 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001023/0.009829, allocations: 127.5 kB / 258 MB, free: 0.7227 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000174/0.01, allocations: 179.6 kB / 258.2 MB, free: 0.5469 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004406/0.01044, allocations: 410.5 kB / 258.6 MB, free: 148 kB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.424e-06/0.01045, allocations: 0 / 258.6 MB, free: 148 kB / 234.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.01045, allocations: 4 kB / 258.6 MB, free: 144 kB / 234.7 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.01045, allocations: 0 / 258.6 MB, free: 144 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.001036/0.01149, allocations: 0.68 MB / 259.3 MB, free: 15.44 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.01153, allocations: 11.98 kB / 259.3 MB, free: 15.43 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001222/0.01165, allocations: 80.88 kB / 259.4 MB, free: 15.35 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004094/0.01206, allocations: 249.5 kB / 259.6 MB, free: 15.08 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.412e-05/0.01209, allocations: 33.38 kB / 259.7 MB, free: 15.05 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.939e-05/0.01216, allocations: 44.36 kB / 259.7 MB, free: 15 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005057/0.01267, allocations: 368.4 kB / 260.1 MB, free: 14.61 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.715e-05/0.01269, allocations: 192 / 260.1 MB, free: 14.61 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.436e-05/0.01272, allocations: 23.88 kB / 260.1 MB, free: 14.59 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.362e-05/0.01274, allocations: 16 kB / 260.1 MB, free: 14.57 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002295/0.01296, allocations: 114.9 kB / 260.2 MB, free: 14.46 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001756/0.01472, allocations: 1.307 MB / 261.5 MB, free: 13.09 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004047/0.01513, allocations: 251.4 kB / 261.8 MB, free: 12.83 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003192/0.01544, allocations: 173.4 kB / 261.9 MB, free: 12.66 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.981e-05/0.01547, allocations: 8.328 kB / 261.9 MB, free: 12.65 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002906/0.01576, allocations: 222.8 kB / 262.2 MB, free: 12.41 MB / 250.7 MB Notification: Performance of pre-optimization done (n=43): time 2.194e-06/0.01577, allocations: 4 kB / 262.2 MB, free: 12.41 MB / 250.7 MB Notification: Performance of matching and sorting (n=43): time 0.00134/0.01711, allocations: 0.4977 MB / 262.7 MB, free: 11.9 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.748e-05/0.01715, allocations: 89.05 kB / 262.8 MB, free: 11.79 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003404/0.0175, allocations: 274.9 kB / 263 MB, free: 11.51 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.303e-05/0.01753, allocations: 37.7 kB / 263.1 MB, free: 11.46 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001016/0.01763, allocations: 193.2 kB / 263.2 MB, free: 11.27 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.359e-05/0.01772, allocations: 146.8 kB / 263.4 MB, free: 11.13 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001112/0.01783, allocations: 86.11 kB / 263.5 MB, free: 11.04 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001067/0.01794, allocations: 350.7 kB / 263.8 MB, free: 10.69 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.314e-05/0.01802, allocations: 44.97 kB / 263.9 MB, free: 10.64 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001667/0.01819, allocations: 202 kB / 264.1 MB, free: 10.38 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00028/0.01847, allocations: 257.7 kB / 264.3 MB, free: 10.08 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.01848, allocations: 0 / 264.3 MB, free: 10.08 MB / 250.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0004462/0.01892, allocations: 293.7 kB / 264.6 MB, free: 9.781 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.01894, allocations: 8 kB / 264.6 MB, free: 9.773 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.01895, allocations: 4 kB / 264.6 MB, free: 9.77 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002929/0.01924, allocations: 101.2 kB / 264.7 MB, free: 9.668 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001953/0.01944, allocations: 71.89 kB / 264.8 MB, free: 9.598 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002005/0.02144, allocations: 1.847 MB / 266.6 MB, free: 7.664 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000187/0.02163, allocations: 43.77 kB / 266.7 MB, free: 7.621 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.218e-05/0.02165, allocations: 12 kB / 266.7 MB, free: 7.609 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_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.0001398/0.02179, allocations: 144.5 kB / 266.8 MB, free: 7.457 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.726e-05/0.02185, allocations: 47.83 kB / 266.9 MB, free: 7.41 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.659e-05/0.02192, allocations: 51.48 kB / 266.9 MB, free: 7.359 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.177e-06/0.02192, allocations: 4 kB / 266.9 MB, free: 7.355 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.818e-06/0.02192, allocations: 4 kB / 266.9 MB, free: 7.352 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.85e-06/0.02193, allocations: 0 / 266.9 MB, free: 7.352 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007701/0.0227, allocations: 0.5402 MB / 267.5 MB, free: 6.781 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.0227, allocations: 0 / 267.5 MB, free: 6.781 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001289/0.02283, allocations: 35.98 kB / 267.5 MB, free: 6.746 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002471/0.02308, allocations: 92.8 kB / 267.6 MB, free: 6.652 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.453e-05/0.0231, allocations: 11.98 kB / 267.6 MB, free: 6.641 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001582/0.02468, allocations: 1.843 MB / 269.4 MB, free: 4.715 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.02469, allocations: 0 / 269.4 MB, free: 4.715 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005034/0.02519, allocations: 396.4 kB / 269.8 MB, free: 4.305 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001098/0.0253, allocations: 55.75 kB / 269.9 MB, free: 4.25 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.239e-05/0.02534, allocations: 8 kB / 269.9 MB, free: 4.242 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001546/0.0255, allocations: 19.98 kB / 269.9 MB, free: 4.223 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.171e-05/0.02558, allocations: 39.86 kB / 270 MB, free: 4.184 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.245e-05/0.0256, allocations: 15.98 kB / 270 MB, free: 4.168 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001053/0.02571, allocations: 92.64 kB / 270.1 MB, free: 4.074 MB / 250.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02571, allocations: 0 / 270.1 MB, free: 4.074 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0005516/0.02626, allocations: 147.7 kB / 270.2 MB, free: 3.93 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.0001353/0.02639, allocations: 104.3 kB / 270.3 MB, free: 3.816 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0005561/0.02695, allocations: 398.9 kB / 270.7 MB, free: 3.414 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 7.133e-06/0.02696, allocations: 4 kB / 270.7 MB, free: 3.41 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003321/0.02729, allocations: 319.9 kB / 271 MB, free: 3.082 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003477/0.02764, allocations: 72.56 kB / 271.1 MB, free: 3.012 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001519/0.02915, allocations: 0.8042 MB / 271.9 MB, free: 2.176 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001019/0.02926, allocations: 118.3 kB / 272 MB, free: 2.043 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001183/0.02937, allocations: 39.36 kB / 272 MB, free: 2.004 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001793/0.02955, allocations: 119.3 kB / 272.2 MB, free: 1.887 MB / 250.7 MB Notification: Performance of SimCode: time 7.72e-07/0.02955, allocations: 0 / 272.2 MB, free: 1.887 MB / 250.7 MB Notification: Performance of Templates: time 0.01201/0.04156, allocations: 6.841 MB / 279 MB, free: 11.09 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.6632014652714133]