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.001477/0.001477, allocations: 118.8 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001801/0.001801, 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.382/1.382, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001171/0.001171, allocations: 63.88 kB / 358.7 MB, free: 12.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2653/0.2665, allocations: 50.54 MB / 409.3 MB, free: 1.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.005914/0.2724, allocations: 4.756 MB / 414 MB, free: 12.78 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002534/0.275, allocations: 1.363 MB / 415.4 MB, free: 11.41 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003327/0.2753, allocations: 27.88 kB / 415.4 MB, free: 11.38 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006589/0.276, allocations: 226.4 kB / 415.6 MB, free: 11.16 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007824/0.2768, allocations: 358 kB / 416 MB, free: 10.81 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004768/0.2773, allocations: 227.6 kB / 416.2 MB, free: 10.59 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001483/0.2788, allocations: 1.549 MB / 417.8 MB, free: 9.031 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001118/0.2799, allocations: 0.9726 MB / 418.7 MB, free: 8.023 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009067/0.2808, allocations: 0.6503 MB / 419.4 MB, free: 7.371 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008746/0.2817, allocations: 0.7627 MB / 420.1 MB, free: 6.605 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001896/0.2819, allocations: 168 kB / 420.3 MB, free: 6.441 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002814/0.2822, allocations: 168 kB / 420.5 MB, free: 6.277 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003669/0.2826, allocations: 442.8 kB / 420.9 MB, free: 5.844 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007351/0.2833, allocations: 0.735 MB / 421.6 MB, free: 5.105 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001883/0.2852, allocations: 2.097 MB / 423.7 MB, free: 3.004 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.2852, allocations: 3.938 kB / 423.7 MB, free: 3 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2853, allocations: 0 / 423.7 MB, free: 3 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.669e-05/0.2853, allocations: 0 / 423.7 MB, free: 3 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.003023/0.2883, allocations: 1.658 MB / 425.4 MB, free: 1.289 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.2884, allocations: 8.031 kB / 425.4 MB, free: 1.281 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004547/0.2888, allocations: 171.2 kB / 425.6 MB, free: 1.113 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001343/0.2902, allocations: 0.9657 MB / 426.5 MB, free: 108 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.103e-05/0.2902, allocations: 74.38 kB / 426.6 MB, free: 36 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000164/0.2904, allocations: 100.2 kB / 426.7 MB, free: 15.93 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002187/0.2926, allocations: 1.443 MB / 428.1 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3e-05/0.2927, allocations: 3.984 kB / 428.2 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.709e-05/0.2928, allocations: 40 kB / 428.2 MB, free: 14.42 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-05/0.2928, allocations: 45.98 kB / 428.2 MB, free: 14.38 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002032/0.2949, allocations: 1.296 MB / 429.5 MB, free: 13.08 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006185/0.301, allocations: 4.3 MB / 433.8 MB, free: 8.68 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002049/0.3031, allocations: 1.966 MB / 435.8 MB, free: 6.496 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001236/0.3044, allocations: 0.7312 MB / 436.5 MB, free: 5.762 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.301e-05/0.3045, allocations: 8.656 kB / 436.5 MB, free: 5.754 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008884/0.3054, allocations: 0.5976 MB / 437.1 MB, free: 5.137 MB / 350.1 MB Notification: Performance of pre-optimization done (n=75): time 2.565e-06/0.3054, allocations: 0 / 437.1 MB, free: 5.137 MB / 350.1 MB Notification: Performance of matching and sorting (n=75): time 0.007489/0.3129, allocations: 2.82 MB / 440 MB, free: 2.289 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001158/0.313, allocations: 115.5 kB / 440.1 MB, free: 2.148 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001314/0.3143, allocations: 0.8442 MB / 440.9 MB, free: 1.293 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.747e-05/0.3144, allocations: 37.7 kB / 440.9 MB, free: 1.25 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004266/0.3148, allocations: 499.8 kB / 441.4 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002146/0.3151, allocations: 240.5 kB / 441.7 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002206/0.3153, allocations: 138.6 kB / 441.8 MB, free: 384 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000121/0.3154, allocations: 334 kB / 442.1 MB, free: 44 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006346/0.3161, allocations: 401.8 kB / 442.5 MB, free: 15.64 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007672/0.3168, allocations: 0.5416 MB / 443.1 MB, free: 15.04 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001334/0.3182, allocations: 0.9192 MB / 444 MB, free: 14.07 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.621e-06/0.3182, allocations: 0 / 444 MB, free: 14.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002156/0.3204, allocations: 1.303 MB / 445.3 MB, free: 12.76 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.435e-05/0.3204, allocations: 6.344 kB / 445.3 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.352e-05/0.3204, allocations: 4 kB / 445.3 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001121/0.3215, allocations: 473.7 kB / 445.8 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003564/0.3219, allocations: 91.83 kB / 445.9 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007012/0.3289, allocations: 5.586 MB / 451.4 MB, free: 6.469 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006604/0.3296, allocations: 79.48 kB / 451.5 MB, free: 6.391 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.52e-05/0.3297, allocations: 31.94 kB / 451.5 MB, free: 6.359 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.0007004/0.3304, allocations: 470.6 kB / 452 MB, free: 5.891 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000142/0.3305, allocations: 90.88 kB / 452.1 MB, free: 5.801 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002157/0.3308, allocations: 116.7 kB / 452.2 MB, free: 5.68 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/0.3308, allocations: 11.94 kB / 452.2 MB, free: 5.668 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.3308, allocations: 0 / 452.2 MB, free: 5.668 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.665e-06/0.3308, allocations: 3.984 kB / 452.2 MB, free: 5.664 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004007/0.3348, allocations: 2.602 MB / 454.8 MB, free: 3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.3348, allocations: 0 / 454.8 MB, free: 3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002963/0.3352, allocations: 63.91 kB / 454.9 MB, free: 2.938 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001065/0.3362, allocations: 452.5 kB / 455.3 MB, free: 2.492 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.636e-05/0.3363, allocations: 15.98 kB / 455.3 MB, free: 2.477 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007314/0.3436, allocations: 5.504 MB / 460.9 MB, free: 12.83 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.3437, allocations: 0 / 460.9 MB, free: 12.83 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002992/0.3467, allocations: 1.913 MB / 462.8 MB, free: 10.9 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005069/0.3472, allocations: 271.8 kB / 463 MB, free: 10.61 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001497/0.3473, allocations: 20 kB / 463 MB, free: 10.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004662/0.3478, allocations: 39.95 kB / 463.1 MB, free: 10.55 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001959/0.348, allocations: 72.55 kB / 463.2 MB, free: 10.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.248e-05/0.3481, allocations: 19.98 kB / 463.2 MB, free: 10.46 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009155/0.349, allocations: 0.6044 MB / 463.8 MB, free: 9.863 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.349, allocations: 0 / 463.8 MB, free: 9.863 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001083/0.3501, allocations: 343 kB / 464.1 MB, free: 9.527 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.0002184/0.3503, allocations: 139.2 kB / 464.3 MB, free: 9.383 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002257/0.3526, allocations: 1.278 MB / 465.5 MB, free: 8.086 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.3526, allocations: 0 / 465.5 MB, free: 8.086 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001373/0.354, allocations: 0.8287 MB / 466.4 MB, free: 7.25 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001296/0.3553, allocations: 286.6 kB / 466.6 MB, free: 6.969 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004599/0.3599, allocations: 2.325 MB / 469 MB, free: 4.617 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001155/0.3611, allocations: 1.333 MB / 470.3 MB, free: 3.258 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004585/0.3616, allocations: 143.4 kB / 470.4 MB, free: 3.113 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001636/0.3618, allocations: 55.44 kB / 470.5 MB, free: 3.059 MB / 382.1 MB Notification: Performance of SimCode: time 9.82e-07/0.3618, allocations: 4 kB / 470.5 MB, free: 3.055 MB / 382.1 MB Notification: Performance of Templates: time 0.03399/0.3958, allocations: 19.89 MB / 490.4 MB, free: 15.38 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