Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009112/0.0009112, allocations: 85.05 kB / 21.5 MB, free: 2.984 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008659/0.0008659, allocations: 141.2 kB / 24.89 MB, free: 9.203 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8973/0.8973, allocations: 173.3 MB / 201.5 MB, free: 9.195 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse,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_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse,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_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.122e-06/1.122e-06, allocations: 0 / 268.5 MB, free: 6.176 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.157e-06/1.028e-05, allocations: 2.312 kB / 268.5 MB, free: 6.172 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.003861/0.003871, allocations: 4.614 MB / 273.1 MB, free: 1.531 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001985/0.005856, allocations: 1.335 MB / 274.4 MB, free: 196 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002501/0.006106, allocations: 39.75 kB / 274.5 MB, free: 156 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004497/0.006556, allocations: 230.4 kB / 274.7 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005675/0.007124, allocations: 377.5 kB / 275.1 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003029/0.007427, allocations: 215.6 kB / 275.3 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009819/0.008409, allocations: 1.576 MB / 276.9 MB, free: 13.76 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004702/0.008879, allocations: 0.5632 MB / 277.4 MB, free: 13.15 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006776/0.009556, allocations: 0.9629 MB / 278.4 MB, free: 12.19 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006133/0.01017, allocations: 0.7405 MB / 279.1 MB, free: 11.45 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001416/0.01031, allocations: 168 kB / 279.3 MB, free: 11.28 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000142/0.01045, allocations: 164 kB / 279.5 MB, free: 11.12 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002511/0.0107, allocations: 466.7 kB / 279.9 MB, free: 10.66 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003449/0.01105, allocations: 0.5028 MB / 280.4 MB, free: 10.16 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007753/0.01182, allocations: 1.207 MB / 281.6 MB, free: 8.949 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.683e-06/0.01183, allocations: 0 / 281.6 MB, free: 8.949 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.11e-07/0.01183, allocations: 3.938 kB / 281.6 MB, free: 8.945 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.277e-05/0.01184, allocations: 0 / 281.6 MB, free: 8.945 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.001428/0.01327, allocations: 1.478 MB / 283.1 MB, free: 7.434 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.808e-05/0.0133, allocations: 16.91 kB / 283.1 MB, free: 7.418 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001839/0.01348, allocations: 164.8 kB / 283.3 MB, free: 7.258 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006229/0.0141, allocations: 0.5834 MB / 283.9 MB, free: 6.648 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.956e-05/0.01414, allocations: 78.38 kB / 283.9 MB, free: 6.57 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001029/0.01424, allocations: 100.4 kB / 284 MB, free: 6.473 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007851/0.01503, allocations: 0.8096 MB / 284.8 MB, free: 5.617 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.231e-05/0.01505, allocations: 15.83 kB / 284.9 MB, free: 5.602 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.219e-05/0.01511, allocations: 40 kB / 284.9 MB, free: 5.562 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.814e-05/0.01515, allocations: 38 kB / 284.9 MB, free: 5.523 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003912/0.01554, allocations: 253.8 kB / 285.2 MB, free: 5.277 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002438/0.01798, allocations: 2.534 MB / 287.7 MB, free: 2.672 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005087/0.01849, allocations: 0.4922 MB / 288.2 MB, free: 2.168 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003664/0.01886, allocations: 314 kB / 288.5 MB, free: 1.852 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.244e-05/0.01889, allocations: 12.66 kB / 288.5 MB, free: 1.84 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003175/0.01921, allocations: 367.3 kB / 288.9 MB, free: 1.445 MB / 266.7 MB Notification: Performance of pre-optimization done (n=75): time 2.034e-06/0.01921, allocations: 0 / 288.9 MB, free: 1.445 MB / 266.7 MB Notification: Performance of matching and sorting (n=75): time 0.002576/0.02179, allocations: 1.269 MB / 290.2 MB, free: 172 kB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.202e-05/0.02183, allocations: 111.5 kB / 290.3 MB, free: 36 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.09074/0.1126, allocations: 0.5305 MB / 290.8 MB, free: 29.86 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001239/0.1127, allocations: 40.86 kB / 290.8 MB, free: 29.83 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002107/0.1129, allocations: 401.6 kB / 291.2 MB, free: 29.74 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001297/0.113, allocations: 251.8 kB / 291.5 MB, free: 29.61 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001422/0.1132, allocations: 131.4 kB / 291.6 MB, free: 29.59 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.794e-05/0.1132, allocations: 400.3 kB / 292 MB, free: 29.28 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001229/0.1134, allocations: 69.73 kB / 292.1 MB, free: 29.28 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001748/0.1135, allocations: 283.5 kB / 292.3 MB, free: 29.05 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003333/0.1139, allocations: 353.1 kB / 292.7 MB, free: 28.91 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.1139, allocations: 1.688 kB / 292.7 MB, free: 28.91 MB / 266.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0006113/0.1145, allocations: 469.1 kB / 293.1 MB, free: 28.86 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.1145, allocations: 5.5 kB / 293.2 MB, free: 28.86 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.747e-06/0.1145, allocations: 5.125 kB / 293.2 MB, free: 28.86 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000459/0.115, allocations: 201.2 kB / 293.4 MB, free: 28.84 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002127/0.1152, allocations: 93.3 kB / 293.4 MB, free: 28.84 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002339/0.1175, allocations: 2.778 MB / 296.2 MB, free: 27.44 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002297/0.1178, allocations: 65.73 kB / 296.3 MB, free: 27.43 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.999e-05/0.1178, allocations: 18.36 kB / 296.3 MB, free: 27.43 MB / 266.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: 15 (meanVoltage.y_last,$PRE.meanVoltage.y_last,meanCurrent.y_last,$PRE.meanCurrent.y_last,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y_last,$PRE.rootMeanSquareVoltage.mean.y_last,rectifier.diode_n.idealDiode[3].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 54 * 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 {(6,30)} Notification: Performance of prepare postOptimizeDAE: time 0.0001816/0.118, allocations: 163 kB / 296.5 MB, free: 27.3 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.521e-05/0.1181, allocations: 80.64 kB / 296.5 MB, free: 27.3 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.872e-05/0.1182, allocations: 101.9 kB / 296.6 MB, free: 27.28 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.1182, allocations: 7.688 kB / 296.6 MB, free: 27.28 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.1182, allocations: 0.7031 kB / 296.6 MB, free: 27.28 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.1182, allocations: 6.375 kB / 296.7 MB, free: 27.28 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001298/0.1195, allocations: 1.049 MB / 297.7 MB, free: 27.04 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.1195, allocations: 3.203 kB / 297.7 MB, free: 27.04 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001429/0.1196, allocations: 55.17 kB / 297.8 MB, free: 27.04 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003862/0.12, allocations: 205.3 kB / 298 MB, free: 27.03 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.028e-05/0.12, allocations: 14.34 kB / 298 MB, free: 27.03 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002234/0.1223, allocations: 2.787 MB / 300.8 MB, free: 25.4 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1223, allocations: 0 / 300.8 MB, free: 25.4 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006869/0.123, allocations: 0.631 MB / 301.4 MB, free: 25.19 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001705/0.1231, allocations: 125.7 kB / 301.5 MB, free: 25.12 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.388e-05/0.1232, allocations: 17.09 kB / 301.5 MB, free: 25.11 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000172/0.1234, allocations: 22.02 kB / 301.6 MB, free: 25.1 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000105/0.1235, allocations: 68.27 kB / 301.6 MB, free: 25.08 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.507e-05/0.1235, allocations: 14.36 kB / 301.6 MB, free: 25.08 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002249/0.1237, allocations: 265.1 kB / 301.9 MB, free: 25.04 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1237, allocations: 3.391 kB / 301.9 MB, free: 25.04 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005783/0.1243, allocations: 346.2 kB / 302.2 MB, free: 24.98 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * 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 (40): * Single equations (assignments): 36 * 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 {(6,30)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001117/0.1244, allocations: 124.5 kB / 302.4 MB, free: 24.89 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007007/0.1251, allocations: 0.6585 MB / 303 MB, free: 24.63 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.424e-06/0.1251, allocations: 6.656 kB / 303 MB, free: 24.63 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004241/0.1255, allocations: 0.5231 MB / 303.5 MB, free: 24.38 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005309/0.1261, allocations: 264.7 kB / 303.8 MB, free: 24.3 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002035/0.1281, allocations: 1.941 MB / 305.7 MB, free: 23.36 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001987/0.1283, allocations: 313.7 kB / 306.1 MB, free: 23.27 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001845/0.1285, allocations: 88.56 kB / 306.1 MB, free: 23.25 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003299/0.1288, allocations: 258.5 kB / 306.4 MB, free: 23.19 MB / 266.7 MB Notification: Performance of SimCode: time 5.91e-07/0.1288, allocations: 0 / 306.4 MB, free: 23.19 MB / 266.7 MB Notification: Performance of Templates: time 0.01739/0.1462, allocations: 19.48 MB / 325.9 MB, free: 5 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2mPulse/DiodeBridge2mPulse/DiodeBridge2mPulse.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.7564824228174984]