Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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 trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00147/0.00147, allocations: 122.8 kB / 17.79 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.00194/0.001941, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.38/1.38, allocations: 227.4 MB / 246.9 MB, free: 10.55 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 63.89 kB / 358.7 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2834/0.2846, allocations: 50.54 MB / 409.3 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.006424/0.2911, allocations: 4.752 MB / 414 MB, free: 12.8 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002989/0.2941, allocations: 1.367 MB / 415.4 MB, free: 11.43 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000456/0.2946, allocations: 31.88 kB / 415.4 MB, free: 11.4 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006904/0.2953, allocations: 210.4 kB / 415.6 MB, free: 11.2 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008223/0.2962, allocations: 354 kB / 416 MB, free: 10.85 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004636/0.2967, allocations: 227.6 kB / 416.2 MB, free: 10.62 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001591/0.2983, allocations: 1.545 MB / 417.7 MB, free: 9.074 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001075/0.2994, allocations: 0.9725 MB / 418.7 MB, free: 8.066 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007677/0.3002, allocations: 0.6503 MB / 419.4 MB, free: 7.414 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009349/0.3011, allocations: 0.7627 MB / 420.1 MB, free: 6.648 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002865/0.3014, allocations: 171.9 kB / 420.3 MB, free: 6.48 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003013/0.3017, allocations: 168 kB / 420.5 MB, free: 6.316 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004228/0.3021, allocations: 442.7 kB / 420.9 MB, free: 5.883 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007056/0.3029, allocations: 0.7272 MB / 421.6 MB, free: 5.152 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001971/0.3048, allocations: 2.104 MB / 423.7 MB, free: 3.043 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.772e-06/0.3049, allocations: 4 kB / 423.7 MB, free: 3.039 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3049, allocations: 0 / 423.7 MB, free: 3.039 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.117e-05/0.3049, allocations: 0 / 423.7 MB, free: 3.039 MB / 334.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.003317/0.3082, allocations: 1.65 MB / 425.4 MB, free: 1.336 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.054e-05/0.3083, allocations: 8.031 kB / 425.4 MB, free: 1.328 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005403/0.3088, allocations: 175.2 kB / 425.5 MB, free: 1.156 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001598/0.3105, allocations: 0.9696 MB / 426.5 MB, free: 148 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.549e-05/0.3105, allocations: 70.38 kB / 426.6 MB, free: 80 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000191/0.3107, allocations: 104.2 kB / 426.7 MB, free: 15.97 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002434/0.3132, allocations: 1.443 MB / 428.1 MB, free: 14.5 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.353e-05/0.3132, allocations: 4 kB / 428.1 MB, free: 14.5 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001014/0.3133, allocations: 39.98 kB / 428.2 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.923e-05/0.3134, allocations: 42 kB / 428.2 MB, free: 14.42 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002288/0.3157, allocations: 1.296 MB / 429.5 MB, free: 13.12 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006306/0.322, allocations: 4.3 MB / 433.8 MB, free: 8.723 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001969/0.324, allocations: 1.963 MB / 435.8 MB, free: 6.543 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001221/0.3252, allocations: 0.7312 MB / 436.5 MB, free: 5.809 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.551e-05/0.3253, allocations: 16.59 kB / 436.5 MB, free: 5.793 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009597/0.3262, allocations: 0.5937 MB / 437.1 MB, free: 5.18 MB / 350.1 MB Notification: Performance of pre-optimization done (n=75): time 2.414e-06/0.3263, allocations: 0 / 437.1 MB, free: 5.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=75): time 0.007582/0.3338, allocations: 2.82 MB / 439.9 MB, free: 2.332 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001012/0.334, allocations: 119.4 kB / 440.1 MB, free: 2.188 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00123/0.3352, allocations: 0.8481 MB / 440.9 MB, free: 1.328 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.68e-05/0.3353, allocations: 41.7 kB / 440.9 MB, free: 1.281 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004791/0.3358, allocations: 491.8 kB / 441.4 MB, free: 0.793 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002424/0.336, allocations: 244.5 kB / 441.7 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002205/0.3363, allocations: 134.6 kB / 441.8 MB, free: 424 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.3364, allocations: 337.9 kB / 442.1 MB, free: 80 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006385/0.3371, allocations: 397.7 kB / 442.5 MB, free: 15.69 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007131/0.3378, allocations: 0.5416 MB / 443.1 MB, free: 15.09 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001312/0.3391, allocations: 0.9113 MB / 444 MB, free: 14.12 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.483e-06/0.3391, allocations: 0 / 444 MB, free: 14.12 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002269/0.3414, allocations: 1.303 MB / 445.3 MB, free: 12.81 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.851e-05/0.3415, allocations: 15.92 kB / 445.3 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/0.3415, allocations: 4.469 kB / 445.3 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00111/0.3426, allocations: 472.4 kB / 445.7 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003782/0.343, allocations: 91.83 kB / 445.8 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007296/0.3503, allocations: 5.582 MB / 451.4 MB, free: 6.508 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006664/0.351, allocations: 79.42 kB / 451.5 MB, free: 6.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.799e-05/0.3511, allocations: 31.94 kB / 451.5 MB, free: 6.398 MB / 366.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.0007892/0.3519, allocations: 470.7 kB / 452 MB, free: 5.93 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001501/0.352, allocations: 90.88 kB / 452.1 MB, free: 5.84 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003161/0.3523, allocations: 112.7 kB / 452.2 MB, free: 5.723 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.084e-06/0.3524, allocations: 8 kB / 452.2 MB, free: 5.715 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.3524, allocations: 0 / 452.2 MB, free: 5.715 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.087e-06/0.3524, allocations: 7.984 kB / 452.2 MB, free: 5.707 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003929/0.3563, allocations: 2.602 MB / 454.8 MB, free: 3.043 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/0.3563, allocations: 4 kB / 454.8 MB, free: 3.039 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002975/0.3566, allocations: 59.91 kB / 454.9 MB, free: 2.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001047/0.3577, allocations: 456.5 kB / 455.3 MB, free: 2.531 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.776e-05/0.3578, allocations: 12 kB / 455.3 MB, free: 2.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007124/0.3649, allocations: 5.496 MB / 460.8 MB, free: 12.88 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/0.3649, allocations: 128 / 460.8 MB, free: 12.88 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003/0.368, allocations: 1.913 MB / 462.7 MB, free: 10.95 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005513/0.3685, allocations: 287.9 kB / 463 MB, free: 10.65 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001186/0.3687, allocations: 15.98 kB / 463 MB, free: 10.63 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004463/0.3691, allocations: 35.95 kB / 463.1 MB, free: 10.6 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002225/0.3693, allocations: 76.53 kB / 463.1 MB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.599e-05/0.3694, allocations: 20 kB / 463.2 MB, free: 10.5 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009217/0.3703, allocations: 0.6005 MB / 463.8 MB, free: 9.906 MB / 382.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3703, allocations: 0 / 463.8 MB, free: 9.906 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001188/0.3715, allocations: 347 kB / 464.1 MB, free: 9.566 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.0002205/0.3718, allocations: 135.1 kB / 464.2 MB, free: 9.426 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00218/0.374, allocations: 1.282 MB / 465.5 MB, free: 8.125 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.374, allocations: 0 / 465.5 MB, free: 8.125 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001331/0.3753, allocations: 0.8287 MB / 466.3 MB, free: 7.289 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001242/0.3766, allocations: 286.1 kB / 466.6 MB, free: 7.012 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004354/0.3809, allocations: 2.328 MB / 468.9 MB, free: 4.66 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009524/0.3819, allocations: 1.333 MB / 470.3 MB, free: 3.301 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004452/0.3824, allocations: 139.4 kB / 470.4 MB, free: 3.16 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001455/0.3825, allocations: 59.42 kB / 470.5 MB, free: 3.102 MB / 382.1 MB Notification: Performance of SimCode: time 8.71e-07/0.3825, allocations: 0 / 470.5 MB, free: 3.102 MB / 382.1 MB Notification: Performance of Templates: time 0.03229/0.4148, allocations: 19.89 MB / 490.4 MB, free: 15.41 MB / 414.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe 2>&1) diffSimulationResults("Modelica_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches