Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_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_cpp_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_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001061/0.001061, allocations: 195.3 kB / 18.07 MB, free: 3.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.253/1.253, allocations: 226.5 MB / 245.3 MB, free: 6.516 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007165/0.0007164, allocations: 94.17 kB / 297.4 MB, free: 6.676 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002104/0.0002106, allocations: 8 kB / 357.4 MB, free: 10.71 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1878/0.188, allocations: 51.3 MB / 408.7 MB, free: 27.67 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08909/0.2771, allocations: 82.88 MB / 491.6 MB, free: 8.668 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002242/0.2774, allocations: 87.94 kB / 491.6 MB, free: 8.582 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01847/0.2959, allocations: 7.468 MB / 499.1 MB, free: 1.07 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.2959, allocations: 0 / 499.1 MB, free: 1.07 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.261e-05/0.2959, allocations: 12 kB / 499.1 MB, free: 1.059 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.001097/0.297, allocations: 0.7089 MB / 499.8 MB, free: 304 kB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.2971, allocations: 12.03 kB / 499.8 MB, free: 292 kB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001845/0.2973, allocations: 64.28 kB / 499.9 MB, free: 228 kB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004538/0.2977, allocations: 380.7 kB / 0.4886 GB, free: 15.82 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.997e-05/0.2978, allocations: 33.38 kB / 0.4886 GB, free: 15.79 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.66e-05/0.2979, allocations: 48.58 kB / 0.4886 GB, free: 15.74 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007016/0.2986, allocations: 458.1 kB / 0.4891 GB, free: 15.27 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.672e-05/0.2986, allocations: 7.875 kB / 0.4891 GB, free: 15.26 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.357e-05/0.2987, allocations: 20 kB / 0.4891 GB, free: 15.24 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.328e-06/0.2987, allocations: 8 kB / 0.4891 GB, free: 15.23 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005901/0.2993, allocations: 327.8 kB / 0.4894 GB, free: 14.91 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002277/0.3016, allocations: 1.888 MB / 0.4913 GB, free: 12.92 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000743/0.3023, allocations: 0.6086 MB / 0.4919 GB, free: 12.25 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005281/0.3029, allocations: 284.8 kB / 0.4921 GB, free: 11.97 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.135e-05/0.3029, allocations: 4.328 kB / 0.4921 GB, free: 11.97 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004254/0.3033, allocations: 281.1 kB / 0.4924 GB, free: 11.68 MB / 378.7 MB Notification: Performance of pre-optimization done (n=43): time 1.924e-06/0.3033, allocations: 0 / 0.4924 GB, free: 11.68 MB / 378.7 MB Notification: Performance of matching and sorting (n=43): time 0.002159/0.3055, allocations: 0.8577 MB / 0.4932 GB, free: 10.79 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.117e-05/0.3056, allocations: 89.09 kB / 0.4933 GB, free: 10.68 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003252/0.3059, allocations: 316.5 kB / 0.4936 GB, free: 10.37 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.452e-05/0.3059, allocations: 37.7 kB / 0.4937 GB, free: 10.32 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001365/0.3061, allocations: 216.4 kB / 0.4939 GB, free: 10.11 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.061e-05/0.3062, allocations: 134.1 kB / 0.494 GB, free: 9.977 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.083e-05/0.3062, allocations: 16 kB / 0.494 GB, free: 9.961 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001281/0.3063, allocations: 346.8 kB / 0.4943 GB, free: 9.613 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002211/0.3066, allocations: 117.1 kB / 0.4944 GB, free: 9.5 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003111/0.3069, allocations: 256.1 kB / 0.4947 GB, free: 9.199 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000513/0.3074, allocations: 365.9 kB / 0.495 GB, free: 8.793 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.3074, allocations: 4 kB / 0.495 GB, free: 8.789 MB / 378.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008266/0.3083, allocations: 0.5088 MB / 0.4955 GB, free: 8.27 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.3083, allocations: 7.938 kB / 0.4956 GB, free: 8.262 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/0.3083, allocations: 4 kB / 0.4956 GB, free: 8.258 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004318/0.3087, allocations: 153.1 kB / 0.4957 GB, free: 8.105 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002162/0.309, allocations: 59.84 kB / 0.4958 GB, free: 8.047 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002457/0.3114, allocations: 2.31 MB / 0.498 GB, free: 5.602 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002352/0.3117, allocations: 47.66 kB / 0.4981 GB, free: 5.555 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.33e-05/0.3117, allocations: 12 kB / 0.4981 GB, free: 5.543 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.0002062/0.3119, allocations: 185.7 kB / 0.4982 GB, free: 5.352 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.233e-05/0.312, allocations: 39.67 kB / 0.4983 GB, free: 5.312 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.895e-05/0.3121, allocations: 56.39 kB / 0.4983 GB, free: 5.258 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-06/0.3121, allocations: 4 kB / 0.4983 GB, free: 5.254 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.3121, allocations: 3.984 kB / 0.4983 GB, free: 5.25 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.3121, allocations: 0 / 0.4983 GB, free: 5.25 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001397/0.3135, allocations: 1.031 MB / 0.4994 GB, free: 4.156 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.3135, allocations: 0 / 0.4994 GB, free: 4.156 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001616/0.3137, allocations: 39.92 kB / 0.4994 GB, free: 4.117 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003577/0.3141, allocations: 147.4 kB / 0.4995 GB, free: 3.973 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.82e-05/0.3141, allocations: 12 kB / 0.4995 GB, free: 3.961 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002469/0.3166, allocations: 2.308 MB / 0.5018 GB, free: 1.523 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.3166, allocations: 0 / 0.5018 GB, free: 1.523 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001059/0.3177, allocations: 0.7122 MB / 0.5025 GB, free: 0.7852 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001561/0.3178, allocations: 152.5 kB / 0.5026 GB, free: 0.6172 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.342e-05/0.3179, allocations: 12 kB / 0.5027 GB, free: 0.6055 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002015/0.3181, allocations: 19.98 kB / 0.5027 GB, free: 0.5859 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.692e-05/0.3182, allocations: 31.95 kB / 0.5027 GB, free: 0.5547 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.678e-05/0.3182, allocations: 15.98 kB / 0.5027 GB, free: 0.5391 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002209/0.3185, allocations: 223.1 kB / 0.5029 GB, free: 328 kB / 378.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.3185, allocations: 0 / 0.5029 GB, free: 328 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.000553/0.319, allocations: 147.7 kB / 0.5031 GB, free: 180 kB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.00016/0.3192, allocations: 119.1 kB / 0.5032 GB, free: 52 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.1425/0.4617, allocations: 0.5254 MB / 0.5037 GB, free: 95.8 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.4617, allocations: 2.844 kB / 0.5037 GB, free: 95.8 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005824/0.4623, allocations: 381.8 kB / 0.5041 GB, free: 95.68 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005614/0.4629, allocations: 89.95 kB / 0.5041 GB, free: 95.67 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001605/0.4645, allocations: 1.07 MB / 0.5052 GB, free: 95.13 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000281/0.4648, allocations: 0.8322 MB / 0.506 GB, free: 94.43 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.607e-05/0.4649, allocations: 29.94 kB / 0.506 GB, free: 94.42 MB / 378.7 MB Notification: Performance of SimCode: time 4.41e-07/0.4649, allocations: 0 / 0.506 GB, free: 94.42 MB / 378.7 MB Notification: Performance of Templates: time 0.008475/0.4734, allocations: 7.064 MB / 0.5129 GB, free: 93.97 MB / 378.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.makefile (rm -f Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & ./Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/DiodeBridge2Pulse/DiodeBridge2Pulse.csv","../files/Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches