Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.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.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,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.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,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.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00109/0.00109, allocations: 117.7 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001102/0.001102, allocations: 204.8 kB / 19.4 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.601/1.601, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002176/0.002176, allocations: 67.89 kB / 359.4 MB, free: 12.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.554/0.5562, allocations: 50.54 MB / 409.9 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.01661/0.5729, allocations: 4.597 MB / 414.5 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0055/0.5784, allocations: 1.305 MB / 415.8 MB, free: 11.66 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001149/0.5796, allocations: 19.94 kB / 415.9 MB, free: 11.64 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009406/0.5806, allocations: 166.6 kB / 416 MB, free: 11.47 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002339/0.5831, allocations: 354 kB / 416.4 MB, free: 11.12 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001156/0.5842, allocations: 215.6 kB / 416.6 MB, free: 10.91 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003682/0.588, allocations: 1.619 MB / 418.2 MB, free: 9.289 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002554/0.5905, allocations: 1.106 MB / 419.3 MB, free: 8.141 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006082/0.5967, allocations: 0.6969 MB / 420 MB, free: 7.441 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002571/0.5993, allocations: 0.8561 MB / 420.9 MB, free: 6.582 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007465/0.6001, allocations: 180 kB / 421 MB, free: 6.406 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001098/0.6012, allocations: 180 kB / 421.2 MB, free: 6.23 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00107/0.6023, allocations: 482.7 kB / 421.7 MB, free: 5.758 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002289/0.6046, allocations: 0.801 MB / 422.5 MB, free: 4.953 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004588/0.6092, allocations: 2.268 MB / 424.8 MB, free: 2.68 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.634e-06/0.6093, allocations: 0 / 424.8 MB, free: 2.68 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.295e-06/0.6093, allocations: 0 / 424.8 MB, free: 2.68 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.996e-05/0.6094, allocations: 4 kB / 424.8 MB, free: 2.676 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: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.008008/0.6174, allocations: 1.791 MB / 426.6 MB, free: 0.832 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.474e-05/0.6175, allocations: 12.03 kB / 426.6 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00147/0.619, allocations: 211.1 kB / 426.8 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003207/0.6223, allocations: 1.024 MB / 427.8 MB, free: 15.54 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001145/0.6224, allocations: 78.44 kB / 427.9 MB, free: 15.46 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003974/0.6228, allocations: 116 kB / 428 MB, free: 15.35 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004973/0.6278, allocations: 1.553 MB / 429.5 MB, free: 13.74 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.661e-05/0.6279, allocations: 11.91 kB / 429.5 MB, free: 13.73 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002352/0.6282, allocations: 40 kB / 429.6 MB, free: 13.69 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001094/0.6283, allocations: 50.03 kB / 429.6 MB, free: 13.64 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004651/0.633, allocations: 1.429 MB / 431.1 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01403/0.647, allocations: 4.886 MB / 436 MB, free: 7.137 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002908/0.65, allocations: 1.452 MB / 437.4 MB, free: 5.574 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002117/0.6521, allocations: 0.7389 MB / 438.1 MB, free: 4.832 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.93e-05/0.6523, allocations: 8.547 kB / 438.2 MB, free: 4.824 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001769/0.6541, allocations: 0.616 MB / 438.8 MB, free: 4.195 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 6.772e-06/0.6541, allocations: 4 kB / 438.8 MB, free: 4.191 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.01106/0.6652, allocations: 2.435 MB / 441.2 MB, free: 1.723 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001161/0.6653, allocations: 89.77 kB / 441.3 MB, free: 1.617 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002587/0.6679, allocations: 0.962 MB / 442.3 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001416/0.6681, allocations: 37.7 kB / 442.3 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007587/0.6689, allocations: 0.5386 MB / 442.8 MB, free: 56 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003909/0.6693, allocations: 232.8 kB / 443.1 MB, free: 15.82 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003858/0.6697, allocations: 134.6 kB / 443.2 MB, free: 15.68 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.6699, allocations: 334 kB / 443.5 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001056/0.6709, allocations: 417.7 kB / 443.9 MB, free: 14.94 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001233/0.6722, allocations: 0.5446 MB / 444.5 MB, free: 14.34 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002489/0.6747, allocations: 0.9542 MB / 445.4 MB, free: 13.33 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.347e-05/0.6747, allocations: 3.938 kB / 445.4 MB, free: 13.33 MB / 366.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.003991/0.6787, allocations: 1.292 MB / 446.7 MB, free: 12.02 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.715e-05/0.6788, allocations: 8 kB / 446.7 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.036e-05/0.6788, allocations: 4 kB / 446.7 MB, free: 12.01 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001647/0.6805, allocations: 411 kB / 447.1 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008412/0.6813, allocations: 107.9 kB / 447.2 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009597/0.691, allocations: 4.494 MB / 451.7 MB, free: 6.871 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001353/0.6924, allocations: 75.55 kB / 451.8 MB, free: 6.797 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002381/0.6926, allocations: 28 kB / 451.8 MB, free: 6.77 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 (59): * Single equations (assignments): 58 * 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,22)} Notification: Performance of prepare postOptimizeDAE: time 0.001999/0.6947, allocations: 0.5069 MB / 452.3 MB, free: 6.25 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005917/0.6953, allocations: 94.81 kB / 452.4 MB, free: 6.156 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005806/0.6959, allocations: 124.8 kB / 452.6 MB, free: 6.031 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-05/0.6959, allocations: 4 kB / 452.6 MB, free: 6.027 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.648e-06/0.696, allocations: 4 kB / 452.6 MB, free: 6.023 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.914e-05/0.696, allocations: 3.984 kB / 452.6 MB, free: 6.02 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008574/0.7046, allocations: 2.594 MB / 455.2 MB, free: 3.359 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.879e-06/0.7047, allocations: 7.938 kB / 455.2 MB, free: 3.352 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006951/0.7054, allocations: 80.02 kB / 455.2 MB, free: 3.273 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001367/0.7068, allocations: 388.5 kB / 455.6 MB, free: 2.891 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001081/0.7069, allocations: 27.92 kB / 455.7 MB, free: 2.863 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008787/0.7157, allocations: 4.475 MB / 460.1 MB, free: 14.25 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.209e-06/0.7158, allocations: 0 / 460.1 MB, free: 14.25 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00487/0.7207, allocations: 1.955 MB / 462.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009951/0.7217, allocations: 291.7 kB / 462.4 MB, free: 11.96 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003531/0.7221, allocations: 12 kB / 462.4 MB, free: 11.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009224/0.723, allocations: 43.95 kB / 462.4 MB, free: 11.91 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003568/0.7234, allocations: 76.55 kB / 462.5 MB, free: 11.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.913e-05/0.7235, allocations: 19.98 kB / 462.5 MB, free: 11.82 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0018/0.7253, allocations: 0.698 MB / 463.2 MB, free: 11.12 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.7253, allocations: 0 / 463.2 MB, free: 11.12 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00183/0.7272, allocations: 346.9 kB / 463.6 MB, free: 10.79 MB / 382.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 (45): * Single equations (assignments): 41 * 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,22)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003073/0.7275, allocations: 133.9 kB / 463.7 MB, free: 10.65 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003586/0.7311, allocations: 1.28 MB / 465 MB, free: 9.352 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.524e-06/0.7311, allocations: 0 / 465 MB, free: 9.352 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002055/0.7332, allocations: 0.8222 MB / 465.8 MB, free: 8.52 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002174/0.7354, allocations: 250.8 kB / 466 MB, free: 8.273 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008583/0.744, allocations: 2.641 MB / 468.7 MB, free: 5.602 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001697/0.7457, allocations: 1.366 MB / 470 MB, free: 4.203 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004388/0.7462, allocations: 67.42 kB / 470.1 MB, free: 4.137 MB / 382.1 MB Notification: Performance of SimCode: time 1.393e-06/0.7462, allocations: 0 / 470.1 MB, free: 4.137 MB / 382.1 MB Notification: Performance of Templates: time 0.1904/0.9367, allocations: 22.58 MB / 492.7 MB, free: 13.61 MB / 414.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2mPulse/DiodeCenterTap2mPulse/DiodeCenterTap2mPulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches