Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001085/0.001085, allocations: 198.9 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.2/1.2, allocations: 227.2 MB / 245 MB, free: 7.48 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008545/0.0008545, allocations: 111.1 kB / 297.3 MB, free: 6.156 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002552/0.0002553, allocations: 8 kB / 357.9 MB, free: 9.5 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.196/0.1962, allocations: 51.48 MB / 409.4 MB, free: 26.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09287/0.2891, allocations: 82.93 MB / 492.4 MB, free: 7.664 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002513/0.2894, allocations: 87.94 kB / 492.4 MB, free: 7.578 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01837/0.3078, allocations: 7.469 MB / 499.9 MB, free: 60 kB / 362.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3079, allocations: 0 / 499.9 MB, free: 60 kB / 362.7 MB Notification: Performance of Transformations before backend: time 2.321e-05/0.3079, allocations: 12 kB / 499.9 MB, free: 48 kB / 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.001136/0.309, allocations: 0.7087 MB / 0.4889 GB, free: 15.29 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.3091, allocations: 8.031 kB / 0.4889 GB, free: 15.28 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002314/0.3093, allocations: 67.33 kB / 0.489 GB, free: 15.21 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004662/0.3098, allocations: 375.8 kB / 0.4893 GB, free: 14.81 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.198e-05/0.3098, allocations: 40.89 kB / 0.4894 GB, free: 14.77 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.677e-05/0.3099, allocations: 44 kB / 0.4894 GB, free: 14.73 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000679/0.3106, allocations: 445.6 kB / 0.4898 GB, free: 14.27 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.713e-05/0.3106, allocations: 7.938 kB / 0.4898 GB, free: 14.26 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.284e-05/0.3107, allocations: 16 kB / 0.4899 GB, free: 14.24 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.385e-05/0.3107, allocations: 12 kB / 0.4899 GB, free: 14.23 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005537/0.3113, allocations: 327.8 kB / 0.4902 GB, free: 13.91 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002241/0.3135, allocations: 1.888 MB / 0.492 GB, free: 11.92 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000684/0.3142, allocations: 0.6008 MB / 0.4926 GB, free: 11.25 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.845e-05/0.3142, allocations: 12.28 kB / 0.4926 GB, free: 11.24 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003979/0.3146, allocations: 265.2 kB / 0.4929 GB, free: 10.96 MB / 378.7 MB Notification: Performance of pre-optimization done (n=43): time 1.733e-06/0.3147, allocations: 0 / 0.4929 GB, free: 10.96 MB / 378.7 MB Notification: Performance of matching and sorting (n=43): time 0.002074/0.3167, allocations: 0.8432 MB / 0.4937 GB, free: 10.09 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.828e-05/0.3168, allocations: 85.11 kB / 0.4938 GB, free: 9.992 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002782/0.3171, allocations: 291.6 kB / 0.4941 GB, free: 9.699 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.643e-05/0.3171, allocations: 33.7 kB / 0.4941 GB, free: 9.66 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001462/0.3173, allocations: 216.4 kB / 0.4943 GB, free: 9.441 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.584e-05/0.3174, allocations: 142 kB / 0.4944 GB, free: 9.301 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.673e-05/0.3174, allocations: 4 kB / 0.4944 GB, free: 9.297 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001117/0.3175, allocations: 346.8 kB / 0.4948 GB, free: 8.949 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002131/0.3177, allocations: 121.1 kB / 0.4949 GB, free: 8.832 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000279/0.318, allocations: 248.1 kB / 0.4951 GB, free: 8.535 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002497/0.3183, allocations: 144 kB / 0.4953 GB, free: 8.395 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.3183, allocations: 0 / 0.4953 GB, free: 8.395 MB / 378.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008106/0.3191, allocations: 0.5174 MB / 0.4958 GB, free: 7.867 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.3192, allocations: 8 kB / 0.4958 GB, free: 7.859 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.238e-06/0.3192, allocations: 4 kB / 0.4958 GB, free: 7.855 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004272/0.3196, allocations: 148.7 kB / 0.4959 GB, free: 7.707 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000222/0.3198, allocations: 59.91 kB / 0.496 GB, free: 7.648 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002468/0.3223, allocations: 2.356 MB / 0.4983 GB, free: 5.164 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002326/0.3226, allocations: 43.56 kB / 0.4983 GB, free: 5.121 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.844e-05/0.3226, allocations: 20 kB / 0.4983 GB, free: 5.102 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.000197/0.3228, allocations: 176 kB / 0.4985 GB, free: 4.922 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.182e-05/0.3229, allocations: 39.53 kB / 0.4985 GB, free: 4.883 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.006e-05/0.3229, allocations: 48.41 kB / 0.4986 GB, free: 4.836 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.323, allocations: 4 kB / 0.4986 GB, free: 4.832 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.323, allocations: 0 / 0.4986 GB, free: 4.832 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.323, allocations: 7.891 kB / 0.4986 GB, free: 4.824 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001313/0.3243, allocations: 1.019 MB / 0.4996 GB, free: 3.746 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.3243, allocations: 3.953 kB / 0.4996 GB, free: 3.742 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001835/0.3245, allocations: 39.91 kB / 0.4996 GB, free: 3.703 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003549/0.3249, allocations: 144.7 kB / 0.4998 GB, free: 3.559 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.907e-05/0.3249, allocations: 12 kB / 0.4998 GB, free: 3.547 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002418/0.3273, allocations: 2.322 MB / 0.5021 GB, free: 1.098 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.3273, allocations: 4 kB / 0.5021 GB, free: 1.094 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00098/0.3283, allocations: 0.7155 MB / 0.5028 GB, free: 364 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001498/0.3285, allocations: 148.6 kB / 0.5029 GB, free: 196 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.728e-05/0.3285, allocations: 8 kB / 0.5029 GB, free: 188 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000217/0.3288, allocations: 23.98 kB / 0.5029 GB, free: 164 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.425e-05/0.3289, allocations: 35.91 kB / 0.503 GB, free: 128 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.822e-05/0.3289, allocations: 15.98 kB / 0.503 GB, free: 112 kB / 378.7 MB Notification: Performance of sorting global known variables: time 0.1606/0.4895, allocations: 216.4 kB / 0.5032 GB, free: 94.67 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.4896, allocations: 0 / 0.5032 GB, free: 94.67 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008491/0.4904, allocations: 147.4 kB / 0.5033 GB, free: 94.67 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.0001963/0.4906, allocations: 121.4 kB / 0.5034 GB, free: 94.59 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001177/0.4918, allocations: 0.5343 MB / 0.504 GB, free: 94.45 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.678e-06/0.4919, allocations: 0.625 kB / 0.504 GB, free: 94.45 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005776/0.4924, allocations: 383.2 kB / 0.5043 GB, free: 94.33 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004394/0.4929, allocations: 76.09 kB / 0.5044 GB, free: 94.32 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002045/0.4949, allocations: 1.027 MB / 0.5054 GB, free: 93.82 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004078/0.4954, allocations: 0.8395 MB / 0.5062 GB, free: 93.12 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001994/0.4956, allocations: 42.95 kB / 0.5063 GB, free: 93.12 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.778e-05/0.4956, allocations: 26.92 kB / 0.5063 GB, free: 93.11 MB / 378.7 MB Notification: Performance of SimCode: time 3.61e-07/0.4957, allocations: 1.469 kB / 0.5063 GB, free: 93.11 MB / 378.7 MB Notification: Performance of Templates: time 0.01163/0.5073, allocations: 6.224 MB / 0.5124 GB, free: 92.89 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches