Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001495/0.001495, allocations: 118.6 kB / 18.45 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001556/0.001556, allocations: 203.6 kB / 19.4 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.439/1.439, allocations: 227.6 MB / 247.9 MB, free: 10.18 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001848/0.001848, allocations: 55.91 kB / 359.7 MB, free: 12.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2355/0.2373, allocations: 50.55 MB / 410.2 MB, free: 1.418 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.006524/0.2438, allocations: 4.774 MB / 415 MB, free: 12.62 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002907/0.2467, allocations: 1.367 MB / 416.4 MB, free: 11.25 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004522/0.2472, allocations: 31.81 kB / 416.4 MB, free: 11.22 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007003/0.2479, allocations: 218.5 kB / 416.6 MB, free: 11 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008508/0.2487, allocations: 369.9 kB / 417 MB, free: 10.64 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004636/0.2492, allocations: 219.6 kB / 417.2 MB, free: 10.43 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001681/0.2509, allocations: 1.541 MB / 418.7 MB, free: 8.879 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009356/0.2518, allocations: 0.7152 MB / 419.4 MB, free: 8.125 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008414/0.2527, allocations: 0.658 MB / 420.1 MB, free: 7.465 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001054/0.2537, allocations: 0.7666 MB / 420.9 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002282/0.254, allocations: 164 kB / 421 MB, free: 6.535 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000306/0.2543, allocations: 175.9 kB / 421.2 MB, free: 6.363 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004084/0.2547, allocations: 438.8 kB / 421.6 MB, free: 5.934 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008632/0.2555, allocations: 0.7349 MB / 422.4 MB, free: 5.195 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002215/0.2577, allocations: 2.11 MB / 424.5 MB, free: 3.078 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.2577, allocations: 0 / 424.5 MB, free: 3.078 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.2578, allocations: 3.938 kB / 424.5 MB, free: 3.074 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.73e-05/0.2578, allocations: 3.984 kB / 424.5 MB, free: 3.07 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.003176/0.261, allocations: 1.684 MB / 426.2 MB, free: 1.332 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.261, allocations: 12.03 kB / 426.2 MB, free: 1.32 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005174/0.2615, allocations: 168 kB / 426.3 MB, free: 1.156 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001529/0.263, allocations: 0.982 MB / 427.3 MB, free: 136 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.048e-05/0.2631, allocations: 70.38 kB / 427.4 MB, free: 68 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001862/0.2633, allocations: 104.1 kB / 427.5 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002325/0.2656, allocations: 1.447 MB / 428.9 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.551e-05/0.2656, allocations: 0 / 428.9 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001063/0.2657, allocations: 39.98 kB / 429 MB, free: 14.45 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.936e-05/0.2658, allocations: 42 kB / 429 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002158/0.268, allocations: 1.296 MB / 430.3 MB, free: 13.11 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006643/0.2746, allocations: 4.305 MB / 434.6 MB, free: 8.707 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002208/0.2768, allocations: 1.9 MB / 436.5 MB, free: 6.59 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001248/0.2781, allocations: 0.6766 MB / 437.2 MB, free: 5.91 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.35e-05/0.2781, allocations: 8.656 kB / 437.2 MB, free: 5.902 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009708/0.2791, allocations: 0.6014 MB / 437.8 MB, free: 5.281 MB / 350.1 MB Notification: Performance of pre-optimization done (n=75): time 2.495e-06/0.2791, allocations: 0 / 437.8 MB, free: 5.281 MB / 350.1 MB Notification: Performance of matching and sorting (n=75): time 0.007388/0.2865, allocations: 2.809 MB / 440.6 MB, free: 2.445 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.797e-05/0.2866, allocations: 111.5 kB / 440.7 MB, free: 2.309 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001173/0.2877, allocations: 0.8403 MB / 441.6 MB, free: 1.457 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.416e-05/0.2878, allocations: 45.69 kB / 441.6 MB, free: 1.406 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005159/0.2883, allocations: 0.4891 MB / 442.1 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002593/0.2886, allocations: 257.9 kB / 442.4 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002311/0.2888, allocations: 134.6 kB / 442.5 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001968/0.289, allocations: 334 kB / 442.8 MB, free: 192 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006917/0.2897, allocations: 401.8 kB / 443.2 MB, free: 15.79 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007795/0.2905, allocations: 0.5454 MB / 443.7 MB, free: 15.18 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001414/0.2919, allocations: 0.9192 MB / 444.7 MB, free: 14.21 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.2919, allocations: 0 / 444.7 MB, free: 14.21 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002214/0.2941, allocations: 1.284 MB / 446 MB, free: 12.92 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.194e-05/0.2941, allocations: 8 kB / 446 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.2941, allocations: 7.984 kB / 446 MB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001087/0.2952, allocations: 477.7 kB / 446.4 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003637/0.2956, allocations: 91.83 kB / 446.5 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007587/0.3032, allocations: 5.595 MB / 452.1 MB, free: 6.609 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005829/0.3038, allocations: 79.64 kB / 452.2 MB, free: 6.531 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.898e-05/0.3038, allocations: 31.94 kB / 452.2 MB, free: 6.5 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.0007061/0.3045, allocations: 471.1 kB / 452.7 MB, free: 6.027 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001407/0.3047, allocations: 91.44 kB / 452.8 MB, free: 5.938 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002543/0.3049, allocations: 112.7 kB / 452.9 MB, free: 5.82 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.323e-06/0.3049, allocations: 8 kB / 452.9 MB, free: 5.812 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.3049, allocations: 0 / 452.9 MB, free: 5.812 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/0.3049, allocations: 7.984 kB / 452.9 MB, free: 5.805 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00415/0.3091, allocations: 2.587 MB / 455.5 MB, free: 3.156 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.3091, allocations: 4 kB / 455.5 MB, free: 3.152 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002975/0.3094, allocations: 63.91 kB / 455.6 MB, free: 3.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001083/0.3105, allocations: 452.5 kB / 456 MB, free: 2.645 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.696e-05/0.3105, allocations: 15.98 kB / 456 MB, free: 2.629 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007447/0.318, allocations: 5.509 MB / 461.5 MB, free: 12.98 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.318, allocations: 0 / 461.5 MB, free: 12.98 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002917/0.3209, allocations: 1.894 MB / 463.4 MB, free: 11.07 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004714/0.3214, allocations: 280.4 kB / 463.7 MB, free: 10.77 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001292/0.3215, allocations: 12 kB / 463.7 MB, free: 10.76 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004238/0.3219, allocations: 43.95 kB / 463.7 MB, free: 10.72 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001926/0.3221, allocations: 76.48 kB / 463.8 MB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.835e-05/0.3222, allocations: 19.98 kB / 463.8 MB, free: 10.62 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008098/0.323, allocations: 0.6005 MB / 464.4 MB, free: 10.03 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.323, allocations: 4 kB / 464.4 MB, free: 10.02 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009727/0.3239, allocations: 343.3 kB / 464.8 MB, free: 9.688 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.0001945/0.3241, allocations: 135.1 kB / 464.9 MB, free: 9.547 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002163/0.3263, allocations: 1.255 MB / 466.2 MB, free: 8.273 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.3263, allocations: 0 / 466.2 MB, free: 8.273 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001273/0.3276, allocations: 0.7936 MB / 467 MB, free: 7.473 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001095/0.3287, allocations: 286 kB / 467.2 MB, free: 7.195 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003959/0.3326, allocations: 2.37 MB / 469.6 MB, free: 4.797 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001053/0.3337, allocations: 1.329 MB / 470.9 MB, free: 3.441 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003757/0.3341, allocations: 147.4 kB / 471.1 MB, free: 3.293 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001468/0.3342, allocations: 59.42 kB / 471.1 MB, free: 3.234 MB / 382.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3342, allocations: 0 / 471.1 MB, free: 3.234 MB / 382.1 MB Notification: Performance of Templates: time 0.03339/0.3676, allocations: 19.98 MB / 491.1 MB, free: 15.51 MB / 414.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches