Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,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.RectifierBridge2Pulse.DiodeBridge2Pulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,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.RectifierBridge2Pulse.DiodeBridge2Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009585/0.0009584, allocations: 180.8 kB / 16.39 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.313/1.313, allocations: 223.2 MB / 240.3 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000762/0.0007622, allocations: 102.1 kB / 291.5 MB, free: 10.89 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002739/0.0002739, allocations: 8 kB / 351.1 MB, free: 15.28 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2557/0.256, allocations: 50.39 MB / 401.5 MB, free: 32.57 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1064/0.3624, allocations: 82.12 MB / 483.6 MB, free: 14.34 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003229/0.3628, allocations: 87.94 kB / 483.7 MB, free: 14.26 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01952/0.3823, allocations: 7.303 MB / 491 MB, free: 6.906 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.3824, allocations: 0 / 491 MB, free: 6.906 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.23e-05/0.3824, allocations: 12 kB / 491 MB, free: 6.895 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001303/0.3837, allocations: 0.7039 MB / 491.7 MB, free: 6.145 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/0.3838, allocations: 8.031 kB / 491.7 MB, free: 6.137 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001433/0.3839, allocations: 55.34 kB / 491.8 MB, free: 6.082 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005583/0.3845, allocations: 359 kB / 492.1 MB, free: 5.691 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.836e-05/0.3845, allocations: 33 kB / 492.2 MB, free: 5.66 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.336e-05/0.3846, allocations: 44 kB / 492.2 MB, free: 5.617 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000794/0.3854, allocations: 461.5 kB / 492.7 MB, free: 5.145 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.862e-05/0.3855, allocations: 0 / 492.7 MB, free: 5.145 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.571e-05/0.3855, allocations: 19.95 kB / 492.7 MB, free: 5.125 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.41e-05/0.3855, allocations: 12 kB / 492.7 MB, free: 5.113 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005972/0.3861, allocations: 319.8 kB / 493 MB, free: 4.797 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002717/0.3889, allocations: 1.876 MB / 494.9 MB, free: 2.816 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008338/0.3897, allocations: 0.6085 MB / 495.5 MB, free: 2.145 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.934e-05/0.3898, allocations: 12.3 kB / 495.5 MB, free: 2.133 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004918/0.3903, allocations: 269.1 kB / 495.8 MB, free: 1.852 MB / 362.7 MB Notification: Performance of pre-optimization done (n=43): time 1.853e-06/0.3903, allocations: 4 kB / 495.8 MB, free: 1.848 MB / 362.7 MB Notification: Performance of matching and sorting (n=43): time 0.002348/0.3926, allocations: 0.8305 MB / 496.6 MB, free: 0.9883 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.195e-05/0.3927, allocations: 85.11 kB / 496.7 MB, free: 0.8867 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000394/0.3931, allocations: 283.6 kB / 497 MB, free: 0.6055 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.696e-05/0.3932, allocations: 33.7 kB / 497 MB, free: 0.5664 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001999/0.3934, allocations: 212.4 kB / 497.2 MB, free: 360 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001427/0.3935, allocations: 130.1 kB / 497.3 MB, free: 228 kB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.252e-05/0.3936, allocations: 12 kB / 497.3 MB, free: 216 kB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002011/0.3938, allocations: 350.8 kB / 497.7 MB, free: 15.86 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002537/0.394, allocations: 117.1 kB / 497.8 MB, free: 15.75 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003393/0.3944, allocations: 255.9 kB / 498.1 MB, free: 15.45 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002946/0.3947, allocations: 144 kB / 498.2 MB, free: 15.3 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.631e-06/0.3947, allocations: 0 / 498.2 MB, free: 15.3 MB / 378.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0009152/0.3956, allocations: 0.5058 MB / 498.7 MB, free: 14.79 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.038e-05/0.3957, allocations: 11.12 kB / 498.7 MB, free: 14.78 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.47e-05/0.3957, allocations: 7.953 kB / 498.7 MB, free: 14.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004964/0.3962, allocations: 144.7 kB / 498.9 MB, free: 14.63 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002542/0.3965, allocations: 63.91 kB / 498.9 MB, free: 14.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003035/0.3995, allocations: 2.346 MB / 0.4895 GB, free: 12.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003161/0.3999, allocations: 47.72 kB / 0.4896 GB, free: 12.05 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.571e-05/0.3999, allocations: 16 kB / 0.4896 GB, free: 12.03 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.meanVoltage.y_last,meanVoltage.y_last,$PRE.meanCurrent.y_last,meanCurrent.y_last,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y_last,rootMeanSquareVoltage.mean.y_last,rectifier.diode_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 14} Notification: Performance of prepare postOptimizeDAE: time 0.0003166/0.4002, allocations: 174.3 kB / 0.4897 GB, free: 11.85 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.22e-05/0.4003, allocations: 43.52 kB / 0.4898 GB, free: 11.81 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001379/0.4005, allocations: 48.3 kB / 0.4898 GB, free: 11.76 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.4005, allocations: 4 kB / 0.4898 GB, free: 11.75 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.4005, allocations: 144 / 0.4898 GB, free: 11.75 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.4005, allocations: 3.984 kB / 0.4898 GB, free: 11.75 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001526/0.402, allocations: 1.018 MB / 0.4908 GB, free: 10.67 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/0.4021, allocations: 0 / 0.4908 GB, free: 10.67 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001865/0.4023, allocations: 39.86 kB / 0.4909 GB, free: 10.63 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004075/0.4027, allocations: 144.7 kB / 0.491 GB, free: 10.49 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.183e-05/0.4027, allocations: 8 kB / 0.491 GB, free: 10.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00263/0.4054, allocations: 2.329 MB / 0.4933 GB, free: 8.027 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.4054, allocations: 0 / 0.4933 GB, free: 8.027 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001149/0.4065, allocations: 0.7038 MB / 0.494 GB, free: 7.301 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002214/0.4068, allocations: 156.5 kB / 0.4941 GB, free: 7.129 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.372e-05/0.4068, allocations: 12 kB / 0.4941 GB, free: 7.117 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002201/0.4071, allocations: 15.98 kB / 0.4942 GB, free: 7.102 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000103/0.4072, allocations: 35.95 kB / 0.4942 GB, free: 7.066 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.235e-05/0.4072, allocations: 16 kB / 0.4942 GB, free: 7.051 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002507/0.4075, allocations: 215.1 kB / 0.4944 GB, free: 6.844 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4075, allocations: 0 / 0.4944 GB, free: 6.844 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006646/0.4082, allocations: 151.7 kB / 0.4946 GB, free: 6.695 MB / 378.7 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: 10 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.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 (26): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002271/0.4084, allocations: 125.6 kB / 0.4947 GB, free: 6.562 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001027/0.4094, allocations: 0.5455 MB / 0.4952 GB, free: 6.004 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.257e-06/0.4095, allocations: 0 / 0.4952 GB, free: 6.004 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005441/0.41, allocations: 371.5 kB / 0.4956 GB, free: 5.629 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004053/0.4104, allocations: 85.88 kB / 0.4956 GB, free: 5.543 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001884/0.4123, allocations: 1.014 MB / 0.4966 GB, free: 4.504 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005068/0.4128, allocations: 0.8399 MB / 0.4975 GB, free: 3.637 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001742/0.413, allocations: 39.3 kB / 0.4975 GB, free: 3.594 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.408e-05/0.4131, allocations: 27.44 kB / 0.4975 GB, free: 3.566 MB / 378.7 MB Notification: Performance of SimCode: time 3.61e-07/0.4131, allocations: 0 / 0.4975 GB, free: 3.566 MB / 378.7 MB Notification: Performance of Templates: time 0.2355/0.6486, allocations: 6.124 MB / 0.5035 GB, free: 98.41 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/DiodeBridge2Pulse/DiodeBridge2Pulse.csv","../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches