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.001659/0.001659, allocations: 117.7 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001441/0.001441, allocations: 208.8 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.361/1.361, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 59.91 kB / 359.4 MB, free: 12.86 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2395/0.2408, allocations: 50.55 MB / 410 MB, free: 1.551 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.005423/0.2462, allocations: 4.756 MB / 414.7 MB, free: 12.77 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002315/0.2486, allocations: 1.359 MB / 416.1 MB, free: 11.4 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003056/0.2489, allocations: 27.88 kB / 416.1 MB, free: 11.38 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005977/0.2495, allocations: 214.4 kB / 416.3 MB, free: 11.16 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007436/0.2503, allocations: 357.9 kB / 416.7 MB, free: 10.81 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004336/0.2507, allocations: 227.6 kB / 416.9 MB, free: 10.59 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001387/0.2521, allocations: 1.541 MB / 418.4 MB, free: 9.043 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001013/0.2531, allocations: 0.9765 MB / 419.4 MB, free: 8.031 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007063/0.2539, allocations: 0.6502 MB / 420 MB, free: 7.379 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008913/0.2548, allocations: 0.7666 MB / 420.8 MB, free: 6.609 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000199/0.255, allocations: 164 kB / 421 MB, free: 6.449 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002836/0.2553, allocations: 176 kB / 421.1 MB, free: 6.277 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003357/0.2556, allocations: 442.7 kB / 421.6 MB, free: 5.844 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006524/0.2563, allocations: 0.7272 MB / 422.3 MB, free: 5.113 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00166/0.2579, allocations: 2.101 MB / 424.4 MB, free: 3.008 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.614e-06/0.258, allocations: 4 kB / 424.4 MB, free: 3.004 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.258, allocations: 0 / 424.4 MB, free: 3.004 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.422e-05/0.258, allocations: 0 / 424.4 MB, free: 3.004 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.002789/0.2608, allocations: 1.658 MB / 426.1 MB, free: 1.293 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.2608, allocations: 8.031 kB / 426.1 MB, free: 1.285 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004821/0.2613, allocations: 167.2 kB / 426.2 MB, free: 1.121 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001286/0.2626, allocations: 0.9618 MB / 427.2 MB, free: 120 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.159e-05/0.2627, allocations: 78.31 kB / 427.3 MB, free: 44 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001693/0.2629, allocations: 104.2 kB / 427.4 MB, free: 15.94 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002222/0.2651, allocations: 1.439 MB / 428.8 MB, free: 14.47 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.416e-05/0.2651, allocations: 3.938 kB / 428.8 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001038/0.2652, allocations: 44 kB / 428.9 MB, free: 14.42 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.986e-05/0.2653, allocations: 41.98 kB / 428.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002022/0.2673, allocations: 1.296 MB / 430.2 MB, free: 13.09 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005848/0.2732, allocations: 4.304 MB / 434.5 MB, free: 8.684 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001831/0.275, allocations: 1.962 MB / 436.5 MB, free: 6.508 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001167/0.2762, allocations: 0.7312 MB / 437.2 MB, free: 5.773 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.076e-05/0.2763, allocations: 12.64 kB / 437.2 MB, free: 5.762 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008731/0.2772, allocations: 0.5937 MB / 437.8 MB, free: 5.148 MB / 350.1 MB Notification: Performance of pre-optimization done (n=75): time 2.785e-06/0.2772, allocations: 0 / 437.8 MB, free: 5.148 MB / 350.1 MB Notification: Performance of matching and sorting (n=75): time 0.006966/0.2841, allocations: 2.824 MB / 440.6 MB, free: 2.297 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.174e-05/0.2842, allocations: 119.4 kB / 440.7 MB, free: 2.152 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001035/0.2853, allocations: 0.8364 MB / 441.6 MB, free: 1.305 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.785e-05/0.2854, allocations: 41.7 kB / 441.6 MB, free: 1.258 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003728/0.2857, allocations: 0.492 MB / 442.1 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001898/0.2859, allocations: 240.5 kB / 442.3 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002161/0.2862, allocations: 134.6 kB / 442.5 MB, free: 392 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001147/0.2863, allocations: 334 kB / 442.8 MB, free: 52 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006132/0.2869, allocations: 397.7 kB / 443.2 MB, free: 15.66 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000698/0.2876, allocations: 0.5493 MB / 443.7 MB, free: 15.05 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001245/0.2889, allocations: 0.9114 MB / 444.7 MB, free: 14.09 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.2889, allocations: 0 / 444.7 MB, free: 14.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002051/0.2909, allocations: 1.311 MB / 446 MB, free: 12.77 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/0.291, allocations: 8 kB / 446 MB, free: 12.76 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.52e-05/0.291, allocations: 4 kB / 446 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001069/0.2921, allocations: 473.5 kB / 446.4 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003576/0.2924, allocations: 95.83 kB / 446.5 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006764/0.2992, allocations: 5.574 MB / 452.1 MB, free: 6.477 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006179/0.2999, allocations: 83.48 kB / 452.2 MB, free: 6.395 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.149e-05/0.2999, allocations: 31.92 kB / 452.2 MB, free: 6.363 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.000679/0.3006, allocations: 467.3 kB / 452.7 MB, free: 5.895 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001303/0.3008, allocations: 90.88 kB / 452.8 MB, free: 5.805 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002407/0.301, allocations: 112.7 kB / 452.9 MB, free: 5.688 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.987e-06/0.301, allocations: 8 kB / 452.9 MB, free: 5.68 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.301, allocations: 3.938 kB / 452.9 MB, free: 5.676 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.265e-06/0.301, allocations: 3.984 kB / 452.9 MB, free: 5.672 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003672/0.3047, allocations: 2.598 MB / 455.5 MB, free: 3.012 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.3047, allocations: 0 / 455.5 MB, free: 3.012 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002912/0.305, allocations: 67.89 kB / 455.6 MB, free: 2.945 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000917/0.306, allocations: 452.6 kB / 456 MB, free: 2.5 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.56e-05/0.306, allocations: 20 kB / 456 MB, free: 2.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006425/0.3125, allocations: 5.493 MB / 461.5 MB, free: 12.85 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.3125, allocations: 7.938 kB / 461.5 MB, free: 12.84 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002695/0.3152, allocations: 1.913 MB / 463.4 MB, free: 10.91 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004127/0.3156, allocations: 275.8 kB / 463.7 MB, free: 10.62 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001146/0.3157, allocations: 12 kB / 463.7 MB, free: 10.61 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004138/0.3162, allocations: 47.95 kB / 463.8 MB, free: 10.56 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001918/0.3164, allocations: 68.55 kB / 463.8 MB, free: 10.49 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.834e-05/0.3164, allocations: 27.98 kB / 463.8 MB, free: 10.46 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007463/0.3172, allocations: 0.6005 MB / 464.4 MB, free: 9.867 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3172, allocations: 0 / 464.4 MB, free: 9.867 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009333/0.3181, allocations: 343 kB / 464.8 MB, free: 9.531 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.0002044/0.3183, allocations: 131.1 kB / 464.9 MB, free: 9.395 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002034/0.3204, allocations: 1.286 MB / 466.2 MB, free: 8.09 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.3204, allocations: 0 / 466.2 MB, free: 8.09 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001152/0.3216, allocations: 0.8287 MB / 467 MB, free: 7.254 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00112/0.3227, allocations: 290.6 kB / 467.3 MB, free: 6.969 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00368/0.3264, allocations: 2.326 MB / 469.6 MB, free: 4.613 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008291/0.3272, allocations: 1.296 MB / 470.9 MB, free: 3.293 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001896/0.3274, allocations: 63.42 kB / 471 MB, free: 3.23 MB / 382.1 MB Notification: Performance of SimCode: time 7.51e-07/0.3274, allocations: 0 / 471 MB, free: 3.23 MB / 382.1 MB Notification: Performance of Templates: time 0.02477/0.3522, allocations: 20.93 MB / 491.9 MB, free: 14.36 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/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