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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=1000,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=1000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001278/0.001278, allocations: 115.4 kB / 17.69 MB, free: 5.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001566/0.001566, allocations: 191 kB / 18.63 MB, free: 4.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 222.9 MB / 242.3 MB, free: 15.19 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001957/0.001957, allocations: 45.95 kB / 302.1 MB, free: 5.168 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1527/0.1547, allocations: 49.46 MB / 351.5 MB, free: 3.691 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.006784/0.1615, allocations: 4.713 MB / 356.2 MB, free: 14.95 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002836/0.1644, allocations: 1.301 MB / 357.5 MB, free: 13.64 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004261/0.1648, allocations: 27.88 kB / 357.6 MB, free: 13.62 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007293/0.1656, allocations: 214.4 kB / 357.8 MB, free: 13.41 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008516/0.1665, allocations: 346 kB / 358.1 MB, free: 13.07 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004117/0.1669, allocations: 207.7 kB / 358.3 MB, free: 12.86 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001445/0.1684, allocations: 1.537 MB / 359.9 MB, free: 11.32 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00108/0.1694, allocations: 0.965 MB / 360.8 MB, free: 10.33 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007822/0.1702, allocations: 0.6385 MB / 361.5 MB, free: 9.688 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000889/0.1711, allocations: 0.7627 MB / 362.2 MB, free: 8.922 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001829/0.1713, allocations: 164 kB / 362.4 MB, free: 8.762 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002102/0.1716, allocations: 164 kB / 362.5 MB, free: 8.602 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003711/0.1719, allocations: 442.8 kB / 363 MB, free: 8.168 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007133/0.1727, allocations: 0.7272 MB / 363.7 MB, free: 7.438 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001638/0.1743, allocations: 2.072 MB / 365.8 MB, free: 5.359 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.1743, allocations: 0 / 365.8 MB, free: 5.359 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.185e-06/0.1743, allocations: 4 kB / 365.8 MB, free: 5.355 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.335e-05/0.1744, allocations: 0 / 365.8 MB, free: 5.355 MB / 302.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.002862/0.1772, allocations: 1.634 MB / 367.4 MB, free: 3.664 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.1773, allocations: 8.031 kB / 367.4 MB, free: 3.656 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002262/0.1775, allocations: 143.3 kB / 367.6 MB, free: 3.516 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001509/0.179, allocations: 0.9423 MB / 368.5 MB, free: 2.531 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.968e-05/0.1791, allocations: 74.38 kB / 368.6 MB, free: 2.457 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001758/0.1793, allocations: 104.1 kB / 368.7 MB, free: 2.355 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002493/0.1818, allocations: 1.443 MB / 370.1 MB, free: 0.8828 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.813e-05/0.1818, allocations: 3.906 kB / 370.1 MB, free: 0.8789 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-05/0.1819, allocations: 40 kB / 370.2 MB, free: 0.8398 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.401e-05/0.182, allocations: 49.98 kB / 370.2 MB, free: 0.7891 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1917/0.3737, allocations: 1.287 MB / 371.5 MB, free: 25.53 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006415/0.3801, allocations: 4.293 MB / 375.8 MB, free: 23.32 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001563/0.3817, allocations: 1.965 MB / 377.8 MB, free: 21.75 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008119/0.3825, allocations: 0.6119 MB / 378.4 MB, free: 21.52 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.589e-05/0.3826, allocations: 8.625 kB / 378.4 MB, free: 21.52 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008412/0.3834, allocations: 0.5918 MB / 379 MB, free: 21.27 MB / 302.1 MB Notification: Performance of pre-optimization done (n=75): time 1.984e-06/0.3834, allocations: 1.594 kB / 379 MB, free: 21.27 MB / 302.1 MB Notification: Performance of matching and sorting (n=75): time 0.006441/0.3899, allocations: 2.75 MB / 381.7 MB, free: 20.5 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.784e-05/0.39, allocations: 117 kB / 381.8 MB, free: 20.37 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00104/0.391, allocations: 0.8247 MB / 382.7 MB, free: 20.04 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.224e-05/0.3911, allocations: 42.42 kB / 382.7 MB, free: 20 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000288/0.3914, allocations: 488.4 kB / 383.2 MB, free: 19.62 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001361/0.3915, allocations: 243.1 kB / 383.4 MB, free: 19.45 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001866/0.3917, allocations: 137.2 kB / 383.5 MB, free: 19.38 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.436e-05/0.3918, allocations: 389.4 kB / 383.9 MB, free: 19.03 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005227/0.3923, allocations: 396.7 kB / 384.3 MB, free: 18.84 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005861/0.3929, allocations: 0.5472 MB / 384.9 MB, free: 18.44 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00104/0.394, allocations: 0.9122 MB / 385.8 MB, free: 17.86 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.394, allocations: 6.219 kB / 385.8 MB, free: 17.86 MB / 302.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001747/0.3957, allocations: 1.308 MB / 387.1 MB, free: 17.16 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.3958, allocations: 5.906 kB / 387.1 MB, free: 17.16 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.3958, allocations: 7.25 kB / 387.1 MB, free: 17.16 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009232/0.3967, allocations: 486.9 kB / 387.6 MB, free: 16.9 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003389/0.3971, allocations: 90.8 kB / 387.7 MB, free: 16.88 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005532/0.4026, allocations: 5.582 MB / 393.2 MB, free: 12.88 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005437/0.4032, allocations: 81.11 kB / 393.3 MB, free: 12.83 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.033e-05/0.4032, allocations: 29.39 kB / 393.4 MB, free: 12.82 MB / 302.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.0005785/0.4038, allocations: 466.7 kB / 393.8 MB, free: 12.49 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001091/0.4039, allocations: 89.41 kB / 393.9 MB, free: 12.45 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001803/0.4041, allocations: 112 kB / 394 MB, free: 12.36 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.034e-06/0.4041, allocations: 8.328 kB / 394 MB, free: 12.36 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.4041, allocations: 3.016 kB / 394 MB, free: 12.36 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.4041, allocations: 3.984 kB / 394 MB, free: 12.36 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003268/0.4074, allocations: 2.59 MB / 396.6 MB, free: 10.74 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.4074, allocations: 5.562 kB / 396.6 MB, free: 10.74 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002697/0.4077, allocations: 65.92 kB / 396.7 MB, free: 10.72 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007939/0.4085, allocations: 466.9 kB / 397.1 MB, free: 10.48 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.262e-05/0.4086, allocations: 15.92 kB / 397.2 MB, free: 10.47 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004911/0.4135, allocations: 5.525 MB / 402.7 MB, free: 5 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.4135, allocations: 0 / 402.7 MB, free: 5 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002042/0.4156, allocations: 1.915 MB / 404.6 MB, free: 3.066 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004082/0.416, allocations: 267.9 kB / 404.9 MB, free: 2.785 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.798e-05/0.4161, allocations: 12 kB / 404.9 MB, free: 2.773 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003693/0.4165, allocations: 47.95 kB / 404.9 MB, free: 2.727 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001516/0.4166, allocations: 76.48 kB / 405 MB, free: 2.652 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.929e-05/0.4167, allocations: 19.98 kB / 405 MB, free: 2.633 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005703/0.4172, allocations: 0.5888 MB / 405.6 MB, free: 2.051 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4172, allocations: 0 / 405.6 MB, free: 2.051 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008221/0.4181, allocations: 343 kB / 405.9 MB, free: 1.715 MB / 302.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.0001381/0.4182, allocations: 138.6 kB / 406.1 MB, free: 1.57 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00154/0.4198, allocations: 1.285 MB / 407.4 MB, free: 284 kB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.4198, allocations: 0 / 407.4 MB, free: 284 kB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00105/0.4208, allocations: 0.8305 MB / 408.2 MB, free: 15.43 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009766/0.4218, allocations: 275.8 kB / 408.5 MB, free: 15.17 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003629/0.4255, allocations: 2.327 MB / 410.8 MB, free: 12.83 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008429/0.4263, allocations: 1.322 MB / 412.1 MB, free: 11.48 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003452/0.4267, allocations: 143.3 kB / 412.2 MB, free: 11.34 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001296/0.4268, allocations: 59.44 kB / 412.3 MB, free: 11.28 MB / 318.1 MB Notification: Performance of SimCode: time 4.01e-07/0.4268, allocations: 0 / 412.3 MB, free: 11.28 MB / 318.1 MB Notification: Performance of Templates: time 0.02713/0.4539, allocations: 19.57 MB / 431.9 MB, free: 7.973 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.makefile (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=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2mPulse/DiodeBridge2mPulse/DiodeBridge2mPulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches