Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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.0.0_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.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007837/0.0007837, allocations: 94.56 kB / 17.31 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008348/0.0008348, allocations: 179.9 kB / 18.21 MB, free: 5.25 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.123/1.123, allocations: 223.3 MB / 242.3 MB, free: 14.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002016/0.0002016, allocations: 7.938 kB / 302.1 MB, free: 5.871 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07112/0.07134, allocations: 50.42 MB / 352.5 MB, free: 3.441 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.004027/0.07539, allocations: 4.31 MB / 356.8 MB, free: 15.11 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001995/0.0774, allocations: 1.266 MB / 358.1 MB, free: 13.84 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003647/0.07779, allocations: 31.88 kB / 358.1 MB, free: 13.8 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004603/0.07826, allocations: 170.9 kB / 358.3 MB, free: 13.64 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006899/0.07896, allocations: 326.3 kB / 358.6 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003292/0.0793, allocations: 187.8 kB / 358.8 MB, free: 13.13 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001458/0.08077, allocations: 1.763 MB / 360.6 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000862/0.08164, allocations: 0.7987 MB / 361.4 MB, free: 10.54 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005286/0.08218, allocations: 481.9 kB / 361.8 MB, free: 10.06 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007351/0.08292, allocations: 0.6495 MB / 362.5 MB, free: 9.41 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000113/0.08304, allocations: 64 kB / 362.5 MB, free: 9.348 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001541/0.0832, allocations: 64 kB / 362.6 MB, free: 9.285 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002699/0.08348, allocations: 314.9 kB / 362.9 MB, free: 8.977 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005602/0.08405, allocations: 0.6351 MB / 363.5 MB, free: 8.332 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001143/0.0852, allocations: 1.64 MB / 365.2 MB, free: 6.688 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.355e-06/0.0852, allocations: 0 / 365.2 MB, free: 6.688 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.32e-07/0.08521, allocations: 0 / 365.2 MB, free: 6.688 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.447e-05/0.08525, allocations: 0 / 365.2 MB, free: 6.688 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.002223/0.08748, allocations: 1.42 MB / 366.6 MB, free: 5.211 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.763e-05/0.08751, allocations: 8.031 kB / 366.6 MB, free: 5.203 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002138/0.08773, allocations: 139.2 kB / 366.7 MB, free: 5.066 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001106/0.08884, allocations: 0.9111 MB / 367.7 MB, free: 4.113 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.455e-05/0.08891, allocations: 70.38 kB / 367.7 MB, free: 4.043 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001398/0.08906, allocations: 108.1 kB / 367.8 MB, free: 3.938 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002027/0.09109, allocations: 1.454 MB / 369.3 MB, free: 2.453 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.32e-05/0.09112, allocations: 0 / 369.3 MB, free: 2.453 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.694e-05/0.09122, allocations: 36 kB / 369.3 MB, free: 2.418 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.43e-05/0.09127, allocations: 53.92 kB / 369.4 MB, free: 2.363 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001885/0.09316, allocations: 1.3 MB / 370.7 MB, free: 1.066 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1299/0.2231, allocations: 4.365 MB / 375 MB, free: 22.52 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001516/0.2246, allocations: 1.969 MB / 377 MB, free: 21.16 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008607/0.2255, allocations: 0.6217 MB / 377.6 MB, free: 20.93 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.718e-05/0.2256, allocations: 7.531 kB / 377.6 MB, free: 20.93 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007752/0.2263, allocations: 0.6046 MB / 378.2 MB, free: 20.68 MB / 302.1 MB Notification: Performance of pre-optimization done (n=75): time 2.124e-06/0.2264, allocations: 5.203 kB / 378.2 MB, free: 20.68 MB / 302.1 MB Notification: Performance of matching and sorting (n=75): time 0.006109/0.2325, allocations: 2.774 MB / 381 MB, free: 19.87 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.716e-05/0.2325, allocations: 114 kB / 381.1 MB, free: 19.74 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009066/0.2334, allocations: 0.8253 MB / 382 MB, free: 19.41 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.028e-05/0.2335, allocations: 46.53 kB / 382 MB, free: 19.37 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002531/0.2338, allocations: 488.7 kB / 382.5 MB, free: 19.01 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001374/0.2339, allocations: 241.4 kB / 382.7 MB, free: 18.83 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.264e-05/0.234, allocations: 71 kB / 382.8 MB, free: 18.79 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.948e-05/0.2341, allocations: 391.2 kB / 383.2 MB, free: 18.45 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000552/0.2347, allocations: 401.1 kB / 383.6 MB, free: 18.31 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005927/0.2353, allocations: 0.553 MB / 384.1 MB, free: 17.99 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001092/0.2364, allocations: 0.9221 MB / 385 MB, free: 17.52 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/0.2364, allocations: 5.062 kB / 385 MB, free: 17.52 MB / 302.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001736/0.2381, allocations: 1.324 MB / 386.4 MB, free: 16.98 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.2381, allocations: 6.562 kB / 386.4 MB, free: 16.98 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.2382, allocations: 4.281 kB / 386.4 MB, free: 16.98 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008674/0.239, allocations: 471.3 kB / 386.8 MB, free: 16.77 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003043/0.2393, allocations: 96.23 kB / 386.9 MB, free: 16.75 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00497/0.2443, allocations: 5.151 MB / 392.1 MB, free: 13.07 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004284/0.2448, allocations: 86.98 kB / 392.2 MB, free: 13.02 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.891e-05/0.2448, allocations: 24.56 kB / 392.2 MB, free: 13.01 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.0004259/0.2452, allocations: 467.8 kB / 392.6 MB, free: 12.68 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.605e-05/0.2453, allocations: 85.5 kB / 392.7 MB, free: 12.64 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001914/0.2455, allocations: 107.7 kB / 392.8 MB, free: 12.55 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.2456, allocations: 12.94 kB / 392.8 MB, free: 12.55 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.2456, allocations: 0 / 392.8 MB, free: 12.55 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.203e-06/0.2456, allocations: 9.453 kB / 392.9 MB, free: 12.54 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002992/0.2486, allocations: 2.631 MB / 395.5 MB, free: 10.91 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.2486, allocations: 0 / 395.5 MB, free: 10.91 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00024/0.2488, allocations: 63.53 kB / 395.5 MB, free: 10.9 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007492/0.2496, allocations: 461.2 kB / 396 MB, free: 10.66 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.866e-05/0.2496, allocations: 17.19 kB / 396 MB, free: 10.65 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004446/0.2541, allocations: 5.094 MB / 401.1 MB, free: 6.336 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.2541, allocations: 0 / 401.1 MB, free: 6.336 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001931/0.256, allocations: 1.936 MB / 403 MB, free: 4.383 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002689/0.2563, allocations: 271.8 kB / 403.3 MB, free: 4.098 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.901e-05/0.2564, allocations: 16 kB / 403.3 MB, free: 4.082 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003552/0.2568, allocations: 43.95 kB / 403.4 MB, free: 4.039 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001356/0.2569, allocations: 76.53 kB / 403.4 MB, free: 3.961 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.461e-05/0.257, allocations: 20.09 kB / 403.5 MB, free: 3.941 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004905/0.2574, allocations: 0.5927 MB / 404.1 MB, free: 3.352 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2575, allocations: 0 / 404.1 MB, free: 3.352 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006546/0.2581, allocations: 343 kB / 404.4 MB, free: 3.016 MB / 302.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.0001154/0.2582, allocations: 143 kB / 404.5 MB, free: 2.867 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001459/0.2597, allocations: 1.285 MB / 405.8 MB, free: 1.562 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.2597, allocations: 4 kB / 405.8 MB, free: 1.559 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008754/0.2606, allocations: 0.8266 MB / 406.6 MB, free: 0.7266 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00091/0.2615, allocations: 253.2 kB / 406.9 MB, free: 496 kB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003396/0.2649, allocations: 2.84 MB / 409.7 MB, free: 13.61 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000782/0.2657, allocations: 1.296 MB / 411 MB, free: 12.29 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001406/0.2659, allocations: 59.42 kB / 411.1 MB, free: 12.23 MB / 318.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2659, allocations: 4 kB / 411.1 MB, free: 12.23 MB / 318.1 MB Notification: Performance of Templates: time 0.02194/0.2878, allocations: 20.43 MB / 431.5 MB, free: 7.883 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches