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.000966/0.000966, allocations: 75.75 kB / 21.97 MB, free: 2.602 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.0009235/0.0009235, allocations: 166.4 kB / 25.33 MB, free: 9.035 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.9496/0.9496, allocations: 158.6 MB / 187.2 MB, free: 2.906 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.733e-06/1.733e-06, allocations: 0 / 251.1 MB, free: 3.598 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.682e-05/1.855e-05, allocations: 2.312 kB / 251.1 MB, free: 3.594 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.003431/0.00345, allocations: 3.654 MB / 254.7 MB, free: 15.91 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001275/0.004725, allocations: 0.9513 MB / 255.7 MB, free: 14.95 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001615/0.004886, allocations: 11.94 kB / 255.7 MB, free: 14.94 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001969/0.005083, allocations: 75.23 kB / 255.8 MB, free: 14.87 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002708/0.005354, allocations: 154.5 kB / 255.9 MB, free: 14.71 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002734/0.005627, allocations: 163.7 kB / 256.1 MB, free: 14.55 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004584/0.006086, allocations: 0.63 MB / 256.7 MB, free: 13.92 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002544/0.00634, allocations: 131.9 kB / 256.8 MB, free: 13.79 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000293/0.006633, allocations: 347.2 kB / 257.2 MB, free: 13.45 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002353/0.006869, allocations: 187.4 kB / 257.3 MB, free: 13.26 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.982e-05/0.006928, allocations: 56 kB / 257.4 MB, free: 13.21 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.518e-05/0.006984, allocations: 52 kB / 257.5 MB, free: 13.16 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.516e-05/0.007069, allocations: 123.5 kB / 257.6 MB, free: 13.04 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001404/0.007209, allocations: 191.6 kB / 257.8 MB, free: 12.85 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003523/0.007561, allocations: 402.5 kB / 258.2 MB, free: 12.45 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.007564, allocations: 0 / 258.2 MB, free: 12.45 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.007564, allocations: 0 / 258.2 MB, free: 12.45 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.00757, allocations: 0 / 258.2 MB, free: 12.45 MB / 250.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.000968/0.008538, allocations: 0.9365 MB / 259.1 MB, free: 11.47 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.008577, allocations: 15.98 kB / 259.1 MB, free: 11.45 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000102/0.008679, allocations: 84.61 kB / 259.2 MB, free: 11.37 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003303/0.009009, allocations: 313.3 kB / 259.5 MB, free: 11.04 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.475e-05/0.009034, allocations: 33.38 kB / 259.5 MB, free: 11.01 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.781e-05/0.009091, allocations: 44.38 kB / 259.6 MB, free: 10.96 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004509/0.009542, allocations: 405.5 kB / 260 MB, free: 10.53 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.009557, allocations: 192 / 260 MB, free: 10.53 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.944e-05/0.009586, allocations: 19.94 kB / 260 MB, free: 10.51 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.33e-05/0.0096, allocations: 12 kB / 260 MB, free: 10.5 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002527/0.009852, allocations: 169.8 kB / 260.2 MB, free: 10.33 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001516/0.01137, allocations: 1.812 MB / 262 MB, free: 8.418 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004775/0.01185, allocations: 299.8 kB / 262.3 MB, free: 8.117 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000333/0.01218, allocations: 208.2 kB / 262.5 MB, free: 7.91 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.281e-05/0.01221, allocations: 8.312 kB / 262.5 MB, free: 7.902 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002954/0.01251, allocations: 250.2 kB / 262.7 MB, free: 7.629 MB / 250.7 MB Notification: Performance of pre-optimization done (n=43): time 1.493e-06/0.01251, allocations: 4 kB / 262.7 MB, free: 7.625 MB / 250.7 MB Notification: Performance of matching and sorting (n=43): time 0.00122/0.01373, allocations: 0.6175 MB / 263.3 MB, free: 6.996 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.957e-05/0.01378, allocations: 89.05 kB / 263.4 MB, free: 6.891 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002171/0.014, allocations: 334.2 kB / 263.8 MB, free: 6.551 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.62e-05/0.01402, allocations: 37.7 kB / 263.8 MB, free: 6.508 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001175/0.01414, allocations: 263.4 kB / 264.1 MB, free: 6.246 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.603e-05/0.01422, allocations: 146.8 kB / 264.2 MB, free: 6.102 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.481e-05/0.0143, allocations: 87.84 kB / 264.3 MB, free: 6.008 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001597/0.01446, allocations: 0.5118 MB / 264.8 MB, free: 5.484 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.512e-05/0.01456, allocations: 60.97 kB / 264.9 MB, free: 5.426 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002157/0.01477, allocations: 280.9 kB / 265.1 MB, free: 5.066 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002934/0.01506, allocations: 333.8 kB / 265.5 MB, free: 4.668 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.01507, allocations: 4 kB / 265.5 MB, free: 4.664 MB / 250.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0005552/0.01562, allocations: 408.5 kB / 265.9 MB, free: 4.254 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.01564, allocations: 8 kB / 265.9 MB, free: 4.246 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.126e-06/0.01565, allocations: 4 kB / 265.9 MB, free: 4.242 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002954/0.01595, allocations: 107.6 kB / 266 MB, free: 4.133 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001361/0.01608, allocations: 68.09 kB / 266 MB, free: 4.066 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001825/0.01791, allocations: 2.623 MB / 268.7 MB, free: 1.328 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001123/0.01802, allocations: 43.73 kB / 268.7 MB, free: 1.285 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.115e-05/0.01804, allocations: 19.94 kB / 268.7 MB, free: 1.266 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.0001234/0.01816, allocations: 192.4 kB / 268.9 MB, free: 1.066 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.576e-05/0.01821, allocations: 51.77 kB / 269 MB, free: 1.016 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.819e-05/0.01826, allocations: 47.56 kB / 269 MB, free: 0.9688 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/0.01826, allocations: 8 kB / 269 MB, free: 0.9609 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.01826, allocations: 4 kB / 269 MB, free: 0.957 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.01827, allocations: 0 / 269 MB, free: 0.957 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007749/0.01904, allocations: 0.7982 MB / 269.8 MB, free: 112 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.01904, allocations: 0 / 269.8 MB, free: 112 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.28e-05/0.01914, allocations: 35.86 kB / 269.9 MB, free: 76 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002135/0.01935, allocations: 111.7 kB / 270 MB, free: 15.96 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.316e-05/0.01937, allocations: 11.98 kB / 270 MB, free: 15.95 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001814/0.02119, allocations: 2.613 MB / 272.6 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.02119, allocations: 0 / 272.6 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005735/0.02176, allocations: 0.5567 MB / 273.1 MB, free: 12.63 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.508e-05/0.02186, allocations: 75.59 kB / 273.2 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.813e-05/0.02189, allocations: 12 kB / 273.2 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.832e-05/0.02198, allocations: 12 kB / 273.2 MB, free: 12.53 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.545e-05/0.02207, allocations: 39.92 kB / 273.3 MB, free: 12.49 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.791e-05/0.02209, allocations: 15.98 kB / 273.3 MB, free: 12.48 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001288/0.02222, allocations: 223 kB / 273.5 MB, free: 12.26 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02222, allocations: 0 / 273.5 MB, free: 12.26 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003505/0.02257, allocations: 147.7 kB / 273.7 MB, free: 12.12 MB / 266.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.0001145/0.02268, allocations: 119.3 kB / 273.8 MB, free: 11.99 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005614/0.02324, allocations: 0.5044 MB / 274.3 MB, free: 11.47 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.02324, allocations: 0 / 274.3 MB, free: 11.47 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002911/0.02354, allocations: 394.1 kB / 274.7 MB, free: 11.06 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000281/0.02382, allocations: 72.56 kB / 274.7 MB, free: 10.99 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00121/0.02503, allocations: 0.8241 MB / 275.6 MB, free: 10.13 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.949e-05/0.0251, allocations: 118.1 kB / 275.7 MB, free: 9.996 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.713e-05/0.02517, allocations: 39.36 kB / 275.7 MB, free: 9.953 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.054e-05/0.02523, allocations: 32.48 kB / 275.7 MB, free: 9.922 MB / 266.7 MB Notification: Performance of SimCode: time 7.32e-07/0.02523, allocations: 0 / 275.7 MB, free: 9.922 MB / 266.7 MB Notification: Performance of Templates: time 0.008022/0.03326, allocations: 6.472 MB / 282.2 MB, free: 3.477 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: 3.044194095302373]