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.001292/0.001292, allocations: 109.6 kB / 18.3 MB, free: 4.836 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001423/0.001423, allocations: 208 kB / 19.25 MB, free: 3.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.437/1.437, allocations: 227.4 MB / 247.5 MB, free: 10.51 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001907/0.001907, allocations: 58.08 kB / 307.7 MB, free: 0.5664 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1142, allocations: 50.54 MB / 358.2 MB, free: 14.02 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.006922/0.1212, allocations: 4.75 MB / 362.9 MB, free: 9.242 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002988/0.1242, allocations: 1.375 MB / 364.3 MB, free: 7.863 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004656/0.1247, allocations: 31.81 kB / 364.4 MB, free: 7.832 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006982/0.1254, allocations: 218.4 kB / 364.6 MB, free: 7.617 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008827/0.1263, allocations: 346 kB / 364.9 MB, free: 7.277 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004955/0.1268, allocations: 223.6 kB / 365.1 MB, free: 7.059 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001827/0.1287, allocations: 1.564 MB / 366.7 MB, free: 5.488 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00136/0.13, allocations: 0.9693 MB / 367.7 MB, free: 4.488 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001068/0.1311, allocations: 0.6541 MB / 368.3 MB, free: 3.832 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001164/0.1323, allocations: 0.7666 MB / 369.1 MB, free: 3.062 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002506/0.1326, allocations: 164 kB / 369.2 MB, free: 2.902 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003319/0.1329, allocations: 168 kB / 369.4 MB, free: 2.738 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004477/0.1334, allocations: 438.8 kB / 369.8 MB, free: 2.309 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008679/0.1342, allocations: 0.735 MB / 370.6 MB, free: 1.57 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1613/0.2956, allocations: 2.072 MB / 372.6 MB, free: 12.8 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/0.2956, allocations: 1.109 kB / 372.6 MB, free: 12.8 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.2956, allocations: 6.234 kB / 372.6 MB, free: 12.8 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.266e-05/0.2957, allocations: 0 / 372.6 MB, free: 12.8 MB / 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.003297/0.299, allocations: 1.651 MB / 374.3 MB, free: 12.03 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.2991, allocations: 8.688 kB / 374.3 MB, free: 12.03 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005278/0.2996, allocations: 168.3 kB / 374.5 MB, free: 11.96 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001282/0.3009, allocations: 0.9334 MB / 375.4 MB, free: 11.63 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.307e-05/0.3009, allocations: 72.44 kB / 375.5 MB, free: 11.63 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001647/0.3011, allocations: 98 kB / 375.6 MB, free: 11.63 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002202/0.3033, allocations: 1.451 MB / 377 MB, free: 11.5 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.982e-05/0.3034, allocations: 5.719 kB / 377 MB, free: 11.5 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.96e-05/0.3035, allocations: 42.61 kB / 377.1 MB, free: 11.5 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.565e-05/0.3035, allocations: 41.19 kB / 377.1 MB, free: 11.5 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001929/0.3055, allocations: 1.292 MB / 378.4 MB, free: 11.49 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005624/0.3111, allocations: 4.347 MB / 382.7 MB, free: 9.227 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001608/0.3127, allocations: 1.973 MB / 384.7 MB, free: 7.652 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009585/0.3137, allocations: 0.6143 MB / 385.3 MB, free: 7.43 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.75e-05/0.3138, allocations: 10.91 kB / 385.3 MB, free: 7.426 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000862/0.3146, allocations: 0.5905 MB / 385.9 MB, free: 7.184 MB / 302.1 MB Notification: Performance of pre-optimization done (n=75): time 2.545e-06/0.3147, allocations: 4 kB / 385.9 MB, free: 7.18 MB / 302.1 MB Notification: Performance of matching and sorting (n=75): time 0.006535/0.3212, allocations: 2.741 MB / 388.7 MB, free: 6.383 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.74e-05/0.3213, allocations: 114.9 kB / 388.8 MB, free: 6.258 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001044/0.3223, allocations: 0.8459 MB / 389.6 MB, free: 5.852 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.779e-05/0.3224, allocations: 42.11 kB / 389.7 MB, free: 5.809 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002976/0.3227, allocations: 499 kB / 390.2 MB, free: 5.383 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001608/0.3229, allocations: 244.3 kB / 390.4 MB, free: 5.18 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001995/0.3231, allocations: 133.2 kB / 390.5 MB, free: 5.102 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.376e-05/0.3231, allocations: 333.8 kB / 390.9 MB, free: 4.777 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005394/0.3237, allocations: 398.9 kB / 391.2 MB, free: 4.574 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006074/0.3243, allocations: 0.5453 MB / 391.8 MB, free: 4.18 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001117/0.3254, allocations: 0.9119 MB / 392.7 MB, free: 3.617 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5e-06/0.3254, allocations: 1.844 kB / 392.7 MB, free: 3.617 MB / 302.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001883/0.3273, allocations: 1.322 MB / 394 MB, free: 2.93 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/0.3274, allocations: 6.594 kB / 394 MB, free: 2.93 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.3274, allocations: 7.062 kB / 394 MB, free: 2.93 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009815/0.3284, allocations: 477.8 kB / 394.5 MB, free: 2.684 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003452/0.3287, allocations: 95.33 kB / 394.6 MB, free: 2.668 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006082/0.3348, allocations: 5.597 MB / 400.2 MB, free: 14.66 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006392/0.3355, allocations: 81.14 kB / 400.3 MB, free: 14.61 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.856e-05/0.3355, allocations: 27.09 kB / 400.3 MB, free: 14.61 MB / 318.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.0006719/0.3362, allocations: 467.4 kB / 400.8 MB, free: 14.28 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001485/0.3364, allocations: 90.52 kB / 400.8 MB, free: 14.23 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002163/0.3366, allocations: 114.8 kB / 401 MB, free: 14.15 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.189e-06/0.3366, allocations: 6.344 kB / 401 MB, free: 14.15 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.3366, allocations: 0.5625 kB / 401 MB, free: 14.15 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.797e-06/0.3366, allocations: 3.984 kB / 401 MB, free: 14.14 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003971/0.3406, allocations: 2.619 MB / 403.6 MB, free: 12.27 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.3406, allocations: 0 / 403.6 MB, free: 12.27 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002894/0.3409, allocations: 62.5 kB / 403.7 MB, free: 12.21 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001005/0.3419, allocations: 467.3 kB / 404.1 MB, free: 11.76 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.013e-05/0.342, allocations: 15.98 kB / 404.1 MB, free: 11.74 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00735/0.3494, allocations: 5.53 MB / 409.7 MB, free: 6.086 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.3494, allocations: 0 / 409.7 MB, free: 6.086 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003013/0.3524, allocations: 1.913 MB / 411.6 MB, free: 4.16 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004802/0.3529, allocations: 271.8 kB / 411.8 MB, free: 3.875 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001225/0.353, allocations: 15.94 kB / 411.8 MB, free: 3.859 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004216/0.3535, allocations: 43.95 kB / 411.9 MB, free: 3.816 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001962/0.3537, allocations: 72.55 kB / 412 MB, free: 3.742 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.109e-05/0.3537, allocations: 27.98 kB / 412 MB, free: 3.715 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0008106/0.3545, allocations: 0.6005 MB / 412.6 MB, free: 3.121 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.3546, allocations: 0 / 412.6 MB, free: 3.121 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001027/0.3556, allocations: 339.1 kB / 412.9 MB, free: 2.789 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.0001923/0.3558, allocations: 137.7 kB / 413.1 MB, free: 2.656 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002587/0.3584, allocations: 1.423 MB / 414.5 MB, free: 1.234 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.429e-06/0.3584, allocations: 4.062 kB / 414.5 MB, free: 1.23 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001393/0.3598, allocations: 0.8309 MB / 415.3 MB, free: 412 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001303/0.3611, allocations: 272 kB / 415.6 MB, free: 144 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004194/0.3653, allocations: 2.39 MB / 418 MB, free: 13.72 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001016/0.3664, allocations: 1.299 MB / 419.3 MB, free: 12.39 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001875/0.3666, allocations: 57.08 kB / 419.3 MB, free: 12.34 MB / 334.1 MB Notification: Performance of SimCode: time 7.82e-07/0.3666, allocations: 0 / 419.3 MB, free: 12.34 MB / 334.1 MB Notification: Performance of Templates: time 0.02811/0.3947, allocations: 20.85 MB / 440.2 MB, free: 7.586 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.1.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