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.001784/0.001784, allocations: 79.73 kB / 21.97 MB, free: 2.598 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.00145/0.00145, allocations: 165.1 kB / 25.33 MB, free: 9.055 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.9896/0.9896, allocations: 158.6 MB / 187.2 MB, free: 2.945 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.413e-06/1.413e-06, allocations: 0 / 251.1 MB, free: 7.496 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.416e-05/2.558e-05, allocations: 2.312 kB / 251.1 MB, free: 7.492 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.003959/0.003985, allocations: 3.652 MB / 254.7 MB, free: 3.809 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001852/0.005837, allocations: 0.9474 MB / 255.7 MB, free: 2.855 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003079/0.006145, allocations: 11.94 kB / 255.7 MB, free: 2.844 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002302/0.006375, allocations: 79.22 kB / 255.8 MB, free: 2.766 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003878/0.006763, allocations: 154.6 kB / 255.9 MB, free: 2.613 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00034/0.007103, allocations: 163.7 kB / 256.1 MB, free: 2.453 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005904/0.007693, allocations: 0.6222 MB / 256.7 MB, free: 1.828 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002656/0.007959, allocations: 139.9 kB / 256.8 MB, free: 1.684 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003608/0.00832, allocations: 347.2 kB / 257.2 MB, free: 1.344 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002656/0.008585, allocations: 187.4 kB / 257.3 MB, free: 1.16 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 6.546e-05/0.008651, allocations: 56 kB / 257.4 MB, free: 1.105 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.818e-05/0.008709, allocations: 56 kB / 257.5 MB, free: 1.051 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 8.883e-05/0.008798, allocations: 127.5 kB / 257.6 MB, free: 0.9258 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001497/0.008948, allocations: 179.6 kB / 257.8 MB, free: 0.75 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000382/0.00933, allocations: 410.5 kB / 258.2 MB, free: 356 kB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.009334, allocations: 0 / 258.2 MB, free: 356 kB / 234.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.009335, allocations: 0 / 258.2 MB, free: 356 kB / 234.7 MB Notification: Performance of Transformations before backend: time 8.335e-06/0.009343, allocations: 0 / 258.2 MB, free: 356 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.001132/0.01048, allocations: 0.9288 MB / 259.1 MB, free: 15.37 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.01052, allocations: 15.98 kB / 259.1 MB, free: 15.36 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001338/0.01066, allocations: 88.59 kB / 259.2 MB, free: 15.27 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000355/0.01101, allocations: 304.3 kB / 259.5 MB, free: 14.95 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.745e-05/0.01104, allocations: 33.38 kB / 259.5 MB, free: 14.91 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.36e-05/0.01109, allocations: 52.36 kB / 259.6 MB, free: 14.86 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004968/0.01159, allocations: 397.5 kB / 260 MB, free: 14.44 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.645e-05/0.01161, allocations: 192 / 260 MB, free: 14.44 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.31e-05/0.01164, allocations: 27.92 kB / 260 MB, free: 14.41 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.228e-05/0.01165, allocations: 8 kB / 260 MB, free: 14.4 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002551/0.01191, allocations: 169.8 kB / 260.2 MB, free: 14.23 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001678/0.01358, allocations: 1.812 MB / 262 MB, free: 12.32 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004627/0.01405, allocations: 296.8 kB / 262.3 MB, free: 12.02 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003433/0.01439, allocations: 204.2 kB / 262.5 MB, free: 11.82 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.005e-05/0.01442, allocations: 8.312 kB / 262.5 MB, free: 11.81 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003007/0.01472, allocations: 250.2 kB / 262.7 MB, free: 11.54 MB / 250.7 MB Notification: Performance of pre-optimization done (n=43): time 1.653e-06/0.01472, allocations: 0 / 262.7 MB, free: 11.54 MB / 250.7 MB Notification: Performance of matching and sorting (n=43): time 0.001406/0.01613, allocations: 0.6253 MB / 263.3 MB, free: 10.9 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.13e-05/0.01618, allocations: 89.05 kB / 263.4 MB, free: 10.8 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002297/0.01641, allocations: 334.2 kB / 263.8 MB, free: 10.46 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.734e-05/0.01644, allocations: 37.7 kB / 263.8 MB, free: 10.41 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001217/0.01656, allocations: 263.4 kB / 264 MB, free: 10.15 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.095e-05/0.01664, allocations: 142.8 kB / 264.2 MB, free: 10.01 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.412e-05/0.01673, allocations: 87.86 kB / 264.3 MB, free: 9.918 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.01687, allocations: 0.5157 MB / 264.8 MB, free: 9.391 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001036/0.01697, allocations: 60.95 kB / 264.8 MB, free: 9.332 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001987/0.01717, allocations: 280.9 kB / 265.1 MB, free: 8.973 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003087/0.01748, allocations: 333.8 kB / 265.4 MB, free: 8.574 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.01748, allocations: 0 / 265.4 MB, free: 8.574 MB / 250.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0004893/0.01797, allocations: 408.4 kB / 265.8 MB, free: 8.164 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.01799, allocations: 8 kB / 265.9 MB, free: 8.156 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.018, allocations: 4 kB / 265.9 MB, free: 8.152 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002996/0.0183, allocations: 115.4 kB / 266 MB, free: 8.039 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001478/0.01845, allocations: 63.91 kB / 266 MB, free: 7.977 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001889/0.02033, allocations: 2.622 MB / 268.7 MB, free: 5.234 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001597/0.02049, allocations: 43.72 kB / 268.7 MB, free: 5.191 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.142e-05/0.02052, allocations: 19.94 kB / 268.7 MB, free: 5.172 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.0001385/0.02065, allocations: 188.5 kB / 268.9 MB, free: 4.977 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.234e-05/0.02071, allocations: 51.77 kB / 269 MB, free: 4.926 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.644e-05/0.02076, allocations: 47.56 kB / 269 MB, free: 4.875 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.02077, allocations: 8 kB / 269 MB, free: 4.867 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.02077, allocations: 3.984 kB / 269 MB, free: 4.863 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.02077, allocations: 0 / 269 MB, free: 4.863 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008575/0.02163, allocations: 0.8058 MB / 269.8 MB, free: 4.008 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.02163, allocations: 0 / 269.8 MB, free: 4.008 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001003/0.02173, allocations: 31.92 kB / 269.8 MB, free: 3.977 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002181/0.02195, allocations: 123.1 kB / 270 MB, free: 3.855 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.019e-05/0.02197, allocations: 4 kB / 270 MB, free: 3.852 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001672/0.02365, allocations: 2.622 MB / 272.6 MB, free: 1.109 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.02365, allocations: 0 / 272.6 MB, free: 1.109 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005609/0.02421, allocations: 0.549 MB / 273.1 MB, free: 0.5312 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001034/0.02431, allocations: 79.59 kB / 273.2 MB, free: 464 kB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.024e-05/0.02434, allocations: 7.984 kB / 273.2 MB, free: 456 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.02445, allocations: 16 kB / 273.2 MB, free: 440 kB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.072e-05/0.02453, allocations: 39.92 kB / 273.3 MB, free: 400 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.724e-05/0.02455, allocations: 12 kB / 273.3 MB, free: 388 kB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001293/0.02468, allocations: 227 kB / 273.5 MB, free: 164 kB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02468, allocations: 4 kB / 273.5 MB, free: 160 kB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003803/0.02506, allocations: 139.8 kB / 273.7 MB, free: 20 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.0001367/0.02519, allocations: 119.3 kB / 273.8 MB, free: 15.89 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006228/0.02582, allocations: 0.5083 MB / 274.3 MB, free: 15.37 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.02582, allocations: 0 / 274.3 MB, free: 15.37 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003105/0.02613, allocations: 397.9 kB / 274.7 MB, free: 14.96 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003169/0.02645, allocations: 72.56 kB / 274.7 MB, free: 14.88 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001307/0.02775, allocations: 0.8127 MB / 275.6 MB, free: 14.04 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.255e-05/0.02784, allocations: 122.1 kB / 275.7 MB, free: 13.9 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.306e-05/0.02794, allocations: 39.36 kB / 275.7 MB, free: 13.86 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.44e-05/0.02799, allocations: 28.5 kB / 275.7 MB, free: 13.83 MB / 266.7 MB Notification: Performance of SimCode: time 1.403e-06/0.02799, allocations: 0 / 275.7 MB, free: 13.83 MB / 266.7 MB Notification: Performance of Templates: time 0.008954/0.03695, allocations: 6.74 MB / 282.5 MB, free: 7.133 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.9841016847640276]