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.001558/0.001558, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001893/0.001893, allocations: 203.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.412/1.412, allocations: 227.4 MB / 247.5 MB, free: 10.34 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001149/0.001149, allocations: 60.59 kB / 308.4 MB, free: 15.85 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.093/0.09416, allocations: 50.53 MB / 358.9 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.008985/0.1032, allocations: 4.754 MB / 363.7 MB, free: 8.523 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003638/0.1069, allocations: 1.367 MB / 365 MB, free: 7.152 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00072/0.1076, allocations: 27.88 kB / 365.1 MB, free: 7.125 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001035/0.1087, allocations: 222.4 kB / 365.3 MB, free: 6.906 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001393/0.1101, allocations: 354 kB / 365.6 MB, free: 6.559 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007657/0.1109, allocations: 219.6 kB / 365.9 MB, free: 6.344 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002351/0.1133, allocations: 1.553 MB / 367.4 MB, free: 4.785 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001761/0.115, allocations: 0.9651 MB / 368.4 MB, free: 3.789 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001197/0.1163, allocations: 0.6464 MB / 369 MB, free: 3.141 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00155/0.1178, allocations: 0.7704 MB / 369.8 MB, free: 2.367 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000501/0.1183, allocations: 164 kB / 369.9 MB, free: 2.207 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005134/0.1189, allocations: 172 kB / 370.1 MB, free: 2.039 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006662/0.1195, allocations: 438.8 kB / 370.5 MB, free: 1.609 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001226/0.1208, allocations: 0.7311 MB / 371.3 MB, free: 0.875 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1486/0.2694, allocations: 2.095 MB / 373.4 MB, free: 14 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.2695, allocations: 1.25 kB / 373.4 MB, free: 14 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2695, allocations: 0 / 373.4 MB, free: 14 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.124e-05/0.2695, allocations: 0 / 373.4 MB, free: 14 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.002841/0.2724, allocations: 1.65 MB / 375 MB, free: 13.21 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.343e-05/0.2724, allocations: 9.594 kB / 375 MB, free: 13.21 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004828/0.2729, allocations: 165.2 kB / 375.2 MB, free: 13.14 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001564/0.2745, allocations: 0.9701 MB / 376.2 MB, free: 12.81 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.05e-05/0.2746, allocations: 76.09 kB / 376.2 MB, free: 12.8 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001641/0.2747, allocations: 99.44 kB / 376.3 MB, free: 12.8 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002132/0.2769, allocations: 1.452 MB / 377.8 MB, free: 12.68 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.921e-05/0.2769, allocations: 4.609 kB / 377.8 MB, free: 12.68 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001038/0.277, allocations: 43.11 kB / 377.8 MB, free: 12.68 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.453e-05/0.2771, allocations: 40.72 kB / 377.9 MB, free: 12.67 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001958/0.279, allocations: 1.299 MB / 379.2 MB, free: 12.22 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005707/0.2848, allocations: 4.297 MB / 383.5 MB, free: 9.961 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001513/0.2863, allocations: 1.972 MB / 385.4 MB, free: 8.387 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007853/0.2871, allocations: 0.6134 MB / 386.1 MB, free: 8.168 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.93e-05/0.2872, allocations: 7.406 kB / 386.1 MB, free: 8.164 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008124/0.288, allocations: 0.5907 MB / 386.7 MB, free: 7.918 MB / 302.1 MB Notification: Performance of pre-optimization done (n=75): time 2.204e-06/0.288, allocations: 0 / 386.7 MB, free: 7.918 MB / 302.1 MB Notification: Performance of matching and sorting (n=75): time 0.006351/0.2943, allocations: 2.747 MB / 389.4 MB, free: 6.836 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.141e-05/0.2944, allocations: 115.4 kB / 389.5 MB, free: 6.707 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009317/0.2953, allocations: 0.8469 MB / 390.4 MB, free: 6.234 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.606e-05/0.2954, allocations: 43.91 kB / 390.4 MB, free: 6.191 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002705/0.2957, allocations: 494.8 kB / 390.9 MB, free: 5.77 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000138/0.2958, allocations: 242.1 kB / 391.1 MB, free: 5.566 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002017/0.296, allocations: 130.1 kB / 391.2 MB, free: 5.492 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.153e-05/0.2961, allocations: 337.8 kB / 391.6 MB, free: 5.164 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005458/0.2966, allocations: 399.6 kB / 392 MB, free: 4.957 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006073/0.2973, allocations: 0.5477 MB / 392.5 MB, free: 4.562 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001096/0.2984, allocations: 0.9131 MB / 393.4 MB, free: 4 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/0.2984, allocations: 3.906 kB / 393.4 MB, free: 4 MB / 302.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001783/0.3002, allocations: 1.314 MB / 394.7 MB, free: 3.32 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.3002, allocations: 7.094 kB / 394.8 MB, free: 3.32 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.3002, allocations: 7.875 kB / 394.8 MB, free: 3.32 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009647/0.3012, allocations: 472.5 kB / 395.2 MB, free: 3.078 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003469/0.3015, allocations: 96.42 kB / 395.3 MB, free: 3.059 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005929/0.3075, allocations: 5.596 MB / 400.9 MB, free: 15.08 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005992/0.3081, allocations: 82.2 kB / 401 MB, free: 15.02 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.336e-05/0.3082, allocations: 24.78 kB / 401 MB, free: 15.02 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.0007245/0.3089, allocations: 479.2 kB / 401.5 MB, free: 14.69 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001391/0.309, allocations: 87.06 kB / 401.6 MB, free: 14.64 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002232/0.3093, allocations: 114.1 kB / 401.7 MB, free: 14.56 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.094e-06/0.3093, allocations: 7.656 kB / 401.7 MB, free: 14.56 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.3093, allocations: 4 kB / 401.7 MB, free: 14.55 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.167e-06/0.3093, allocations: 3.984 kB / 401.7 MB, free: 14.55 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004198/0.3135, allocations: 2.606 MB / 404.3 MB, free: 12.45 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.3135, allocations: 0 / 404.3 MB, free: 12.45 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002879/0.3138, allocations: 65.95 kB / 404.4 MB, free: 12.39 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009987/0.3148, allocations: 464.8 kB / 404.8 MB, free: 11.93 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.427e-05/0.3149, allocations: 12 kB / 404.8 MB, free: 11.92 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006672/0.3216, allocations: 5.518 MB / 410.3 MB, free: 6.277 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.768e-06/0.3216, allocations: 1.812 kB / 410.4 MB, free: 6.277 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002849/0.3245, allocations: 1.915 MB / 412.3 MB, free: 4.348 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005634/0.325, allocations: 279.8 kB / 412.5 MB, free: 4.055 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001199/0.3252, allocations: 19.94 kB / 412.6 MB, free: 4.035 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004072/0.3256, allocations: 35.95 kB / 412.6 MB, free: 4 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001771/0.3258, allocations: 73.11 kB / 412.7 MB, free: 3.93 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.651e-05/0.3258, allocations: 20 kB / 412.7 MB, free: 3.91 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0007841/0.3266, allocations: 0.6053 MB / 413.3 MB, free: 3.312 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3266, allocations: 0 / 413.3 MB, free: 3.312 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001005/0.3276, allocations: 347.1 kB / 413.6 MB, free: 2.973 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.0001846/0.3278, allocations: 127.4 kB / 413.8 MB, free: 2.844 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001972/0.3298, allocations: 1.283 MB / 415 MB, free: 1.559 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.3298, allocations: 0 / 415 MB, free: 1.559 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001154/0.331, allocations: 0.8302 MB / 415.9 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001017/0.332, allocations: 277 kB / 416.1 MB, free: 476 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003649/0.3357, allocations: 2.35 MB / 418.5 MB, free: 14.1 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008674/0.3366, allocations: 1.329 MB / 419.8 MB, free: 12.74 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003391/0.3369, allocations: 151.4 kB / 420 MB, free: 12.59 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001434/0.3371, allocations: 51.44 kB / 420 MB, free: 12.54 MB / 334.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3371, allocations: 0 / 420 MB, free: 12.54 MB / 334.1 MB Notification: Performance of Templates: time 0.02755/0.3646, allocations: 19.66 MB / 439.7 MB, free: 9.133 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 -s gbode -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