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.001598/0.001598, allocations: 103 kB / 17.74 MB, free: 5.355 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.001826/0.001826, allocations: 188.5 kB / 18.66 MB, free: 4.438 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.363/1.363, allocations: 222.9 MB / 242.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001128/0.001128, allocations: 43.94 kB / 352 MB, free: 3.258 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.246/0.2471, allocations: 49.44 MB / 401.4 MB, free: 8.758 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.005727/0.2529, allocations: 4.725 MB / 406.1 MB, free: 4.141 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002347/0.2553, allocations: 1.281 MB / 407.4 MB, free: 2.855 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000339/0.2556, allocations: 27.88 kB / 407.5 MB, free: 2.828 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005845/0.2562, allocations: 222.4 kB / 407.7 MB, free: 2.609 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006992/0.257, allocations: 354 kB / 408 MB, free: 2.262 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000371/0.2573, allocations: 207.7 kB / 408.2 MB, free: 2.059 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001308/0.2587, allocations: 1.533 MB / 409.8 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001001/0.2597, allocations: 0.9608 MB / 410.7 MB, free: 15.53 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006443/0.2603, allocations: 0.6463 MB / 411.4 MB, free: 14.88 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008077/0.2611, allocations: 0.7665 MB / 412.1 MB, free: 14.11 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002024/0.2614, allocations: 164 kB / 412.3 MB, free: 13.95 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002459/0.2616, allocations: 164 kB / 412.4 MB, free: 13.79 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003654/0.262, allocations: 438.8 kB / 412.9 MB, free: 13.36 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006951/0.2627, allocations: 0.7312 MB / 413.6 MB, free: 12.62 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001674/0.2644, allocations: 2.085 MB / 415.7 MB, free: 10.53 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.2644, allocations: 0 / 415.7 MB, free: 10.53 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2644, allocations: 0 / 415.7 MB, free: 10.53 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.052e-05/0.2644, allocations: 0 / 415.7 MB, free: 10.53 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.002834/0.2673, allocations: 1.631 MB / 417.3 MB, free: 8.848 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.2673, allocations: 12.03 kB / 417.3 MB, free: 8.836 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000225/0.2675, allocations: 147.2 kB / 417.5 MB, free: 8.691 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001467/0.269, allocations: 0.9346 MB / 418.4 MB, free: 7.715 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.761e-05/0.2691, allocations: 74.38 kB / 418.5 MB, free: 7.645 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001526/0.2692, allocations: 104.1 kB / 418.6 MB, free: 7.543 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002177/0.2714, allocations: 1.439 MB / 420 MB, free: 6.07 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.477e-05/0.2715, allocations: 3.938 kB / 420 MB, free: 6.066 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001012/0.2716, allocations: 47.98 kB / 420.1 MB, free: 6.02 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.83e-05/0.2716, allocations: 45.92 kB / 420.1 MB, free: 5.977 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001983/0.2736, allocations: 1.292 MB / 421.4 MB, free: 4.68 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006019/0.2797, allocations: 4.281 MB / 425.7 MB, free: 308 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001902/0.2816, allocations: 1.967 MB / 427.7 MB, free: 14.12 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001198/0.2828, allocations: 0.743 MB / 428.4 MB, free: 13.37 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.712e-05/0.2829, allocations: 8.656 kB / 428.4 MB, free: 13.36 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008666/0.2837, allocations: 0.5975 MB / 429 MB, free: 12.74 MB / 350.1 MB Notification: Performance of pre-optimization done (n=75): time 2.224e-06/0.2837, allocations: 0 / 429 MB, free: 12.74 MB / 350.1 MB Notification: Performance of matching and sorting (n=75): time 0.006942/0.2907, allocations: 2.824 MB / 431.8 MB, free: 9.887 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.305e-05/0.2908, allocations: 115.5 kB / 431.9 MB, free: 9.746 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001067/0.2919, allocations: 0.8208 MB / 432.8 MB, free: 8.918 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.699e-05/0.2919, allocations: 37.7 kB / 432.8 MB, free: 8.875 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003785/0.2923, allocations: 495.7 kB / 433.3 MB, free: 8.383 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001964/0.2925, allocations: 240.5 kB / 433.5 MB, free: 8.145 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002201/0.2927, allocations: 138.6 kB / 433.7 MB, free: 8.004 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001802/0.2929, allocations: 390.8 kB / 434 MB, free: 7.613 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005962/0.2935, allocations: 389.7 kB / 434.4 MB, free: 7.23 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006992/0.2942, allocations: 0.5455 MB / 435 MB, free: 6.625 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001266/0.2955, allocations: 0.9231 MB / 435.9 MB, free: 5.648 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.671e-06/0.2955, allocations: 3.938 kB / 435.9 MB, free: 5.645 MB / 350.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002053/0.2976, allocations: 1.299 MB / 437.2 MB, free: 4.336 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.2976, allocations: 8 kB / 437.2 MB, free: 4.328 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.386e-05/0.2976, allocations: 4 kB / 437.2 MB, free: 4.324 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001044/0.2987, allocations: 480.4 kB / 437.7 MB, free: 3.852 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003611/0.2991, allocations: 87.89 kB / 437.8 MB, free: 3.766 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007049/0.3061, allocations: 5.578 MB / 443.3 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000565/0.3067, allocations: 79.45 kB / 443.4 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.172e-05/0.3068, allocations: 27.94 kB / 443.4 MB, free: 13.94 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.0006597/0.3075, allocations: 467.3 kB / 443.9 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001604/0.3076, allocations: 86.97 kB / 444 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002316/0.3079, allocations: 120.5 kB / 444.1 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.685e-06/0.3079, allocations: 8 kB / 444.1 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.3079, allocations: 0 / 444.1 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.3079, allocations: 3.984 kB / 444.1 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004106/0.312, allocations: 2.587 MB / 446.7 MB, free: 10.6 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.312, allocations: 4 kB / 446.7 MB, free: 10.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002992/0.3123, allocations: 55.95 kB / 446.8 MB, free: 10.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009678/0.3133, allocations: 460.3 kB / 447.2 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.292e-05/0.3134, allocations: 19.98 kB / 447.2 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006924/0.3203, allocations: 5.506 MB / 452.7 MB, free: 4.418 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.3203, allocations: 0 / 452.7 MB, free: 4.418 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002738/0.3231, allocations: 1.909 MB / 454.6 MB, free: 2.484 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004915/0.3236, allocations: 275.9 kB / 454.9 MB, free: 2.195 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001456/0.3237, allocations: 12 kB / 454.9 MB, free: 2.184 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004566/0.3242, allocations: 47.95 kB / 455 MB, free: 2.137 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001777/0.3244, allocations: 68.55 kB / 455 MB, free: 2.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.87e-05/0.3244, allocations: 23.98 kB / 455.1 MB, free: 2.047 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007639/0.3252, allocations: 0.5965 MB / 455.7 MB, free: 1.453 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3252, allocations: 0 / 455.7 MB, free: 1.453 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009655/0.3262, allocations: 339.1 kB / 456 MB, free: 1.121 MB / 366.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.0001794/0.3264, allocations: 138.9 kB / 456.1 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002106/0.3285, allocations: 1.27 MB / 457.4 MB, free: 15.7 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.369e-06/0.3285, allocations: 0 / 457.4 MB, free: 15.7 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001207/0.3297, allocations: 0.8249 MB / 458.2 MB, free: 14.86 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001078/0.3308, allocations: 277.6 kB / 458.5 MB, free: 14.59 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00397/0.3348, allocations: 2.324 MB / 460.8 MB, free: 12.24 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000881/0.3357, allocations: 1.292 MB / 462.1 MB, free: 10.93 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001722/0.3359, allocations: 63.42 kB / 462.2 MB, free: 10.86 MB / 382.1 MB Notification: Performance of SimCode: time 3.6e-07/0.3359, allocations: 0 / 462.2 MB, free: 10.86 MB / 382.1 MB Notification: Performance of Templates: time 0.02554/0.3614, allocations: 20.82 MB / 483 MB, free: 6.117 MB / 398.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