Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001845/0.001845, allocations: 118.8 kB / 17.83 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002242/0.002242, allocations: 206 kB / 18.79 MB, free: 4.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.465/1.465, allocations: 230.4 MB / 250 MB, free: 8.996 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001875/0.001875, allocations: 67.84 kB / 367.4 MB, free: 7.012 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2436/0.2455, allocations: 53.3 MB / 420.7 MB, free: 8.332 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.006614/0.2521, allocations: 4.783 MB / 425.5 MB, free: 3.527 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00304/0.2552, allocations: 1.375 MB / 426.8 MB, free: 2.148 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004103/0.2556, allocations: 27.88 kB / 426.9 MB, free: 2.121 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007976/0.2564, allocations: 226.4 kB / 427.1 MB, free: 1.898 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001063/0.2574, allocations: 362 kB / 427.4 MB, free: 1.543 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006157/0.258, allocations: 219.6 kB / 427.6 MB, free: 1.328 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002501/0.2605, allocations: 1.549 MB / 429.2 MB, free: 15.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001303/0.2619, allocations: 0.7191 MB / 429.9 MB, free: 15.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001236/0.2631, allocations: 0.6503 MB / 430.6 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00154/0.2646, allocations: 0.7783 MB / 431.3 MB, free: 13.58 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003218/0.2649, allocations: 168 kB / 431.5 MB, free: 13.42 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004219/0.2654, allocations: 172 kB / 431.7 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000573/0.2659, allocations: 446.7 kB / 432.1 MB, free: 12.81 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001097/0.267, allocations: 0.7349 MB / 432.8 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003276/0.2703, allocations: 2.11 MB / 435 MB, free: 9.957 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.2703, allocations: 0 / 435 MB, free: 9.957 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.2703, allocations: 0 / 435 MB, free: 9.957 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.673e-05/0.2704, allocations: 0 / 435 MB, free: 9.957 MB / 350.1 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.004537/0.2749, allocations: 1.688 MB / 436.6 MB, free: 8.215 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/0.275, allocations: 8.031 kB / 436.7 MB, free: 8.207 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006815/0.2756, allocations: 176 kB / 436.8 MB, free: 8.035 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001612/0.2773, allocations: 0.9703 MB / 437.8 MB, free: 7.023 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.523e-05/0.2773, allocations: 74.38 kB / 437.9 MB, free: 6.953 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001913/0.2775, allocations: 104.1 kB / 438 MB, free: 6.852 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002555/0.2801, allocations: 1.447 MB / 439.4 MB, free: 5.371 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.972e-05/0.2801, allocations: 3.938 kB / 439.4 MB, free: 5.367 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001068/0.2802, allocations: 44 kB / 439.5 MB, free: 5.324 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.193e-05/0.2803, allocations: 41.98 kB / 439.5 MB, free: 5.285 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002294/0.2826, allocations: 1.292 MB / 440.8 MB, free: 3.992 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009463/0.292, allocations: 4.317 MB / 445.1 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003034/0.2951, allocations: 1.896 MB / 447 MB, free: 13.46 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001896/0.297, allocations: 0.6766 MB / 447.7 MB, free: 12.79 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.113e-05/0.297, allocations: 8.656 kB / 447.7 MB, free: 12.78 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00144/0.2985, allocations: 0.5976 MB / 448.3 MB, free: 12.16 MB / 366.1 MB Notification: Performance of pre-optimization done (n=75): time 3.306e-06/0.2985, allocations: 0 / 448.3 MB, free: 12.16 MB / 366.1 MB Notification: Performance of matching and sorting (n=75): time 0.01113/0.3096, allocations: 2.816 MB / 451.1 MB, free: 9.32 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.546e-05/0.3097, allocations: 115.5 kB / 451.2 MB, free: 9.18 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001207/0.3109, allocations: 0.8442 MB / 452.1 MB, free: 8.324 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.545e-05/0.311, allocations: 41.7 kB / 452.1 MB, free: 8.277 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004544/0.3114, allocations: 0.489 MB / 452.6 MB, free: 7.781 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002481/0.3117, allocations: 257.9 kB / 452.8 MB, free: 7.527 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002537/0.3119, allocations: 134.6 kB / 453 MB, free: 7.391 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001525/0.3121, allocations: 334 kB / 453.3 MB, free: 7.059 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006636/0.3127, allocations: 397.7 kB / 453.7 MB, free: 6.668 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008041/0.3135, allocations: 0.5532 MB / 454.2 MB, free: 6.055 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001436/0.315, allocations: 0.9075 MB / 455.2 MB, free: 5.094 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.376e-06/0.315, allocations: 4 kB / 455.2 MB, free: 5.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002349/0.3173, allocations: 1.291 MB / 456.4 MB, free: 3.789 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.608e-05/0.3174, allocations: 10.66 kB / 456.5 MB, free: 3.781 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/0.3174, allocations: 4 kB / 456.5 MB, free: 3.777 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00119/0.3186, allocations: 465.7 kB / 456.9 MB, free: 3.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003792/0.3189, allocations: 95.88 kB / 457 MB, free: 3.227 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008017/0.327, allocations: 5.587 MB / 462.6 MB, free: 13.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006401/0.3276, allocations: 87.58 kB / 462.7 MB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.696e-05/0.3276, allocations: 31.94 kB / 462.7 MB, free: 13.38 MB / 382.1 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.0007381/0.3284, allocations: 463.2 kB / 463.2 MB, free: 12.91 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001445/0.3285, allocations: 91.44 kB / 463.3 MB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002201/0.3288, allocations: 116.7 kB / 463.4 MB, free: 12.7 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.634e-06/0.3288, allocations: 8 kB / 463.4 MB, free: 12.7 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.3288, allocations: 0 / 463.4 MB, free: 12.7 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.709e-06/0.3288, allocations: 3.984 kB / 463.4 MB, free: 12.69 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004197/0.333, allocations: 2.587 MB / 466 MB, free: 10.04 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.333, allocations: 4 kB / 466 MB, free: 10.04 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003366/0.3333, allocations: 63.89 kB / 466 MB, free: 9.977 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001051/0.3344, allocations: 460.6 kB / 466.5 MB, free: 9.523 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.529e-05/0.3344, allocations: 16 kB / 466.5 MB, free: 9.508 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007902/0.3423, allocations: 5.494 MB / 472 MB, free: 3.875 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.3423, allocations: 11.88 kB / 472 MB, free: 3.863 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003331/0.3457, allocations: 1.89 MB / 473.9 MB, free: 1.953 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005888/0.3462, allocations: 280.4 kB / 474.2 MB, free: 1.66 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002211/0.3465, allocations: 16 kB / 474.2 MB, free: 1.645 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005559/0.347, allocations: 39.95 kB / 474.2 MB, free: 1.605 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002675/0.3473, allocations: 80.42 kB / 474.3 MB, free: 1.527 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.665e-05/0.3474, allocations: 20 kB / 474.3 MB, free: 1.508 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009521/0.3483, allocations: 0.6005 MB / 474.9 MB, free: 0.9102 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3483, allocations: 0 / 474.9 MB, free: 0.9102 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001125/0.3494, allocations: 347.3 kB / 475.3 MB, free: 0.5703 MB / 382.1 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.0002271/0.3497, allocations: 139.2 kB / 475.4 MB, free: 436 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002517/0.3522, allocations: 1.259 MB / 476.7 MB, free: 15.14 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.3522, allocations: 4 kB / 476.7 MB, free: 15.14 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00142/0.3536, allocations: 0.7819 MB / 477.4 MB, free: 14.35 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001377/0.355, allocations: 281.7 kB / 477.7 MB, free: 14.08 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004563/0.3595, allocations: 2.38 MB / 480.1 MB, free: 11.68 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001143/0.3607, allocations: 1.333 MB / 481.4 MB, free: 10.32 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004471/0.3611, allocations: 147.4 kB / 481.6 MB, free: 10.17 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001686/0.3613, allocations: 51.44 kB / 481.6 MB, free: 10.12 MB / 398.1 MB Notification: Performance of SimCode: time 9.72e-07/0.3613, allocations: 0 / 481.6 MB, free: 10.12 MB / 398.1 MB Notification: Performance of Templates: time 0.03864/0.3999, allocations: 20.04 MB / 0.4899 GB, free: 6.328 MB / 414.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2mPulse/DiodeBridge2mPulse/DiodeBridge2mPulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches