Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) 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.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_3.2.3_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_3.2.3_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.001328/0.001328, allocations: 107.5 kB / 18.4 MB, free: 4.699 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.001362/0.001362, allocations: 187.1 kB / 19.33 MB, free: 3.781 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.315/1.315, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001409/0.001409, allocations: 51.92 kB / 329.2 MB, free: 3.289 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09029/0.09171, allocations: 46.62 MB / 375.8 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.1926/0.2844, allocations: 4.658 MB / 380.5 MB, free: 9.707 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00261/0.287, allocations: 1.345 MB / 381.8 MB, free: 9.688 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007386/0.2878, allocations: 27.16 kB / 381.9 MB, free: 9.688 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008306/0.2887, allocations: 215.1 kB / 382.1 MB, free: 9.613 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001274/0.29, allocations: 346.4 kB / 382.4 MB, free: 9.504 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006646/0.2906, allocations: 207.8 kB / 382.6 MB, free: 9.496 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00224/0.2929, allocations: 1.556 MB / 384.2 MB, free: 9.113 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00134/0.2943, allocations: 0.9076 MB / 385.1 MB, free: 8.773 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001134/0.2954, allocations: 0.6429 MB / 385.7 MB, free: 8.48 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001463/0.2969, allocations: 0.7557 MB / 386.5 MB, free: 8.141 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004652/0.2974, allocations: 163.5 kB / 386.6 MB, free: 8.141 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006161/0.298, allocations: 162.2 kB / 386.8 MB, free: 8.141 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005832/0.2986, allocations: 440.1 kB / 387.2 MB, free: 7.898 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001376/0.3, allocations: 0.7226 MB / 388 MB, free: 7.43 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002526/0.3025, allocations: 2.072 MB / 390 MB, free: 6.711 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.3025, allocations: 1.156 kB / 390 MB, free: 6.711 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.013e-06/0.3025, allocations: 0 / 390 MB, free: 6.711 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.458e-05/0.3026, allocations: 7.938 kB / 390 MB, free: 6.703 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.003945/0.3066, allocations: 1.618 MB / 391.6 MB, free: 5.703 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.3066, allocations: 9 kB / 391.7 MB, free: 5.703 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002466/0.3069, allocations: 137.1 kB / 391.8 MB, free: 5.637 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00121/0.3081, allocations: 0.8775 MB / 392.7 MB, free: 5.098 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.461e-05/0.3081, allocations: 73.84 kB / 392.7 MB, free: 5.062 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001732/0.3083, allocations: 102.4 kB / 392.8 MB, free: 5.027 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002407/0.3107, allocations: 1.438 MB / 394.3 MB, free: 4.418 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.887e-05/0.3108, allocations: 1.156 kB / 394.3 MB, free: 4.418 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001044/0.3109, allocations: 41.41 kB / 394.3 MB, free: 4.387 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.397e-05/0.311, allocations: 41.61 kB / 394.4 MB, free: 4.383 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002055/0.313, allocations: 1.29 MB / 395.7 MB, free: 3.91 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005747/0.3188, allocations: 4.271 MB / 399.9 MB, free: 1.484 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001713/0.3205, allocations: 1.969 MB / 401.9 MB, free: 15.75 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001351/0.3219, allocations: 0.7403 MB / 402.6 MB, free: 15.39 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.769e-05/0.322, allocations: 18.16 kB / 402.6 MB, free: 15.39 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009485/0.3229, allocations: 0.5939 MB / 403.2 MB, free: 15 MB / 334.1 MB Notification: Performance of pre-optimization done (n=75): time 2.695e-06/0.3229, allocations: 0 / 403.2 MB, free: 15 MB / 334.1 MB Notification: Performance of matching and sorting (n=75): time 0.007155/0.3301, allocations: 2.823 MB / 406.1 MB, free: 13.46 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.684e-05/0.3302, allocations: 120 kB / 406.2 MB, free: 13.32 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001192/0.3314, allocations: 0.8161 MB / 407 MB, free: 12.87 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 8.169e-05/0.3315, allocations: 41.86 kB / 407 MB, free: 12.83 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004279/0.3319, allocations: 485.8 kB / 407.5 MB, free: 12.41 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002126/0.3322, allocations: 242.9 kB / 407.8 MB, free: 12.21 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002242/0.3324, allocations: 130 kB / 407.9 MB, free: 12.14 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001823/0.3326, allocations: 400.7 kB / 408.3 MB, free: 11.76 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006233/0.3332, allocations: 400.1 kB / 408.7 MB, free: 11.55 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007361/0.334, allocations: 0.5472 MB / 409.2 MB, free: 11.15 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001285/0.3352, allocations: 0.9246 MB / 410.1 MB, free: 10.56 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.466e-06/0.3353, allocations: 2.219 kB / 410.1 MB, free: 10.56 MB / 334.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.00218/0.3375, allocations: 1.307 MB / 411.4 MB, free: 9.859 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/0.3375, allocations: 6.906 kB / 411.4 MB, free: 9.859 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/0.3375, allocations: 8.125 kB / 411.5 MB, free: 9.855 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001112/0.3386, allocations: 470.8 kB / 411.9 MB, free: 9.613 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000377/0.339, allocations: 98.58 kB / 412 MB, free: 9.586 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007721/0.3467, allocations: 5.572 MB / 417.6 MB, free: 4.438 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008232/0.3476, allocations: 83.39 kB / 417.7 MB, free: 4.355 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001233/0.3477, allocations: 28 kB / 417.7 MB, free: 4.328 MB / 334.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,$PRE.meanVoltage.y,meanCurrent.y,$PRE.meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y,$PRE.rootMeanSquareVoltage.mean.y,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.0009899/0.3488, allocations: 463.1 kB / 418.1 MB, free: 3.863 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000318/0.3491, allocations: 79.06 kB / 418.2 MB, free: 3.785 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003458/0.3494, allocations: 116.5 kB / 418.3 MB, free: 3.668 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/0.3494, allocations: 8 kB / 418.3 MB, free: 3.66 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/0.3495, allocations: 0 / 418.3 MB, free: 3.66 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.828e-06/0.3495, allocations: 3.984 kB / 418.3 MB, free: 3.656 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00475/0.3542, allocations: 2.602 MB / 420.9 MB, free: 1.008 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-06/0.3543, allocations: 0 / 420.9 MB, free: 1.008 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002995/0.3546, allocations: 63.89 kB / 421 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009798/0.3556, allocations: 460.8 kB / 421.5 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.617e-05/0.3556, allocations: 12 kB / 421.5 MB, free: 492 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006982/0.3626, allocations: 5.501 MB / 427 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.3627, allocations: 0 / 427 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002943/0.3656, allocations: 1.917 MB / 428.9 MB, free: 8.906 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005433/0.3662, allocations: 267.9 kB / 429.2 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002228/0.3664, allocations: 16 kB / 429.2 MB, free: 8.609 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005152/0.3669, allocations: 44.03 kB / 429.2 MB, free: 8.566 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002043/0.3671, allocations: 76.53 kB / 429.3 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.859e-05/0.3672, allocations: 23.94 kB / 429.3 MB, free: 8.469 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008963/0.3681, allocations: 0.5927 MB / 429.9 MB, free: 7.883 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3681, allocations: 4 kB / 429.9 MB, free: 7.879 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00122/0.3693, allocations: 335.1 kB / 430.2 MB, free: 7.551 MB / 350.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,rootMeanSquareVoltage.mean.y,meanCurrent.y) * 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.0002171/0.3696, allocations: 123.2 kB / 430.4 MB, free: 7.422 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00223/0.3718, allocations: 1.278 MB / 431.6 MB, free: 6.133 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/0.3718, allocations: 7.609 kB / 431.6 MB, free: 6.129 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001286/0.3731, allocations: 0.82 MB / 432.5 MB, free: 5.289 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001386/0.3745, allocations: 280.5 kB / 432.7 MB, free: 5.02 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004293/0.3788, allocations: 2.313 MB / 435 MB, free: 2.672 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009932/0.3798, allocations: 1.296 MB / 436.3 MB, free: 1.348 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002156/0.3801, allocations: 59.42 kB / 436.4 MB, free: 1.293 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3801, allocations: 0 / 436.4 MB, free: 1.293 MB / 350.1 MB Notification: Performance of Templates: time 0.02847/0.4085, allocations: 20.62 MB / 457 MB, free: 12.63 MB / 382.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2mPulse/DiodeBridge2mPulse/DiodeBridge2mPulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches