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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001046/0.001046, allocations: 98.92 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001283/0.001284, allocations: 206.9 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.452/1.452, allocations: 227.2 MB / 245.9 MB, free: 10.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000227/0.000227, allocations: 8 kB / 306.6 MB, free: 1.398 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1068, allocations: 51.49 MB / 358.1 MB, free: 13.91 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.003611/0.1104, allocations: 3.046 MB / 361.1 MB, free: 10.84 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001764/0.1122, allocations: 0.9551 MB / 362.1 MB, free: 9.887 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001995/0.1124, allocations: 8 kB / 362.1 MB, free: 9.879 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001651/0.1126, allocations: 51.53 kB / 362.1 MB, free: 9.828 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003512/0.113, allocations: 175.5 kB / 362.3 MB, free: 9.656 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000297/0.1133, allocations: 107.8 kB / 362.4 MB, free: 9.551 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004606/0.1138, allocations: 407.2 kB / 362.8 MB, free: 9.152 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000307/0.1141, allocations: 161.7 kB / 363 MB, free: 8.984 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002632/0.1143, allocations: 187.2 kB / 363.2 MB, free: 8.801 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002495/0.1146, allocations: 211 kB / 363.4 MB, free: 8.594 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.546e-05/0.1147, allocations: 24 kB / 363.4 MB, free: 8.57 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.415e-05/0.1148, allocations: 28 kB / 363.4 MB, free: 8.543 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.907e-05/0.1148, allocations: 87.66 kB / 363.5 MB, free: 8.457 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000105/0.115, allocations: 117.4 kB / 363.6 MB, free: 8.336 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004105/0.1154, allocations: 478.7 kB / 364.1 MB, free: 7.867 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.1154, allocations: 0 / 364.1 MB, free: 7.867 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.1154, allocations: 0 / 364.1 MB, free: 7.867 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.654e-06/0.1154, allocations: 0 / 364.1 MB, free: 7.867 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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001162/0.1166, allocations: 0.7051 MB / 364.8 MB, free: 7.117 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.1166, allocations: 8.031 kB / 364.8 MB, free: 7.109 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002184/0.1168, allocations: 71.33 kB / 364.9 MB, free: 7.039 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004586/0.1173, allocations: 359.7 kB / 365.2 MB, free: 6.652 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.387e-05/0.1174, allocations: 33 kB / 365.2 MB, free: 6.621 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.64e-05/0.1174, allocations: 44 kB / 365.3 MB, free: 6.578 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007115/0.1181, allocations: 453.5 kB / 365.7 MB, free: 6.109 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.584e-05/0.1182, allocations: 8 kB / 365.7 MB, free: 6.102 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.408e-05/0.1182, allocations: 16 kB / 365.8 MB, free: 6.086 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.262e-05/0.1182, allocations: 11.98 kB / 365.8 MB, free: 6.074 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006044/0.1189, allocations: 323.8 kB / 366.1 MB, free: 5.762 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002323/0.1212, allocations: 1.886 MB / 368 MB, free: 3.77 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007498/0.122, allocations: 0.6095 MB / 368.6 MB, free: 3.098 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.118e-05/0.122, allocations: 4.328 kB / 368.6 MB, free: 3.094 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004479/0.1225, allocations: 279.5 kB / 368.9 MB, free: 2.805 MB / 302.1 MB Notification: Performance of pre-optimization done (n=43): time 1.974e-06/0.1225, allocations: 0 / 368.9 MB, free: 2.805 MB / 302.1 MB Notification: Performance of matching and sorting (n=43): time 0.002412/0.1249, allocations: 0.8471 MB / 369.7 MB, free: 1.93 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.054e-05/0.125, allocations: 93.09 kB / 369.8 MB, free: 1.82 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003536/0.1253, allocations: 316.5 kB / 370.1 MB, free: 1.5 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.164e-05/0.1254, allocations: 37.7 kB / 370.1 MB, free: 1.457 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001703/0.1256, allocations: 216.4 kB / 370.3 MB, free: 1.242 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000109/0.1257, allocations: 138 kB / 370.5 MB, free: 1.105 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.004e-05/0.1257, allocations: 12 kB / 370.5 MB, free: 1.094 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001304/0.1258, allocations: 346.8 kB / 370.8 MB, free: 0.7461 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002183/0.1261, allocations: 117.1 kB / 370.9 MB, free: 0.6289 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002959/0.1264, allocations: 253 kB / 371.2 MB, free: 336 kB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002622/0.1266, allocations: 151.9 kB / 371.3 MB, free: 184 kB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.671e-06/0.1267, allocations: 3.953 kB / 371.3 MB, free: 180 kB / 302.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.2299/0.3565, allocations: 0.5033 MB / 371.9 MB, free: 19.15 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.238e-05/0.3566, allocations: 7.266 kB / 371.9 MB, free: 19.15 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.805e-05/0.3566, allocations: 4.125 kB / 371.9 MB, free: 19.15 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006167/0.3573, allocations: 152.6 kB / 372 MB, free: 19.14 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002985/0.3576, allocations: 69.73 kB / 372.1 MB, free: 19.14 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003216/0.3608, allocations: 2.333 MB / 374.4 MB, free: 17.82 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004327/0.3613, allocations: 44.92 kB / 374.5 MB, free: 17.82 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.276e-05/0.3613, allocations: 18.06 kB / 374.5 MB, free: 17.82 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: 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 (40): * Single equations (assignments): 39 * 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.0003057/0.3616, allocations: 175.4 kB / 374.6 MB, free: 17.7 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.174e-05/0.3617, allocations: 40.36 kB / 374.7 MB, free: 17.7 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001182/0.3618, allocations: 50.92 kB / 374.7 MB, free: 17.69 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.894e-06/0.3618, allocations: 5.797 kB / 374.7 MB, free: 17.69 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.3619, allocations: 0 / 374.7 MB, free: 17.69 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-06/0.3619, allocations: 1.734 kB / 374.7 MB, free: 17.69 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001816/0.3637, allocations: 1.025 MB / 375.8 MB, free: 17.32 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.3637, allocations: 3.906 kB / 375.8 MB, free: 17.32 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002199/0.3639, allocations: 34.95 kB / 375.8 MB, free: 17.32 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004313/0.3644, allocations: 142 kB / 375.9 MB, free: 17.27 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.214e-05/0.3644, allocations: 7.844 kB / 376 MB, free: 17.27 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002636/0.3671, allocations: 2.347 MB / 378.3 MB, free: 15.42 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.3671, allocations: 0.6562 kB / 378.3 MB, free: 15.42 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001165/0.3683, allocations: 0.7095 MB / 379 MB, free: 15.03 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001837/0.3685, allocations: 152.5 kB / 379.2 MB, free: 14.89 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.719e-05/0.3685, allocations: 13.7 kB / 379.2 MB, free: 14.89 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002202/0.3687, allocations: 18.19 kB / 379.2 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001103/0.3689, allocations: 33.09 kB / 379.2 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.018e-05/0.3689, allocations: 18.11 kB / 379.2 MB, free: 14.87 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002645/0.3692, allocations: 225.5 kB / 379.5 MB, free: 14.75 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3692, allocations: 0 / 379.5 MB, free: 14.75 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007144/0.3699, allocations: 145.6 kB / 379.6 MB, free: 14.72 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: 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.0001722/0.3701, allocations: 121 kB / 379.7 MB, free: 14.62 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001267/0.3714, allocations: 0.5501 MB / 380.3 MB, free: 14.33 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.3714, allocations: 0 / 380.3 MB, free: 14.33 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005891/0.372, allocations: 375.2 kB / 380.6 MB, free: 14.11 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004302/0.3724, allocations: 76.55 kB / 380.7 MB, free: 14.08 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001775/0.3742, allocations: 1.034 MB / 381.7 MB, free: 13.46 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003612/0.3746, allocations: 0.8432 MB / 382.6 MB, free: 12.75 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001885/0.3748, allocations: 41.94 kB / 382.6 MB, free: 12.75 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.25e-05/0.3749, allocations: 30.69 kB / 382.7 MB, free: 12.73 MB / 302.1 MB Notification: Performance of SimCode: time 8.11e-07/0.3749, allocations: 0 / 382.7 MB, free: 12.73 MB / 302.1 MB Notification: Performance of Templates: time 0.01452/0.3894, allocations: 6.129 MB / 388.8 MB, free: 11.46 MB / 302.1 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