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.001139/0.001139, allocations: 114.8 kB / 17.69 MB, free: 5.312 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.001768/0.001769, allocations: 191 kB / 18.63 MB, free: 4.379 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.37/1.37, allocations: 222.9 MB / 242.3 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001031/0.001031, allocations: 54.86 kB / 302.1 MB, free: 5.164 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0894/0.09045, allocations: 49.44 MB / 351.5 MB, free: 3.691 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.005805/0.09629, allocations: 4.708 MB / 356.2 MB, free: 14.95 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002351/0.09867, allocations: 1.297 MB / 357.5 MB, free: 13.65 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003238/0.09901, allocations: 27.88 kB / 357.6 MB, free: 13.62 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006349/0.09965, allocations: 214.4 kB / 357.8 MB, free: 13.41 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006925/0.1004, allocations: 346 kB / 358.1 MB, free: 13.07 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003881/0.1008, allocations: 215.6 kB / 358.3 MB, free: 12.86 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001434/0.1022, allocations: 1.533 MB / 359.9 MB, free: 11.32 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001034/0.1033, allocations: 0.965 MB / 360.8 MB, free: 10.33 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007061/0.104, allocations: 0.6424 MB / 361.5 MB, free: 9.688 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008757/0.1049, allocations: 0.7666 MB / 362.2 MB, free: 8.918 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001906/0.1051, allocations: 168 kB / 362.4 MB, free: 8.754 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002137/0.1053, allocations: 164 kB / 362.5 MB, free: 8.594 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003826/0.1057, allocations: 426.8 kB / 363 MB, free: 8.176 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007353/0.1064, allocations: 0.7389 MB / 363.7 MB, free: 7.434 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001808/0.1082, allocations: 2.068 MB / 365.8 MB, free: 5.359 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.88e-06/0.1083, allocations: 0 / 365.8 MB, free: 5.359 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.1083, allocations: 0 / 365.8 MB, free: 5.359 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.763e-05/0.1083, allocations: 0 / 365.8 MB, free: 5.359 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.002762/0.1111, allocations: 1.638 MB / 367.4 MB, free: 3.664 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.1111, allocations: 11.89 kB / 367.4 MB, free: 3.652 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000204/0.1113, allocations: 135.3 kB / 367.6 MB, free: 3.52 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001459/0.1128, allocations: 0.9462 MB / 368.5 MB, free: 2.531 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.03e-05/0.1129, allocations: 74.38 kB / 368.6 MB, free: 2.457 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001474/0.113, allocations: 108.1 kB / 368.7 MB, free: 2.352 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002099/0.1151, allocations: 1.439 MB / 370.1 MB, free: 0.8828 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.043e-05/0.1152, allocations: 11.84 kB / 370.1 MB, free: 0.8711 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.421e-05/0.1153, allocations: 40 kB / 370.2 MB, free: 0.832 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.885e-05/0.1153, allocations: 41.98 kB / 370.2 MB, free: 0.7891 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.153/0.2684, allocations: 1.293 MB / 371.5 MB, free: 24.99 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006219/0.2746, allocations: 4.292 MB / 375.8 MB, free: 23.06 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001828/0.2765, allocations: 1.965 MB / 377.8 MB, free: 21.48 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001268/0.2777, allocations: 0.6098 MB / 378.4 MB, free: 21.26 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.076e-05/0.2778, allocations: 9.688 kB / 378.4 MB, free: 21.26 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001274/0.2791, allocations: 0.5953 MB / 379 MB, free: 21.01 MB / 302.1 MB Notification: Performance of pre-optimization done (n=75): time 3.407e-06/0.2791, allocations: 0 / 379 MB, free: 21.01 MB / 302.1 MB Notification: Performance of matching and sorting (n=75): time 0.007225/0.2864, allocations: 2.753 MB / 381.7 MB, free: 20.23 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.847e-05/0.2864, allocations: 116.8 kB / 381.8 MB, free: 20.11 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001058/0.2875, allocations: 0.8258 MB / 382.7 MB, free: 19.77 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.449e-05/0.2876, allocations: 46.08 kB / 382.7 MB, free: 19.73 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003285/0.2879, allocations: 484.8 kB / 383.2 MB, free: 19.36 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001527/0.2881, allocations: 242.4 kB / 383.4 MB, free: 19.18 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002079/0.2883, allocations: 135 kB / 383.6 MB, free: 19.11 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001115/0.2884, allocations: 389.8 kB / 383.9 MB, free: 18.77 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005749/0.289, allocations: 395.9 kB / 384.3 MB, free: 18.61 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006093/0.2896, allocations: 0.5435 MB / 384.9 MB, free: 18.21 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001113/0.2907, allocations: 0.9162 MB / 385.8 MB, free: 17.64 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.989e-06/0.2908, allocations: 1.031 kB / 385.8 MB, free: 17.64 MB / 302.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001869/0.2926, allocations: 1.313 MB / 387.1 MB, free: 16.93 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.2927, allocations: 6.125 kB / 387.1 MB, free: 16.93 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.2927, allocations: 4.562 kB / 387.1 MB, free: 16.93 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009617/0.2936, allocations: 479.5 kB / 387.6 MB, free: 16.68 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003425/0.294, allocations: 98.66 kB / 387.7 MB, free: 16.66 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005958/0.3, allocations: 5.576 MB / 393.2 MB, free: 12.66 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005963/0.3006, allocations: 81.45 kB / 393.3 MB, free: 12.61 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-05/0.3007, allocations: 27.91 kB / 393.4 MB, free: 12.6 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.0006674/0.3013, allocations: 470.7 kB / 393.8 MB, free: 12.27 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001812/0.3015, allocations: 89.91 kB / 393.9 MB, free: 12.22 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002299/0.3018, allocations: 107.9 kB / 394 MB, free: 12.14 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.845e-06/0.3018, allocations: 7.438 kB / 394 MB, free: 12.14 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.3018, allocations: 5.062 kB / 394 MB, free: 12.14 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.3018, allocations: 5.516 kB / 394 MB, free: 12.13 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003774/0.3056, allocations: 2.593 MB / 396.6 MB, free: 10.52 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.3056, allocations: 3.938 kB / 396.6 MB, free: 10.51 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002791/0.3059, allocations: 64.66 kB / 396.7 MB, free: 10.5 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009266/0.3068, allocations: 464.2 kB / 397.1 MB, free: 10.26 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.943e-05/0.3069, allocations: 11.94 kB / 397.1 MB, free: 10.25 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005561/0.3125, allocations: 5.526 MB / 402.7 MB, free: 4.836 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.3125, allocations: 0 / 402.7 MB, free: 4.836 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002279/0.3148, allocations: 1.92 MB / 404.6 MB, free: 2.902 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005611/0.3153, allocations: 267.9 kB / 404.9 MB, free: 2.621 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001883/0.3155, allocations: 14.11 kB / 404.9 MB, free: 2.609 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004856/0.316, allocations: 51.94 kB / 404.9 MB, free: 2.559 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001805/0.3162, allocations: 76.48 kB / 405 MB, free: 2.484 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.579e-05/0.3163, allocations: 19.94 kB / 405 MB, free: 2.465 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006989/0.317, allocations: 0.5888 MB / 405.6 MB, free: 1.883 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.317, allocations: 0 / 405.6 MB, free: 1.883 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009624/0.318, allocations: 347 kB / 405.9 MB, free: 1.543 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.0001661/0.3181, allocations: 135.8 kB / 406.1 MB, free: 1.398 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001955/0.3201, allocations: 1.284 MB / 407.4 MB, free: 108 kB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.3201, allocations: 0 / 407.4 MB, free: 108 kB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001207/0.3213, allocations: 0.8258 MB / 408.2 MB, free: 15.27 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001089/0.3224, allocations: 278 kB / 408.5 MB, free: 15.01 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003933/0.3264, allocations: 2.328 MB / 410.8 MB, free: 12.67 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009757/0.3274, allocations: 1.322 MB / 412.1 MB, free: 11.32 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003689/0.3277, allocations: 147.3 kB / 412.2 MB, free: 11.17 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001548/0.3279, allocations: 55.42 kB / 412.3 MB, free: 11.12 MB / 318.1 MB Notification: Performance of SimCode: time 2.955e-06/0.3279, allocations: 0 / 412.3 MB, free: 11.12 MB / 318.1 MB Notification: Performance of Templates: time 0.04235/0.3703, allocations: 19.56 MB / 431.9 MB, free: 7.82 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 -s gbode -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