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.001258/0.001258, allocations: 85.05 kB / 21.5 MB, free: 2.992 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.0009578/0.0009578, allocations: 145.7 kB / 24.89 MB, free: 8.742 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.8802/0.8802, allocations: 173.4 MB / 201.5 MB, free: 8.27 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.082e-06/1.082e-06, allocations: 0 / 268.5 MB, free: 9.719 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.192e-05/1.3e-05, allocations: 2.938 kB / 268.5 MB, free: 9.715 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.003978/0.003991, allocations: 4.656 MB / 273.2 MB, free: 5.047 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002187/0.006178, allocations: 1.328 MB / 274.5 MB, free: 3.723 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000343/0.006521, allocations: 35.75 kB / 274.6 MB, free: 3.688 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004826/0.007004, allocations: 239 kB / 274.8 MB, free: 3.453 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006898/0.007694, allocations: 376 kB / 275.2 MB, free: 3.086 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003097/0.008003, allocations: 207.6 kB / 275.4 MB, free: 2.883 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001098/0.009101, allocations: 1.587 MB / 277 MB, free: 1.289 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005262/0.009627, allocations: 0.5632 MB / 277.5 MB, free: 0.6797 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008708/0.0105, allocations: 0.9552 MB / 278.5 MB, free: 15.72 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007781/0.01128, allocations: 0.7482 MB / 279.2 MB, free: 14.97 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001779/0.01145, allocations: 164 kB / 279.4 MB, free: 14.81 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001612/0.01162, allocations: 164 kB / 279.5 MB, free: 14.65 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002562/0.01187, allocations: 462.7 kB / 280 MB, free: 14.2 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003827/0.01225, allocations: 0.5028 MB / 280.5 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008639/0.01312, allocations: 1.215 MB / 281.7 MB, free: 12.48 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.01312, allocations: 0 / 281.7 MB, free: 12.48 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.01312, allocations: 0 / 281.7 MB, free: 12.48 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.844e-05/0.01314, allocations: 0 / 281.7 MB, free: 12.48 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.001635/0.01477, allocations: 1.478 MB / 283.2 MB, free: 10.96 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.888e-05/0.0148, allocations: 8.031 kB / 283.2 MB, free: 10.96 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001839/0.01499, allocations: 164.8 kB / 283.4 MB, free: 10.8 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006624/0.01565, allocations: 0.5872 MB / 284 MB, free: 10.18 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.327e-05/0.01569, allocations: 74.38 kB / 284 MB, free: 10.11 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001044/0.0158, allocations: 104.4 kB / 284.1 MB, free: 10.01 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008451/0.01664, allocations: 0.8175 MB / 284.9 MB, free: 9.145 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.164e-05/0.01666, allocations: 7.875 kB / 284.9 MB, free: 9.137 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.874e-05/0.01672, allocations: 36 kB / 285 MB, free: 9.102 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.185e-05/0.01677, allocations: 45.98 kB / 285 MB, free: 9.055 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003728/0.01714, allocations: 245.8 kB / 285.3 MB, free: 8.816 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002448/0.01959, allocations: 2.534 MB / 287.8 MB, free: 6.211 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005101/0.0201, allocations: 0.4964 MB / 288.3 MB, free: 5.711 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003618/0.02046, allocations: 318.4 kB / 288.6 MB, free: 5.391 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.883e-05/0.02049, allocations: 12.66 kB / 288.6 MB, free: 5.379 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003122/0.0208, allocations: 363.3 kB / 289 MB, free: 4.988 MB / 266.7 MB Notification: Performance of pre-optimization done (n=75): time 2.324e-06/0.0208, allocations: 0 / 289 MB, free: 4.988 MB / 266.7 MB Notification: Performance of matching and sorting (n=75): time 0.002644/0.02344, allocations: 1.277 MB / 290.3 MB, free: 3.703 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.489e-05/0.02349, allocations: 111.5 kB / 290.4 MB, free: 3.57 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003475/0.02384, allocations: 0.5273 MB / 290.9 MB, free: 3.031 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.932e-05/0.02388, allocations: 41.7 kB / 290.9 MB, free: 2.984 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001699/0.02405, allocations: 406.6 kB / 291.3 MB, free: 2.582 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001215/0.02417, allocations: 249.8 kB / 291.6 MB, free: 2.336 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001309/0.0243, allocations: 130.5 kB / 291.7 MB, free: 2.203 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001065/0.02441, allocations: 398.5 kB / 292.1 MB, free: 1.805 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001016/0.02451, allocations: 69.97 kB / 292.2 MB, free: 1.738 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002008/0.02471, allocations: 290.2 kB / 292.4 MB, free: 1.383 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003316/0.02504, allocations: 358.1 kB / 292.8 MB, free: 0.9805 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.02504, allocations: 0 / 292.8 MB, free: 0.9805 MB / 266.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.000529/0.02557, allocations: 453.8 kB / 293.2 MB, free: 0.5273 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.02559, allocations: 15.92 kB / 293.3 MB, free: 0.5117 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/0.0256, allocations: 4 kB / 293.3 MB, free: 0.5078 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000403/0.026, allocations: 209.7 kB / 293.5 MB, free: 308 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001959/0.0262, allocations: 99.88 kB / 293.6 MB, free: 208 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002761/0.02896, allocations: 2.777 MB / 296.3 MB, free: 13.33 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000391/0.02935, allocations: 67.61 kB / 296.4 MB, free: 13.26 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.37e-05/0.02938, allocations: 20 kB / 296.4 MB, free: 13.24 MB / 282.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.0002926/0.02967, allocations: 162.5 kB / 296.6 MB, free: 13.07 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001139/0.02979, allocations: 83.91 kB / 296.7 MB, free: 12.99 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001199/0.02991, allocations: 100.3 kB / 296.8 MB, free: 12.89 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.86e-06/0.02991, allocations: 7.938 kB / 296.8 MB, free: 12.88 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.02992, allocations: 4 kB / 296.8 MB, free: 12.88 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.02992, allocations: 3.984 kB / 296.8 MB, free: 12.88 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001556/0.03148, allocations: 1.044 MB / 297.8 MB, free: 11.8 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.756e-06/0.03148, allocations: 3.938 kB / 297.8 MB, free: 11.79 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000161/0.03164, allocations: 55.97 kB / 297.9 MB, free: 11.74 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004181/0.03206, allocations: 211.3 kB / 298.1 MB, free: 11.53 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.518e-05/0.0321, allocations: 12 kB / 298.1 MB, free: 11.52 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00262/0.03472, allocations: 2.798 MB / 300.9 MB, free: 8.617 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.03472, allocations: 3.938 kB / 300.9 MB, free: 8.613 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007309/0.03545, allocations: 0.6257 MB / 301.5 MB, free: 7.965 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001915/0.03564, allocations: 127.2 kB / 301.6 MB, free: 7.84 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.253e-05/0.0357, allocations: 16 kB / 301.7 MB, free: 7.824 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001702/0.03587, allocations: 19.98 kB / 301.7 MB, free: 7.805 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001279/0.036, allocations: 72.41 kB / 301.8 MB, free: 7.734 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.659e-05/0.03603, allocations: 15.98 kB / 301.8 MB, free: 7.719 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002195/0.03625, allocations: 264.6 kB / 302 MB, free: 7.465 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.03625, allocations: 4 kB / 302 MB, free: 7.461 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006603/0.03691, allocations: 347.2 kB / 302.4 MB, free: 7.121 MB / 282.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.0001624/0.03707, allocations: 116.3 kB / 302.5 MB, free: 7 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0008056/0.03788, allocations: 0.6599 MB / 303.1 MB, free: 6.328 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.111e-05/0.03789, allocations: 8 kB / 303.1 MB, free: 6.32 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004874/0.03838, allocations: 0.5142 MB / 303.7 MB, free: 5.789 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005541/0.03893, allocations: 270.7 kB / 303.9 MB, free: 5.523 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002551/0.04148, allocations: 1.935 MB / 305.9 MB, free: 3.559 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000252/0.04173, allocations: 316 kB / 306.2 MB, free: 3.227 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002139/0.04195, allocations: 91.06 kB / 306.3 MB, free: 3.133 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003874/0.04233, allocations: 249.1 kB / 306.5 MB, free: 2.887 MB / 282.7 MB Notification: Performance of SimCode: time 1.312e-06/0.04233, allocations: 0 / 306.5 MB, free: 2.887 MB / 282.7 MB Notification: Performance of Templates: time 0.02295/0.06528, allocations: 19.49 MB / 326 MB, free: 15.75 MB / 314.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 -s gbode -gbm=radauIIA3 -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.7447803709656]