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.0007646/0.0007648, allocations: 97.92 kB / 18.01 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009628/0.0009628, allocations: 201.9 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.341/1.341, allocations: 227.7 MB / 247.5 MB, free: 11.05 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002311/0.0002311, allocations: 8 kB / 308.4 MB, free: 0.7461 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08917/0.08942, allocations: 51.52 MB / 359.9 MB, free: 13.23 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.005144/0.0946, allocations: 4.348 MB / 364.3 MB, free: 8.855 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002834/0.09747, allocations: 1.344 MB / 365.6 MB, free: 7.508 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007228/0.09822, allocations: 27.88 kB / 365.6 MB, free: 7.48 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007928/0.09903, allocations: 174.9 kB / 365.8 MB, free: 7.309 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001081/0.1001, allocations: 326.3 kB / 366.1 MB, free: 6.988 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005185/0.1007, allocations: 195.8 kB / 366.3 MB, free: 6.797 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001999/0.1027, allocations: 1.783 MB / 368.1 MB, free: 5.008 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001162/0.1038, allocations: 0.8066 MB / 368.9 MB, free: 4.172 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007282/0.1046, allocations: 489.9 kB / 369.4 MB, free: 3.691 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001025/0.1056, allocations: 0.6456 MB / 370 MB, free: 3.043 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002206/0.1059, allocations: 64 kB / 370.1 MB, free: 2.98 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000303/0.1062, allocations: 64 kB / 370.2 MB, free: 2.918 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003488/0.1065, allocations: 326.7 kB / 370.5 MB, free: 2.598 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008699/0.1074, allocations: 0.6273 MB / 371.1 MB, free: 1.961 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001456/0.1089, allocations: 1.66 MB / 372.8 MB, free: 304 kB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.1089, allocations: 4 kB / 372.8 MB, free: 300 kB / 302.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.1089, allocations: 0 / 372.8 MB, free: 300 kB / 302.1 MB Notification: Performance of Transformations before backend: time 5.955e-05/0.109, allocations: 0 / 372.8 MB, free: 300 kB / 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.1688/0.2778, allocations: 1.426 MB / 374.2 MB, free: 18.64 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.2778, allocations: 12.95 kB / 374.2 MB, free: 18.64 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007303/0.2786, allocations: 175.2 kB / 374.4 MB, free: 18.57 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001391/0.28, allocations: 0.9343 MB / 375.3 MB, free: 18.23 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.292e-05/0.2801, allocations: 77.66 kB / 375.4 MB, free: 18.23 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001663/0.2802, allocations: 99.97 kB / 375.5 MB, free: 18.23 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002541/0.2828, allocations: 1.443 MB / 376.9 MB, free: 17.97 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.901e-05/0.2828, allocations: 1.984 kB / 376.9 MB, free: 17.97 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.783e-05/0.2829, allocations: 47.38 kB / 377 MB, free: 17.94 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-05/0.283, allocations: 43.14 kB / 377 MB, free: 17.93 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001989/0.285, allocations: 1.316 MB / 378.3 MB, free: 17.46 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005815/0.2908, allocations: 4.377 MB / 382.7 MB, free: 15.12 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001602/0.2924, allocations: 1.971 MB / 384.7 MB, free: 13.54 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009012/0.2933, allocations: 0.6243 MB / 385.3 MB, free: 13.31 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.404e-05/0.2934, allocations: 8.5 kB / 385.3 MB, free: 13.31 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009252/0.2943, allocations: 0.6013 MB / 385.9 MB, free: 13.06 MB / 302.1 MB Notification: Performance of pre-optimization done (n=75): time 2.385e-06/0.2943, allocations: 0 / 385.9 MB, free: 13.06 MB / 302.1 MB Notification: Performance of matching and sorting (n=75): time 0.006827/0.3012, allocations: 2.791 MB / 388.7 MB, free: 11.88 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.502e-05/0.3012, allocations: 112.9 kB / 388.8 MB, free: 11.75 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009916/0.3022, allocations: 0.8378 MB / 389.7 MB, free: 11.29 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.896e-05/0.3023, allocations: 38.17 kB / 389.7 MB, free: 11.25 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003095/0.3026, allocations: 0.4938 MB / 390.2 MB, free: 10.81 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001567/0.3028, allocations: 239.7 kB / 390.4 MB, free: 10.61 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.851e-05/0.3029, allocations: 66 kB / 390.5 MB, free: 10.57 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.721e-05/0.303, allocations: 337.8 kB / 390.8 MB, free: 10.24 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005701/0.3035, allocations: 405 kB / 391.2 MB, free: 10.03 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006244/0.3042, allocations: 0.5541 MB / 391.8 MB, free: 9.633 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001199/0.3054, allocations: 0.9194 MB / 392.7 MB, free: 9.062 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/0.3054, allocations: 1.375 kB / 392.7 MB, free: 9.062 MB / 302.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002003/0.3074, allocations: 1.329 MB / 394 MB, free: 8.348 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.3074, allocations: 11.22 kB / 394 MB, free: 8.344 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.3074, allocations: 9.062 kB / 394 MB, free: 8.34 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00097/0.3084, allocations: 472.9 kB / 394.5 MB, free: 8.098 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000351/0.3088, allocations: 99.95 kB / 394.6 MB, free: 8.07 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005587/0.3144, allocations: 5.156 MB / 399.8 MB, free: 4.395 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006025/0.315, allocations: 84.23 kB / 399.8 MB, free: 4.344 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.279e-05/0.3151, allocations: 25.38 kB / 399.9 MB, free: 4.336 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.0005737/0.3156, allocations: 476.5 kB / 400.3 MB, free: 3.859 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001105/0.3158, allocations: 86.97 kB / 400.4 MB, free: 3.773 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002154/0.316, allocations: 108.7 kB / 400.5 MB, free: 3.664 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/0.316, allocations: 11.94 kB / 400.5 MB, free: 3.652 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.316, allocations: 0 / 400.5 MB, free: 3.652 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.316, allocations: 3.984 kB / 400.5 MB, free: 3.648 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003215/0.3192, allocations: 2.63 MB / 403.2 MB, free: 0.9648 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.3193, allocations: 0 / 403.2 MB, free: 0.9648 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002623/0.3195, allocations: 67.91 kB / 403.2 MB, free: 0.8984 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008381/0.3204, allocations: 473 kB / 403.7 MB, free: 448 kB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.725e-05/0.3204, allocations: 16 kB / 403.7 MB, free: 432 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006297/0.3267, allocations: 5.09 MB / 408.8 MB, free: 11.2 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.3268, allocations: 0 / 408.8 MB, free: 11.2 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00298/0.3298, allocations: 1.933 MB / 410.7 MB, free: 9.246 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004848/0.3303, allocations: 267.9 kB / 411 MB, free: 8.965 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001641/0.3304, allocations: 16 kB / 411 MB, free: 8.949 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004608/0.3309, allocations: 47.95 kB / 411.1 MB, free: 8.902 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001877/0.3311, allocations: 76.53 kB / 411.1 MB, free: 8.824 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.728e-05/0.3312, allocations: 20 kB / 411.2 MB, free: 8.805 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0009048/0.3321, allocations: 0.6005 MB / 411.8 MB, free: 8.211 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3321, allocations: 0 / 411.8 MB, free: 8.211 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001058/0.3331, allocations: 343 kB / 412.1 MB, free: 7.875 MB / 318.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.0001919/0.3333, allocations: 135.4 kB / 412.2 MB, free: 7.734 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002197/0.3355, allocations: 1.289 MB / 413.5 MB, free: 6.43 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5e-06/0.3356, allocations: 0.875 kB / 413.5 MB, free: 6.43 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001284/0.3369, allocations: 0.8318 MB / 414.3 MB, free: 5.59 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001245/0.3381, allocations: 257.8 kB / 414.6 MB, free: 5.34 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004586/0.3427, allocations: 2.855 MB / 417.4 MB, free: 2.453 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001126/0.3439, allocations: 1.296 MB / 418.7 MB, free: 1.133 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001762/0.344, allocations: 55.42 kB / 418.8 MB, free: 1.078 MB / 318.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3441, allocations: 0 / 418.8 MB, free: 1.078 MB / 318.1 MB Notification: Performance of Templates: time 0.02712/0.3712, allocations: 20.69 MB / 439.5 MB, free: 12.46 MB / 350.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/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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches